pylupnt.Body¶
- class pylupnt.Body¶
A celestial body: gravity parameter, radius, rotation rate, frames, optional gravity field.
- static Earth(*args, **kwargs)¶
Overloaded function.
Earth(n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘EGM96.cof’) -> pylupnt._pylupnt.Body
Create Earth, optionally loading an n x m spherical-harmonic gravity field.
Earth(units: pylupnt._pylupnt.UnitSystem, n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘EGM96.cof’) -> pylupnt._pylupnt.Body
Create Earth in the given unit system, optionally with an n x m gravity field.
- property GM¶
Gravitational parameter [m^3/s^2].
- static Jupiter(*args, **kwargs)¶
Overloaded function.
Jupiter() -> pylupnt._pylupnt.Body
Create Jupiter as a point-mass body.
Jupiter(units: pylupnt._pylupnt.UnitSystem) -> pylupnt._pylupnt.Body
Create Jupiter as a point-mass body in the given unit system.
- static Mars(*args, **kwargs)¶
Overloaded function.
Mars(n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘GMM1.cof’) -> pylupnt._pylupnt.Body
Create Mars, optionally loading an n x m spherical-harmonic gravity field.
Mars(units: pylupnt._pylupnt.UnitSystem, n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘GMM1.cof’) -> pylupnt._pylupnt.Body
Create Mars in the given unit system, optionally with an n x m gravity field.
- static Moon(*args, **kwargs)¶
Overloaded function.
Moon(n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘grgm900c.cof’) -> pylupnt._pylupnt.Body
Create the Moon, optionally loading an n x m spherical-harmonic gravity field.
Moon(units: pylupnt._pylupnt.UnitSystem, n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘grgm900c.cof’) -> pylupnt._pylupnt.Body
Create the Moon in the given unit system, optionally with an n x m gravity field.
- property R¶
Reference radius [m].
- static Saturn(*args, **kwargs)¶
Overloaded function.
Saturn() -> pylupnt._pylupnt.Body
Create Saturn as a point-mass body.
Saturn(units: pylupnt._pylupnt.UnitSystem) -> pylupnt._pylupnt.Body
Create Saturn as a point-mass body in the given unit system.
- static Sun(*args, **kwargs)¶
Overloaded function.
Sun() -> pylupnt._pylupnt.Body
Create the Sun as a point-mass body.
Sun(units: pylupnt._pylupnt.UnitSystem) -> pylupnt._pylupnt.Body
Create the Sun as a point-mass body in the given unit system.
- static Venus(*args, **kwargs)¶
Overloaded function.
Venus(n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘MGN75HSAAP.cof’) -> pylupnt._pylupnt.Body
Create Venus, optionally loading an n x m spherical-harmonic gravity field.
Venus(units: pylupnt._pylupnt.UnitSystem, n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0, gravity_file: str = ‘MGN75HSAAP.cof’) -> pylupnt._pylupnt.Body
Create Venus in the given unit system, optionally with an n x m gravity field.
- property fixed_frame¶
Body-fixed reference frame.
- property gravity_field¶
Spherical-harmonic gravity field coefficients and metadata.
- property id¶
Body identifier.
- property inertial_frame¶
Inertial reference frame.
- property name¶
Body display name.
- property units¶
Unit system of the body’s constants.
- property use_gravity_field¶
True if a spherical-harmonic gravity field is loaded.