ostk.astrodynamics.Access¶
- class Access(
- self: ostk.astrodynamics.Access,
- type: ostk.astrodynamics.Access.Type,
- acquisition_of_signal: ostk.physics.time.Instant,
- time_of_closest_approach: ostk.physics.time.Instant,
- loss_of_signal: ostk.physics.time.Instant,
- max_elevation: ostk.physics.unit.Angle,
- type: ostk.astrodynamics.Access.Type,
Bases:
pybind11_object
Object-to-object visibility
This class encapsulates the concept of visibility access between two trajectories.
Constructs an Access object.
- Parameters:
type (Access.Type) -- Type of the access (Complete, Partial, Undefined)
acquisition_of_signal (Instant) -- The instant when the signal is first acquired
time_of_closest_approach (Instant) -- The time of closest approach between objects
loss_of_signal (Instant) -- The instant when the signal is lost
max_elevation (Angle) -- The maximum elevation angle during the access
Methods
Get the acquisition of signal of the access.
Get the duration of the access.
Get the interval of the access.
Get the loss of signal of the access.
Get the maximum elevation of the access.
Get the time of closest approach of the access.
Get the type of the access.
Check if the access is complete.
Check if the Access object is defined.
Returns a string representation of the Access type.
Creates an undefined Access object.
- class Type(self: ostk.astrodynamics.Access.Type, value: int)¶
Bases:
pybind11_object
Access type.
Members:
Undefined : Undefined
Complete : Complete
Partial : Partial
- property name¶
- get_acquisition_of_signal(
- self: ostk.astrodynamics.Access,
Get the acquisition of signal of the access.
- Returns:
The acquisition of signal of the access.
- Return type:
Instant
- get_duration(self: ostk.astrodynamics.Access) ostk.physics.time.Duration ¶
Get the duration of the access.
- Returns:
The duration of the access.
- Return type:
Duration
- get_interval(self: ostk.astrodynamics.Access) ostk.physics.time.Interval ¶
Get the interval of the access.
- Returns:
The interval of the access.
- Return type:
Interval
- get_loss_of_signal(self: ostk.astrodynamics.Access) ostk.physics.time.Instant ¶
Get the loss of signal of the access.
- Returns:
The loss of signal of the access.
- Return type:
Instant
- get_max_elevation(self: ostk.astrodynamics.Access) ostk.physics.unit.Angle ¶
Get the maximum elevation of the access.
- Returns:
The maximum elevation of the access.
- Return type:
Angle
- get_time_of_closest_approach(
- self: ostk.astrodynamics.Access,
Get the time of closest approach of the access.
- Returns:
The time of closest approach of the access.
- Return type:
Instant
- get_type(self: ostk.astrodynamics.Access) ostk.astrodynamics.Access.Type ¶
Get the type of the access.
- Returns:
The type of the access.
- Return type:
- is_complete(self: ostk.astrodynamics.Access) bool ¶
Check if the access is complete.
- Returns:
True if complete, False otherwise.
- Return type:
- is_defined(self: ostk.astrodynamics.Access) bool ¶
Check if the Access object is defined.
- Returns:
True if defined, False otherwise.
- Return type:
- static string_from_type(type: ostk.astrodynamics.Access.Type) ostk.core.type.String ¶
Returns a string representation of the Access type.
- Parameters:
type (Access.Type) -- The type of the access.
- Returns:
A string representation of the type.
- Return type:
- static undefined() ostk.astrodynamics.Access ¶
Creates an undefined Access object.
- Returns:
An undefined Access object.
- Return type: