check_readout_shift

sofia_redux.instruments.forcast.check_readout_shift.check_readout_shift(data, header)[source]

Check data for 16 pixel shift

Looks at specific bad pixel regions in raw data to try to detect 16 pixel shift. Procedure does not seem to work for XD or images of the slit because the background is too low for bad pixels to show contrast using STDDEV.

Parameters:
datanp.ndarray
headerastropy.io.fits.header.Header
Returns:
True if pixel shift is likely, False otherwise