vista.known_sources.satellites.Satellites¶
- class vista.known_sources.satellites.Satellites(name, file_path=None)[source]¶
Class to hold satellite TLE data, converting to positions as necessary
- satellites¶
An sgp4 (python package) SatrecArray of satellites
- Type:
SatrecArray
Methods
__init__(name[, file_path])Create a Satellites object
create_tracks(imagery)Create a list of Tracks for the sources for the provided imagery.
get_geodetics(times)Return an EarthLocation containing the positions of the satellites at the provided times
get_pixels(imagery, times)Return the pixel positions of the source for the provided imagery and time(s).
load_tle_file(file_path)Parses a TLE file into a SatrecArray of unique objects
- load_tle_file(file_path)[source]¶
Parses a TLE file into a SatrecArray of unique objects
- Parameters:
file_path (str) – File path to satellite TLE data
- get_geodetics(times)[source]¶
Return an EarthLocation containing the positions of the satellites at the provided times
- Parameters:
times (np.datetime64 | NDArray[np.datetime64] | astropy.time.Time) – Time or array of times for which to retrieve positions
- Returns:
Astropy EarthLocation object containing geodetic coordinates in km
- Return type:
EarthLocation