SatelliteCameraViewer.SatelliteCamera.SatelliteOrbit module
SatelliteOrbit
Satellite orbit from 2LE or TLE/3LE
- class SatelliteCameraViewer.SatelliteCamera.SatelliteOrbit.SatelliteOrbit[source]
Bases:
object- Attributes:
tletle - return array of TLE strings (2 or 3 lines long)
Methods
eci_position_vector(obs_time)Returns ECI (Earth-Centered Inertial) position (km) at UTC time obs_time.
eci_velocity_vector(obs_time)Returns ECI (Earth-Centered Inertial) velocity (km/s) at UTC time obs_time.
icrs(obs_time)icrs - convert satellite and time into a ICRS value
sat_in_eclipse(obs_time)in_eclipse - Returns True if saetellite is in Earth's umbra (full shadow).
sat_lon_lat_alt(obs_time)sat_lon_lat_alt - Return satellite geodetic lat, lon, alt.
SatelliteOrbit - accept a TLE/3LE or 2LE 2LE or two-line element sets (no satellite name on Line 0). TLE/3LE or three-line element sets including 24-character satellite name on Line 0.
- Parameters:
tle (list[str]) – TLEs as an array (2 or 3 lines long).
- Attributes:
tletle - return array of TLE strings (2 or 3 lines long)
Methods
eci_position_vector(obs_time)Returns ECI (Earth-Centered Inertial) position (km) at UTC time obs_time.
eci_velocity_vector(obs_time)Returns ECI (Earth-Centered Inertial) velocity (km/s) at UTC time obs_time.
icrs(obs_time)icrs - convert satellite and time into a ICRS value
sat_in_eclipse(obs_time)in_eclipse - Returns True if saetellite is in Earth's umbra (full shadow).
sat_lon_lat_alt(obs_time)sat_lon_lat_alt - Return satellite geodetic lat, lon, alt.
- eci_position_vector(obs_time: datetime)[source]
Returns ECI (Earth-Centered Inertial) position (km) at UTC time obs_time.
- eci_velocity_vector(obs_time: datetime)[source]
Returns ECI (Earth-Centered Inertial) velocity (km/s) at UTC time obs_time.
- sat_in_eclipse(obs_time: datetime)[source]
in_eclipse - Returns True if saetellite is in Earth’s umbra (full shadow).
- Parameters:
obs_time (datetime) – Observation time (in UTC).
- sat_lon_lat_alt(obs_time)[source]
sat_lon_lat_alt - Return satellite geodetic lat, lon, alt.
- Parameters:
obs_time (astropy Time) – Observation time.
- Returns:
lat_deg (float)
lon_deg (float)
alt_km (float)
- property tle
tle - return array of TLE strings (2 or 3 lines long)
- Returns:
TLEs
- Return type:
list[str]