vista.known_sources.solar_system_bodies.SolarSystemBodies

class vista.known_sources.solar_system_bodies.SolarSystemBodies[source]

Class to hold the positions of solar system bodies, including planets and their moons

Only implemented for major planets currently

__init__()[source]

Create a SolarSystemBodies object

Methods

__init__()

Create a SolarSystemBodies 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 solar system bodies at the provided times

get_pixels(imagery, times)

Return the pixel positions of the source for the provided imagery and time(s).

__init__()[source]

Create a SolarSystemBodies object

get_geodetics(times)[source]

Return an EarthLocation containing the positions of the solar system bodies 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