check_overscan

acstools.utils_calib.check_overscan(xstart, xsize, total_prescan_pixels=24, total_science_pixels=4096)

Check image for bias columns.

Parameters:
xstartint

Starting column of the readout in detector coordinates.

xsizeint

Number of columns in the readout.

total_prescan_pixelsint

Total prescan pixels for a single amplifier on a detector. Default is 24 for WFC.

total_science_pixelsint

Total science pixels across a detector. Default is 4096 for WFC (across two amplifiers).

Returns:
hasoverscanbool

Indication if there are bias columns in the image.

leadingint

Number of bias columns on the A/C amplifiers side of the CCDs (“TRIMX1” in OSCNTAB).

trailingint

Number of bias columns on the B/D amplifiers side of the CCDs (“TRIMX2” in OSCNTAB).