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 example of unit usage

Simple example of unit usage

Production run: Circular disc & central potential

Production run: Circular disc & central potential

Basic disc simulation

Basic disc simulation

Custom warp disc simulation

Custom warp disc simulation

Shearing box in SPH

Shearing box in SPH

Regression test : SPH disc

Regression test : SPH disc
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#