lumos.constellation.library.Constellation
- class lumos.constellation.library.Constellation[source]
Bases:
objectBase class for all constellations
Methods
Gets position of all satellites in constellation in HCS frame
Gets positions of all satellites in TEME coordinate frame
Plots satellite constellation in HCS coordinate frame
Plots satellite constellation in TEME coordinate frame
- get_hcs_position(time, earth_location)[source]
Gets position of all satellites in constellation in HCS frame
- Parameters:
time (
astropy.time.Time) – Time at which to get positionsearth_location (
astropy.coordinates.EarthLocation) – Location at which to get positions in HCS frame
- Returns:
altitudes (degrees), azimuths (degrees), heights (meters)
- Return type:
tuple[
np.ndarray]
- get_teme_position(time)[source]
Gets positions of all satellites in TEME coordinate frame
- Parameters:
time (
astropy.time.Time) – Time at which to get positions- Returns:
(x, y, z) position measured in meters
- Return type:
tuple[
np.ndarray]
- plot_hcs(ax, time, location)[source]
Plots satellite constellation in HCS coordinate frame
- Parameters:
ax (
matplotlib.pyplot.Axes) – Axis for plotting onto (must be polar projection)time (
astropy.time.Time) – Time at which to plot constellationlocation (
astropy.coordinates.EarthLocation) – Location on Earth at which to plot constellation