nicer.latloninterp
Interpolate the spacecraft latitude and longitude from tabulated values.
Classes
|
Interpolate the spacecraft latitude and longitude at any time. |
- class nicer.latloninterp.LatLonInterp(met, lat, lon)[source]
Bases:
objectInterpolate the spacecraft latitude and longitude at any time.
The positions are converted to Earth-fixed Cartesian coordinates and interpolated with splines, which avoids problems with longitude wrapping. Outside the tabulated range, the first or last value is returned.
- Parameters:
met (array_like) -- Times of the tabulated positions, in MET seconds (for example
mktable["TIME"]).lat (astropy.units.Quantity) -- Latitudes and longitudes at those times (for example
mktable["SAT_LAT"]andmktable["SAT_LON"]).lon (astropy.units.Quantity) -- Latitudes and longitudes at those times (for example
mktable["SAT_LAT"]andmktable["SAT_LON"]).