This package contains the code described in Gennaro and Khandrika (2020) - ref goes here to perform the fit of infrared detector ramps. The code can be applied to ramps with arbitrary number of groups, averaged frames per group and skipped frames.
The main routines for simulating and fitting ramps are contained in the ramp_utils
package.
ramp.py
defines theRampTimeSeq
class andRampMeasurement
class, than can be used together to created simulated rampsfitter.py
defines theIterativeFitter
class which is the workhorse code for fitting the ramps and obtaining an estimate of the true incident flux
The Test_notebooks
folder contains a series of examples to help the user familiarize with the code and its functionalities