pylupnt.UnitSystem¶
- class pylupnt.UnitSystem¶
Length/time/mass scale factors defining a working unit system.
- acceleration_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert an acceleration [m/s^2] into this unit system.
- area_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert an area [m^2] into this unit system.
- area_per_mass_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert an area-per-mass [m^2/kg] into this unit system.
- from_si(self: pylupnt._pylupnt.UnitSystem, value: SupportsFloat | SupportsIndex, length_power: SupportsInt | SupportsIndex, time_power: SupportsInt | SupportsIndex = 0, mass_power: SupportsInt | SupportsIndex = 0) float¶
Convert an SI value into this unit system given length/time/mass dimensional powers.
- gm_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert a gravitational parameter [m^3/s^2] into this unit system.
- property length¶
Length unit as a multiple of the SI meter.
- length_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert a length [m] into this unit system.
- property mass¶
Mass unit as a multiple of the SI kilogram.
- pressure_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert a pressure [Pa] into this unit system.
- property time¶
Time unit as a multiple of the SI second.
- to_si(self: pylupnt._pylupnt.UnitSystem, value: SupportsFloat | SupportsIndex, length_power: SupportsInt | SupportsIndex, time_power: SupportsInt | SupportsIndex = 0, mass_power: SupportsInt | SupportsIndex = 0) float¶
Convert a value in this unit system back to SI (inverse of from_si).
- velocity_from_si(self: pylupnt._pylupnt.UnitSystem, arg0: SupportsFloat | SupportsIndex) float¶
Convert a velocity [m/s] into this unit system.