shamrock.Constants#

class shamrock.Constants#

Bases: pybind11_object

Methods

G

G(self: shamrock.Constants, power: int = 1) -> float

Kcd

Kcd(self: shamrock.Constants, power: int = 1) -> float

Na

Na(self: shamrock.Constants, power: int = 1) -> float

Z_0

Z_0(self: shamrock.Constants, power: int = 1) -> float

astronomical_unit

astronomical_unit(self: shamrock.Constants, power: int = 1) -> float

au

au(self: shamrock.Constants, power: int = 1) -> float

c

c(self: shamrock.Constants, power: int = 1) -> float

day

day(self: shamrock.Constants, power: int = 1) -> float

delta_nu_cs

delta_nu_cs(self: shamrock.Constants, power: int = 1) -> float

e

e(self: shamrock.Constants, power: int = 1) -> float

earth_mass

earth_mass(self: shamrock.Constants, power: int = 1) -> float

electron_mass

electron_mass(self: shamrock.Constants, power: int = 1) -> float

epsilon_0

epsilon_0(self: shamrock.Constants, power: int = 1) -> float

guiness_density

guiness_density(self: shamrock.Constants, power: int = 1) -> float

h

h(self: shamrock.Constants, power: int = 1) -> float

hbar

hbar(self: shamrock.Constants, power: int = 1) -> float

hour

hour(self: shamrock.Constants, power: int = 1) -> float

jupiter_mass

jupiter_mass(self: shamrock.Constants, power: int = 1) -> float

k

k(self: shamrock.Constants, power: int = 1) -> float

kb

kb(self: shamrock.Constants, power: int = 1) -> float

ke

ke(self: shamrock.Constants, power: int = 1) -> float

light_year

light_year(self: shamrock.Constants, power: int = 1) -> float

mu_0

mu_0(self: shamrock.Constants, power: int = 1) -> float

parsec

parsec(self: shamrock.Constants, power: int = 1) -> float

planck_length

planck_length(self: shamrock.Constants, power: int = 1) -> float

planck_mass

planck_mass(self: shamrock.Constants, power: int = 1) -> float

proton_mass

proton_mass(self: shamrock.Constants, power: int = 1) -> float

sigma

sigma(self: shamrock.Constants, power: int = 1) -> float

sol_mass

sol_mass(self: shamrock.Constants, power: int = 1) -> float

year

year(self: shamrock.Constants, power: int = 1) -> float

Binary orbit functions

Binary orbit functions

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#