NAME

ixpeinterptemp -- Fills temperature data gaps in an IXPE Level 1 DU housekeeping file using linear interpolation over gaps less than a given maximum duration.

USAGE

ixpeinterptemp.py infile outfile [maxgap] [clobber]

DESCRIPTION

ixpeinterptemp is a stand-alone IXPE engineering data processing tool that interpolates the temperatures in a user-inputted Level 1 DU high-rate housekeeping data file. Interpolated data is inserted into the output file at the nominal HK cadence (1 Hz) over every time gap less than or equal to maxgap, an optional argument whose default value is 150 seconds. The output is a FITS file containing the original temperature data and the interpolated temperature to fill the gaps.

PARAMETERS

infile* (str)
The full path of the input Level 1 DU high-rate housekeeping data file.

outfile* (str)
The full path of the output FITS file containing the original data and the interopolated temperatures.

maxgap (float)
The maximum data gap (in seconds) in the input table that will be filled with interpolated data. Default value is 150 seconds.

clobber (bool)
Overwrite the outfile if it already exists? Default value False.

EXAMPLES

BUGS

SEE ALSO

LAST MODIFIED

Feb 2022