cartesian_helio

sofia_redux.spectroscopy.earthvelocity.cartesian_helio(time, center='barycentric', location=None)[source]

Calculate the Cartesian velocity of the Sun.

Parameters:
timestr or float or astropy.time.Time

Date and time of observation. By default this is set to isot (‘2000-01-01T00:00:00.000’) in UTC.

centerstr, optional

One of {‘heliocentric’, ‘barycentric’}. Compute the heliocentric or barycentric velocity which respectively define the Sun or the Sun’s barycenter as the center of the Solar System.

locationEarthLocation

The location of the observation.

Returns:
vhelioCartesianRepresentation

Cartesian representation of the velocity of the center of the Solar System.