test_linearity_residuals

caltest.test_caldetector1.test_linearity.test_linearity_residuals(fits_input, fits_output)[source]

Calculate the second difference of the linearity corrected ramp for each pixel. If the ramp is perfectly linear they should be zero.