shamrock.Constants#

class shamrock.Constants#

Bases: pybind11_object

Methods

G

Kcd

Na

Z_0

astronomical_unit

au

c

day

delta_nu_cs

e

earth_mass

electron_mass

epsilon_0

guiness_density

h

hbar

hour

jupiter_mass

k

kb

ke

light_year

mu_0

parsec

planck_length

planck_mass

proton_mass

sigma

sol_mass

year

Simple exemple of unit usage

Simple exemple of unit usage

Basic disc simulation

Basic disc simulation
G(self: shamrock.Constants, power: int = 1) float#
Kcd(self: shamrock.Constants, power: int = 1) float#
Na(self: shamrock.Constants, power: int = 1) float#
Z_0(self: shamrock.Constants, power: int = 1) float#
astronomical_unit(self: shamrock.Constants, power: int = 1) float#
au(self: shamrock.Constants, power: int = 1) float#
c(self: shamrock.Constants, power: int = 1) float#
day(self: shamrock.Constants, power: int = 1) float#
delta_nu_cs(self: shamrock.Constants, power: int = 1) float#
e(self: shamrock.Constants, power: int = 1) float#
earth_mass(self: shamrock.Constants, power: int = 1) float#
electron_mass(self: shamrock.Constants, power: int = 1) float#
epsilon_0(self: shamrock.Constants, power: int = 1) float#
guiness_density(self: shamrock.Constants, power: int = 1) float#
h(self: shamrock.Constants, power: int = 1) float#
hbar(self: shamrock.Constants, power: int = 1) float#
hour(self: shamrock.Constants, power: int = 1) float#
jupiter_mass(self: shamrock.Constants, power: int = 1) float#
k(self: shamrock.Constants, power: int = 1) float#
kb(self: shamrock.Constants, power: int = 1) float#
ke(self: shamrock.Constants, power: int = 1) float#
light_year(self: shamrock.Constants, power: int = 1) float#
mu_0(self: shamrock.Constants, power: int = 1) float#
parsec(self: shamrock.Constants, power: int = 1) float#
planck_length(self: shamrock.Constants, power: int = 1) float#
planck_mass(self: shamrock.Constants, power: int = 1) float#
proton_mass(self: shamrock.Constants, power: int = 1) float#
sigma(self: shamrock.Constants, power: int = 1) float#
sol_mass(self: shamrock.Constants, power: int = 1) float#
year(self: shamrock.Constants, power: int = 1) float#