ostk.astrodynamics.trajectory.model.TargetScan¶
- class TargetScan(
- self: ostk.astrodynamics.trajectory.model.TargetScan,
- start_lla: ostk.physics.coordinate.spherical.LLA,
- end_lla: ostk.physics.coordinate.spherical.LLA,
- start_instant: ostk.physics.time.Instant,
- end_instant: ostk.physics.time.Instant,
- celestial: ostk.physics.environment.object.Celestial = -- Object ------------------------------------------------------------------------------------------ Name: Earth ----------------------------------------------------------------------------------------------------,
- step_size: ostk.physics.time.Duration = 00.010.000.000,
- start_lla: ostk.physics.coordinate.spherical.LLA,
Bases:
Model
TargetScan trajectory model.
This model represents a trajectory that scans between two target locations on a celestial body.
Construct a TargetScan object.
- Parameters:
start_lla (LLA) -- The starting location.
end_lla (LLA) -- The ending location.
start_instant (Instant) -- The starting instant.
end_instant (Instant) -- The ending instant.
celestial (Celestial) -- The celestial body. Defaults to Earth.WGS84().
step_size (Duration) -- The step size for the trajectory. Defaults to 1e-2 seconds.
- Returns:
The TargetScan object.
- Return type:
Methods
Calculate the state at a given instant.
Calculate the states at given instants.
Construct a TargetScan object from ground speed.
Get the celestial object of the target scan.
Get the ending instant of the target scan.
Get the ending LLA of the target scan.
Get the starting instant of the target scan.
Get the starting LLA of the target scan.
Get the step size of the target scan.
Check if the model is defined.
- calculate_state_at(
- self: ostk.astrodynamics.trajectory.model.TargetScan,
- instant: ostk.physics.time.Instant,
Calculate the state at a given instant.
- Parameters:
instant (Instant) -- The instant.
- Returns:
The state at the given instant.
- Return type:
- calculate_states_at(
- self: ostk.astrodynamics.trajectory.Model,
- instants: list[ostk.physics.time.Instant],
Calculate the states at given instants. It can be more performant than looping calculate_state_at for multiple instants.
@param instants The instants.
- Returns:
The states at the given instants.
- Return type:
Array<State>
- static from_ground_speed(
- start_lla: ostk.physics.coordinate.spherical.LLA,
- end_lla: ostk.physics.coordinate.spherical.LLA,
- ground_speed: ostk.physics.unit.Derived,
- start_instant: ostk.physics.time.Instant,
- celestial: ostk.physics.environment.object.Celestial = -- Object ------------------------------------------------------------------------------------------ Name: Earth ----------------------------------------------------------------------------------------------------,
- step_size: ostk.physics.time.Duration = 00.010.000.000,
- end_lla: ostk.physics.coordinate.spherical.LLA,
Construct a TargetScan object from ground speed.
- Parameters:
start_lla (LLA) -- The starting location.
end_lla (LLA) -- The ending location.
ground_speed (Derived) -- The ground speed.
start_instant (Instant) -- The starting instant.
celestial (Celestial) -- The celestial body.
step_size (Duration) -- The step size for the trajectory.
- Returns:
The TargetScan object.
- Return type:
- get_celestial( ) ostk.physics.environment.object.Celestial ¶
Get the celestial object of the target scan.
- Returns:
The celestial object.
- Return type:
Celestial
- get_end_instant( ) ostk.physics.time.Instant ¶
Get the ending instant of the target scan.
- Returns:
The ending instant.
- Return type:
Instant
- get_end_lla( ) ostk.physics.coordinate.spherical.LLA ¶
Get the ending LLA of the target scan.
- Returns:
The ending LLA.
- Return type:
LLA
- get_start_instant( ) ostk.physics.time.Instant ¶
Get the starting instant of the target scan.
- Returns:
The starting instant.
- Return type:
Instant
- get_start_lla( ) ostk.physics.coordinate.spherical.LLA ¶
Get the starting LLA of the target scan.
- Returns:
The starting LLA.
- Return type:
LLA
- get_step_size( ) ostk.physics.time.Duration ¶
Get the step size of the target scan.
- Returns:
The step size.
- Return type:
Duration
- is_defined(self: ostk.astrodynamics.trajectory.model.TargetScan) bool ¶
Check if the model is defined.
- Returns:
True if the model is defined, False otherwise.
- Return type: