test_dark_current_quality

caltest.test_caldetector1.test_dark_current.test_dark_current_quality(fits_input, fits_output)[source]

Check the slope of the median ramp for the detector. The count rate of the dark subtracted ramp should be small (< 0.1?)

Parameters:
  • fits_input – astropy.io.fits.HDUList The FITS HDUList input
  • fits_output – astropy.io.fits.HDUList The FITS HDUList output