ostk.physics.environment.object.celestial.Sun¶
- class Sun(
- self: ostk.physics.environment.object.celestial.Sun,
- ephemeris: ostk::physics::environment::Ephemeris,
- gravitational_model: ostk::physics::environment::gravitational::Sun,
- ephemeris: ostk::physics::environment::Ephemeris,
Bases:
Celestial
Sun.
Constructor.
- Parameters:
ephemeris (Ephemeris) -- Ephemeris.
gravitational_model (SunGravitationalModel) -- Gravitational model.
Methods
Access the atmospheric model.
Access the ephemeris.
Accesses the frame of the Object.
Access the gravitational model.
Access the magnetic model.
Accesses the name of the Object.
Check if the atmospheric model is defined.
Create a default Sun.
Get the axes of the celestial object in a given frame at a given instant.
Get the equatorial radius of the celestial object.
Get the flattening of the celestial object.
Get the frame at a given LLA and frame type.
Gets the geometry of the Object.
Gets the geometry of the Object in a given frame.
Get the gravitational parameter of the celestial object.
Get the J2 parameter value of the celestial object.
Get the J4 parameter value of the celestial object.
Gets the name of the Object.
Get the position of the celestial object in a given frame at a given instant.
Get the transform of the celestial object to a given frame at a given instant.
Get the type of the celestial object.
Check if the gravitational model is defined.
Check if the celestial object is defined.
Check if the magnetic model is defined.
Spherical model.
Get the string representation of a frame type.
Create an undefined celestial object.
- class CelestialType(
- self: ostk.physics.environment.object.Celestial.CelestialType,
- value: int,
Bases:
pybind11_object
Members:
- Undefined :
Undefined celestial object.
- Sun :
Sun.
- Mercury :
Mercury.
- Venus :
Venus.
- Earth :
Earth.
- Moon :
Moon.
- Mars :
Mars.
- property name¶
- class FrameType(self: ostk.physics.environment.object.Celestial.FrameType, value: int)¶
Bases:
pybind11_object
Members:
- Undefined :
Undefined frame.
- NED :
North-East-Down (NED) frame.
- property name¶
- access_atmospheric_model( ) ostk::physics::environment::atmospheric::Model ¶
Access the atmospheric model.
- Returns:
Atmospheric model.
- Return type:
Atmospheric
- access_ephemeris( ) ostk::physics::environment::Ephemeris ¶
Access the ephemeris.
- Returns:
Ephemeris.
- Return type:
Ephemeris
- access_frame(self: ostk.physics.environment.Object) ostk.physics.coordinate.Frame ¶
Accesses the frame of the Object.
- Returns:
The frame of the Object.
- Return type:
- access_gravitational_model( ) ostk::physics::environment::gravitational::Model ¶
Access the gravitational model.
- Returns:
Gravitational model.
- Return type:
Gravitational
- access_magnetic_model( ) ostk::physics::environment::magnetic::Model ¶
Access the magnetic model.
- Returns:
Magnetic model.
- Return type:
Magnetic
- access_name(self: ostk.physics.environment.Object) ostk.core.type.String ¶
Accesses the name of the Object.
- Returns:
The name of the Object.
- Return type:
- atmospheric_model_is_defined( ) bool ¶
Check if the atmospheric model is defined.
- Returns:
True if the atmospheric model is defined, false otherwise.
- Return type:
- static default() ostk.physics.environment.object.celestial.Sun ¶
Create a default Sun.
- Returns:
Default Sun.
- Return type:
- get_axes_in(
- self: ostk.physics.environment.object.Celestial,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Get the axes of the celestial object in a given frame at a given instant.
- get_equatorial_radius( ) ostk.physics.unit.Length ¶
Get the equatorial radius of the celestial object.
- Returns:
Equatorial radius [m].
- Return type:
- get_flattening( ) ostk.core.type.Real ¶
Get the flattening of the celestial object.
- Returns:
Flattening.
- Return type:
- get_frame_at(
- self: ostk.physics.environment.object.Celestial,
- lla: ostk.physics.coordinate.spherical.LLA,
- frame_type: ostk::physics::environment::object::Celestial::FrameType,
- lla: ostk.physics.coordinate.spherical.LLA,
Get the frame at a given LLA and frame type.
- Parameters:
lla (LLA) -- LLA
frame_type (Celestial.FrameType) -- Frame type
- Returns:
Frame.
- Return type:
- get_geometry( ) ostk::physics::environment::object::Geometry ¶
Gets the geometry of the Object.
- Returns:
The geometry of the Object.
- Return type:
- get_geometry_in(
- self: ostk.physics.environment.Object,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Gets the geometry of the Object in a given frame.
- get_gravitational_parameter( ) ostk.physics.unit.Derived ¶
Get the gravitational parameter of the celestial object.
- Returns:
Gravitational parameter [m³/s²].
- Return type:
- get_j2(self: ostk.physics.environment.object.Celestial) ostk.core.type.Real ¶
Get the J2 parameter value of the celestial object.
- Returns:
J2 parameter value.
- Return type:
- get_j4(self: ostk.physics.environment.object.Celestial) ostk.core.type.Real ¶
Get the J4 parameter value of the celestial object.
- Returns:
J4 parameter value.
- Return type:
- get_name(self: ostk.physics.environment.Object) ostk.core.type.String ¶
Gets the name of the Object.
- Returns:
The name of the Object.
- Return type:
- get_position_in(
- self: ostk.physics.environment.object.Celestial,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Get the position of the celestial object in a given frame at a given instant.
- get_transform_to(
- self: ostk.physics.environment.object.Celestial,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Get the transform of the celestial object to a given frame at a given instant.
- get_type( ) ostk::physics::environment::object::Celestial::Type ¶
Get the type of the celestial object.
- Returns:
Type.
- Return type:
Celestial.Type
- gravitational_model_is_defined( ) bool ¶
Check if the gravitational model is defined.
- Returns:
True if the gravitational model is defined, false otherwise.
- Return type:
- is_defined(self: ostk.physics.environment.object.Celestial) bool ¶
Check if the celestial object is defined.
- Returns:
True if the celestial object is defined, false otherwise.
- Return type:
- magnetic_model_is_defined(self: ostk.physics.environment.object.Celestial) bool ¶
Check if the magnetic model is defined.
- Returns:
True if the magnetic model is defined, false otherwise.
- Return type:
- static spherical() ostk.physics.environment.object.celestial.Sun ¶
Spherical model.
- Returns:
Sun.
- Return type:
- static string_from_frame_type(
- frame_type: ostk::physics::environment::object::Celestial::FrameType,
Get the string representation of a frame type.
- Parameters:
frame_type (Celestial.FrameType) -- Frame type.
- Returns:
String representation.
- Return type:
- static undefined() ostk.physics.environment.object.Celestial ¶
Create an undefined celestial object.
- Returns:
Undefined celestial object.
- Return type: