check_oscntab

acstools.utils_calib.check_oscntab(oscntab, ccdamp, xsize, ysize, leading, trailing)

Check if the supplied parameters are in the OSCNTAB reference file.

Note

Even if an entry does not exist in OSCNTAB, as long as the subarray does not have any overscan, it should not be a problem for CALACS.

Note

This function does not check the virtual bias rows.

Parameters:
oscntabstr

Path to the OSCNTAB reference file being checked against.

ccdampstr

Amplifier(s) used to read out the CCDs.

xsizeint

Number of columns in the readout.

ysizeint

Number of rows in the readout.

leadingint

Number of columns in the bias section (“TRIMX1” to be trimmed off by BLEVCORR) on the A/C amplifiers side of the CCDs.

trailingint

Number of columns in the bias section (“TRIMX2” to be trimmed off by BLEVCORR) on the B/D amplifiers side of the CCDs.

Returns:
supportedbool

Result of test if input parameters are in OSCNTAB.