shamrock.UnitSystem#

class shamrock.UnitSystem#

Bases: pybind11_object

Methods

get

get(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') -> float

to

to(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') -> float

Binary orbit functions

Binary orbit functions

Simple exemple of unit usage

Simple exemple of unit usage

Basic disc simulation

Basic disc simulation

Shearing box in SPH

Shearing box in SPH
get(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') float#
to(self: shamrock.UnitSystem, name: str, power: int = 1, pref: str = 'None') float#