ostk.astrodynamics.trajectory.orbit.model.BrouwerLyddaneMean¶
- class BrouwerLyddaneMean(
- self: ostk.astrodynamics.trajectory.orbit.model.BrouwerLyddaneMean,
- semi_major_axis: ostk.physics.unit.Length,
- eccentricity: ostk.core.type.Real,
- inclination: ostk.physics.unit.Angle,
- raan: ostk.physics.unit.Angle,
- aop: ostk.physics.unit.Angle,
- mean_anomaly: ostk.physics.unit.Angle,
- semi_major_axis: ostk.physics.unit.Length,
Bases:
COE
Brouwer-Lyddane mean orbit elements. This is a parent class, please use the Short or Long child classes as appropriate.
Constructor.
- Parameters:
semi_major_axis (Length) -- The semi-major axis.
eccentricity (float) -- The eccentricity.
inclination (Angle) -- The inclination.
raan (Angle) -- The right ascension of the ascending node.
aop (Angle) -- The argument of periapsis.
mean_anomaly (Angle) -- The mean anomaly.
Methods
Create a COE model from Cartesian state.
Overloaded function.
Compute the Local Time of the Ascending Node (LTAN) from the RAAN and instant.
Compute the Mean Local Time of the Ascending Node (MLTAN) from the RAAN and instant.
Compute the radial distance from the semi-latus rectum and the eccentricity.
Compute the semi-latus rectum from the semi-major axis and the eccentricity.
Compute the eccentric anomaly from the mean anomaly.
Compute the eccentric anomaly from the true anomaly.
Create a COE model from a state vector in SI units.
Overloaded function.
Get the state vector of the COE in the specified anomaly type.
Get the angular momentum of the COE.
Get the argument of periapsis of the COE.
Get the apoapsis radius of the COE.
Get the argument of latitude of the COE.
Get the Cartesian state of the BrouwerLyddaneMean model.
Get the eccentric anomaly of the BrouwerLyddaneMean model.
Get the eccentricity of the COE.
Get the inclination of the COE.
Get the mean anomaly of the BrouwerLyddaneMean model.
Get the mean motion of the COE.
Get the nodal precession of the COE.
Get the orbital period of the COE.
Get the periapsis radius of the COE.
Get the right ascension of the ascending node of the COE.
Get the radial distance of the COE.
Get the semi-latus rectum of the COE.
Get the semi-major axis of the COE.
Get the true anomaly of the BrouwerLyddaneMean model.
Check if the COE is defined.
Compute the mean anomaly from the eccentric anomaly.
Get the string representation of an element.
Convert the BrouwerLyddaneMean model to classical orbital elements.
Compute the true anomaly from the eccentric anomaly.
Compute the true anomaly from the mean anomaly.
Create an undefined COE model.
- class AnomalyType( )¶
Bases:
pybind11_object
The type of Anomaly.
Members:
TrueAnomaly : True Anomaly
MeanAnomaly : Mean Anomaly
EccentricAnomaly : Eccentric Anomaly
- property name¶
- class Element(
- self: ostk.astrodynamics.trajectory.orbit.model.kepler.COE.Element,
- value: int,
Bases:
pybind11_object
Classical Orbital Element enumeration.
Members:
SemiMajorAxis : Semi-Major Axis
Eccentricity : Eccentricity
Inclination : Inclination
Aop : Argument of Perigee
Raan : Right Angle of the Ascending Node
TrueAnomaly : True Anomaly
MeanAnomaly : Mean Anomaly
EccentricAnomaly : Eccentric Anomaly
ArgumentOfLatitude : Argument of Latitude
- property name¶
- static cartesian(
- cartesian_state: tuple[ostk.physics.coordinate.Position, ostk.physics.coordinate.Velocity],
- gravitational_parameter: ostk.physics.unit.Derived,
Create a COE model from Cartesian state.
- static compute_angular_momentum(*args, **kwargs)¶
Overloaded function.
compute_angular_momentum(semi_major_axis: ostk.core.type.Real, eccentricity: ostk.core.type.Real, gravitational_parameter: ostk.physics.unit.Derived) -> ostk.core.type.Real
Compute the angular momentum from the semi-major axis and the eccentricity.
- Args:
semi_major_axis (float): The semi-major axis. In meters. eccentricity (float): The eccentricity. gravitational_parameter (Derived): The gravitational parameter of the central body.
- Returns:
Derived: The angular momentum.
compute_angular_momentum(semi_latus_rectum: ostk.core.type.Real, gravitational_parameter: ostk.physics.unit.Derived) -> ostk.core.type.Real
Compute the angular momentum from the semi-latus rectum.
- Args:
semi_latus_rectum (float): The semi-latus rectum. In meters. gravitational_parameter (Derived): The gravitational parameter of the central body.
- Returns:
Derived: The angular momentum.
- static compute_ltan(
- raan: ostk.physics.unit.Angle,
- instant: ostk.physics.time.Instant,
- sun: ostk.physics.environment.object.celestial.Sun = Sun.default(),
- instant: ostk.physics.time.Instant,
Compute the Local Time of the Ascending Node (LTAN) from the RAAN and instant.
- Parameters:
raan (Angle) -- The Right Ascension of the Ascending Node.
instant (Instant) -- The instant at which to compute LTAN.
sun (Sun) -- The Sun model.
- Returns:
The Local Time of the Ascending Node (LTAN) in hours.
- Return type:
- static compute_mean_ltan(
- raan: ostk.physics.unit.Angle,
- instant: ostk.physics.time.Instant,
- sun: ostk.physics.environment.object.celestial.Sun = Sun.default(),
- instant: ostk.physics.time.Instant,
Compute the Mean Local Time of the Ascending Node (MLTAN) from the RAAN and instant.
- Parameters:
raan (Angle) -- The Right Ascension of the Ascending Node.
instant (Instant) -- The instant at which to compute MLTAN.
sun (Sun) -- The Sun model.
- Returns:
The Mean Local Time of the Ascending Node (MLTAN) in hours.
- Return type:
- static compute_radial_distance(
- semi_latus_rectum: ostk.core.type.Real,
- eccentricity: ostk.core.type.Real,
- true_anomaly: ostk.core.type.Real,
- eccentricity: ostk.core.type.Real,
Compute the radial distance from the semi-latus rectum and the eccentricity.
- static compute_semi_latus_rectum(
- semi_major_axis: ostk.core.type.Real,
- eccentricity: ostk.core.type.Real,
Compute the semi-latus rectum from the semi-major axis and the eccentricity.
- static eccentric_anomaly_from_mean_anomaly(
- mean_anomaly: ostk.physics.unit.Angle,
- eccentricity: ostk.core.type.Real,
- tolerance: ostk.core.type.Real,
- eccentricity: ostk.core.type.Real,
Compute the eccentric anomaly from the mean anomaly.
- static eccentric_anomaly_from_true_anomaly(
- true_anomaly: ostk.physics.unit.Angle,
- eccentricity: ostk.core.type.Real,
Compute the eccentric anomaly from the true anomaly.
- Parameters:
true_anomaly (Angle) -- The true anomaly.
eccentricity (float) -- The eccentricity.
- Returns:
The eccentric anomaly.
- Return type:
Angle
- static from_SI_vector(
- vector: numpy.ndarray[numpy.float64[6, 1]],
- anomaly_type: ostk.astrodynamics.trajectory.orbit.model.kepler.COE.AnomalyType,
Create a COE model from a state vector in SI units.
- Parameters:
vector (Vector6d) -- The state vector.
anomaly_type (AnomalyType) -- The type of anomaly.
- Returns:
The COE model.
- Return type:
- static frozen_orbit(*args, **kwargs)¶
Overloaded function.
frozen_orbit(semi_major_axis: ostk.physics.unit.Length, celestial_object: ostk.physics.environment.object.Celestial, eccentricity: ostk.core.type.Real = Real.undefined(), inclination: ostk.physics.unit.Angle = Angle.undefined(), raan: ostk.physics.unit.Angle = Angle.degrees(0.0), aop: ostk.physics.unit.Angle = Angle.undefined(), true_anomaly: ostk.physics.unit.Angle = Angle.degrees(0.0)) -> ostk.astrodynamics.trajectory.orbit.model.kepler.COE
Build a COE model of a frozen orbit.
The critical angles for inclination are 63.4349 degrees and 116.5651 degrees. The critical angles for AoP are 90.0 degrees and 270.0 degrees.
At a minimum, a semi-major axis and shared pointer to a central celestial body with a defined J2 and J3 must be provided. In this case, the inclination and AoP are set to critical angles, and the eccentricity is derived from inclination. RAAN and true anomaly default to zero degrees.
Additionally, the following combinations of inputs are supported: - AoP (inclination set to critical value, eccentricity derived) - AoP and eccentricity (inclination derived) - AoP and inclination, but at least one of them must be a critical value (eccentricity derived) - Inclination (AoP set to critical value, eccentricity derived) - Eccentricity (AoP set to critical value, inclination derived)
Note that inclination and eccentricity cannot both be provided.
RAAN and True Anomaly may be provided alongside any of these arguments, and will be passed through to the resulting COE as they do not impact the frozen orbit condition.
- Args:
semi_major_axis (Length): The semi-major axis. celestial_object (Celestial): The celestial object. eccentricity (float): The eccentricity. inclination (Angle): The inclination. raan (Angle): The right ascension of the ascending node. aop (Angle): The argument of periapsis. true_anomaly (Angle): The true anomaly.
- Returns:
COE: The COE model.
frozen_orbit(semi_major_axis: ostk.physics.unit.Length, equatorial_radius: ostk.physics.unit.Length, j2: ostk.core.type.Real, j3: ostk.core.type.Real, eccentricity: ostk.core.type.Real = Real.undefined(), inclination: ostk.physics.unit.Angle = Angle.undefined(), raan: ostk.physics.unit.Angle = Angle.degrees(0.0), aop: ostk.physics.unit.Angle = Angle.undefined(), true_anomaly: ostk.physics.unit.Angle = Angle.degrees(0.0)) -> ostk.astrodynamics.trajectory.orbit.model.kepler.COE
Build a COE model of a frozen orbit.
The critical angles for inclination are 63.4349 degrees and 116.5651 degrees. The critical angles for AoP are 90.0 degrees and 270.0 degrees.
At a minimum, a semi-major axis, equatorial radius, J2, and J3 must be provided. In this case, the inclination and AoP are set to critical angles, and the eccentricity is derived from inclination. RAAN and true anomaly default to zero degrees.
Additionally, the following combinations of inputs are supported: - AoP (inclination set to critical value, eccentricity derived) - AoP and eccentricity (inclination derived) - AoP and inclination, but at least one of them must be a critical value (eccentricity derived) - Inclination (AoP set to critical value, eccentricity derived) - Eccentricity (AoP set to critical value, inclination derived)
Note that inclination and eccentricity cannot both be provided.
RAAN and True Anomaly may be provided alongside any of these arguments, and will be passed through to the resulting COE as they do not impact the frozen orbit condition.
- Args:
semi_major_axis (Length): The semi-major axis. equatorial_radius (Length): The equatorial radius. j2 (float): The second zonal harmonic coefficient. j3 (float): The third zonal harmonic coefficient. eccentricity (float): The eccentricity. inclination (Angle): The inclination. raan (Angle): The right ascension of the ascending node. aop (Angle): The argument of periapsis. true_anomaly (Angle): The true anomaly.
- Returns:
COE: The COE model.
- get_SI_vector(
- self: ostk.astrodynamics.trajectory.orbit.model.kepler.COE,
- anomaly_type: ostk.astrodynamics.trajectory.orbit.model.kepler.COE.AnomalyType,
Get the state vector of the COE in the specified anomaly type.
- Parameters:
anomaly_type (AnomalyType) -- The type of anomaly.
- Returns:
The state vector of the COE in the specified anomaly type.
- Return type:
- get_angular_momentum( ) ostk.physics.unit.Derived ¶
Get the angular momentum of the COE.
- Parameters:
gravitational_parameter (Derived) -- The gravitational parameter of the central body.
- Returns:
The angular momentum of the COE.
- Return type:
Derived
- get_aop( ) ostk.physics.unit.Angle ¶
Get the argument of periapsis of the COE.
- Returns:
The argument of periapsis of the COE.
- Return type:
Angle
- get_apoapsis_radius( ) ostk.physics.unit.Length ¶
Get the apoapsis radius of the COE.
- Returns:
The apoapsis radius of the COE.
- Return type:
Length
- get_argument_of_latitude( ) ostk.physics.unit.Angle ¶
Get the argument of latitude of the COE.
- Returns:
The argument of latitude (sum of argument of periapsis and true anomaly).
- Return type:
Angle
- get_cartesian_state(
- self: ostk.astrodynamics.trajectory.orbit.model.BrouwerLyddaneMean,
- gravitational_parameter: ostk.physics.unit.Derived,
- frame: ostk.physics.coordinate.Frame,
- gravitational_parameter: ostk.physics.unit.Derived,
Get the Cartesian state of the BrouwerLyddaneMean model.
- get_eccentric_anomaly( ) ostk.physics.unit.Angle ¶
Get the eccentric anomaly of the BrouwerLyddaneMean model.
- Returns:
The eccentric anomaly.
- Return type:
Angle
- get_eccentricity( ) ostk.core.type.Real ¶
Get the eccentricity of the COE.
- Returns:
The eccentricity of the COE.
- Return type:
- get_inclination( ) ostk.physics.unit.Angle ¶
Get the inclination of the COE.
- Returns:
The inclination of the COE.
- Return type:
Angle
- get_mean_anomaly( ) ostk.physics.unit.Angle ¶
Get the mean anomaly of the BrouwerLyddaneMean model.
- Returns:
The mean anomaly.
- Return type:
Angle
- get_mean_motion(
- self: ostk.astrodynamics.trajectory.orbit.model.kepler.COE,
- gravitational_parameter: ostk.physics.unit.Derived,
Get the mean motion of the COE.
- Parameters:
gravitational_parameter (Derived) -- The gravitational parameter of the central body.
- Returns:
The mean motion of the COE.
- Return type:
Derived
- get_nodal_precession_rate(
- self: ostk.astrodynamics.trajectory.orbit.model.kepler.COE,
- gravitational_parameter: ostk.physics.unit.Derived,
- equatorial_radius: ostk.physics.unit.Length,
- j2: ostk.core.type.Real,
- gravitational_parameter: ostk.physics.unit.Derived,
Get the nodal precession of the COE.
- Parameters:
gravitational_parameter (Derived) -- The gravitational parameter of the central body.
equatorial_radius (Length) -- The equatorial radius of the central body.
j2 (float) -- The second zonal harmonic coefficient of the central body.
- Returns:
The nodal precession of the COE.
- Return type:
Derived
- get_orbital_period(
- self: ostk.astrodynamics.trajectory.orbit.model.kepler.COE,
- gravitational_parameter: ostk.physics.unit.Derived,
Get the orbital period of the COE.
- Parameters:
gravitational_parameter (double) -- The gravitational parameter of the central body.
- Returns:
The orbital period of the COE.
- Return type:
Duration
- get_periapsis_radius( ) ostk.physics.unit.Length ¶
Get the periapsis radius of the COE.
- Returns:
The periapsis radius of the COE.
- Return type:
Length
- get_raan( ) ostk.physics.unit.Angle ¶
Get the right ascension of the ascending node of the COE.
- Returns:
The right ascension of the ascending node of the COE.
- Return type:
Angle
- get_radial_distance( ) ostk.physics.unit.Length ¶
Get the radial distance of the COE.
- Returns:
The radial distance of the COE.
- Return type:
Length
- get_semi_latus_rectum( ) ostk.physics.unit.Length ¶
Get the semi-latus rectum of the COE.
- Returns:
The semilatus rectum of the COE.
- Return type:
Length
- get_semi_major_axis( ) ostk.physics.unit.Length ¶
Get the semi-major axis of the COE.
- Returns:
The semi-major axis of the COE.
- Return type:
Length
- get_true_anomaly( ) ostk.physics.unit.Angle ¶
Get the true anomaly of the BrouwerLyddaneMean model.
- Returns:
The true anomaly.
- Return type:
Angle
- is_defined( ) bool ¶
Check if the COE is defined.
- Returns:
True if the COE is defined, False otherwise.
- Return type:
- static mean_anomaly_from_eccentric_anomaly(
- eccentric_anomaly: ostk.physics.unit.Angle,
- eccentricity: ostk.core.type.Real,
Compute the mean anomaly from the eccentric anomaly.
- Parameters:
eccentric_anomaly (Angle) -- The eccentric anomaly.
eccentricity (float) -- The eccentricity.
- Returns:
The mean anomaly.
- Return type:
Angle
- static string_from_element( ) ostk.core.type.String ¶
Get the string representation of an element.
- to_coe( ) ostk.astrodynamics.trajectory.orbit.model.kepler.COE ¶
Convert the BrouwerLyddaneMean model to classical orbital elements.
- Returns:
The classical orbital elements.
- Return type:
- static true_anomaly_from_eccentric_anomaly(
- eccentric_anomaly: ostk.physics.unit.Angle,
- eccentricity: ostk.core.type.Real,
Compute the true anomaly from the eccentric anomaly.
- Parameters:
eccentric_anomaly (Angle) -- The eccentric anomaly.
eccentricity (float) -- The eccentricity.
- Returns:
The true anomaly.
- Return type:
Angle
- static true_anomaly_from_mean_anomaly(
- mean_anomaly: ostk.physics.unit.Angle,
- eccentricity: ostk.core.type.Real,
- tolerance: ostk.core.type.Real,
- eccentricity: ostk.core.type.Real,
Compute the true anomaly from the mean anomaly.
- static undefined() ostk.astrodynamics.trajectory.orbit.model.kepler.COE ¶
Create an undefined COE model.
- Returns:
The undefined COE model.
- Return type: