nicer.sps

ISS position from the GPS SPS housekeeping data.

Classes

SPS(spsname)

Interpolate the ISS latitude and longitude from GPS SPS housekeeping data.

class nicer.sps.SPS(spsname)[source]

Bases: object

Interpolate the ISS latitude and longitude from GPS SPS housekeeping data.

Rows where both latitude and longitude are zero are ignored. Outside the time range of the file, the first or last position is returned.

Parameters:

spsname (str) -- SPS housekeeping file (*_apid0260.hk).

latlon(met)[source]

Return the interpolated latitude and longitude.

Parameters:

met (float or array_like) -- Time(s), in MET seconds.

Returns:

  • lat (astropy.coordinates.Latitude)

  • lon (astropy.coordinates.Longitude)