Implement signal chain correction metadata from new metafits HDU
Closed this issue · 1 comments
gsleap commented
Example HDU:
# HDU 2 in 1096952256_metafits.fits:
XTENSION= 'BINTABLE' / binary table extension
BITPIX = 8 / array data type
NAXIS = 2 / number of array dimensions
NAXIS1 = 1035 / length of dimension 1
NAXIS2 = 8 / length of dimension 2
PCOUNT = 0 / number of group parameters
GCOUNT = 1 / number of groups
TFIELDS = 3 / number of table fields
TTYPE1 = 'Receiver_type'
TFORM1 = '10A '
TTYPE2 = 'Whitening_Filter'
TFORM2 = 'B '
TTYPE3 = 'Corrections'
TFORM3 = '256E '
EXTNAME = 'SIGCHAINDATA' / extension name
This info is a normalised table containing the appropriate corrections (or all 0's if none is needed) for the receiver type+whitening filter combinations. (i.e. it is a lookup table).
We should add the full table to the MetafitsContext as a struct, and then provide the index to that table in the rf_input
struct.