pyRTX.classes.LookUpTable

Classes

LookUpTable(filename)

This class is used to store results in the shape aof a lookup table.

class pyRTX.classes.LookUpTable.LookUpTable(filename)[source]

This class is used to store results in the shape aof a lookup table. This is mainly used to store the results of a set of raytracing results example: the solar pressure for a body is computed for a grid of RA/DEC values. these values can be stored in the LookupTable object and later retrieved. This class offers the possibility of not oly retrieving pre-computed values, but also interpolating between grid points.

NOTE: the grid of the lookup table does not need to be regular the interpolation is based on numpy griddata method which is able to cope with unstructured grids

__init__(filename)[source]
property moving_frames

Returns the list of frames wich are NOT fixed wrt spacecraft body-frame.

property data

Returns the xarray data.

property attrs

Returns the xarray attributes.

property axes

Returns the xarray axes values.

property base_frame

Returns the spacecraft body-frame.

property ref_epc

Returns the reference epoch of the LUT.

property eul_set

Returns the euler set used for the computations.

property eul_idxs

Returns the euler set used for the computations.

property dims

Returns the dimension axes of the xarray.

property units

Returns the units of the xarray values.

query(epoch, ra, dec)[source]

Query the look up table for a given epoch, ra, dec (in degrees).