spacetelescope / wfc3tools

Python tools for HST WFC3 data calibration and analysis
https://wfc3tools.readthedocs.io/en/latest/
Other
6 stars 19 forks source link

Added IMA read differential support to pstat #40

Open Vb2341 opened 5 years ago

Vb2341 commented 5 years ago

This feature adds functionality to look at statistics computed from differences between reads of a ramp. Since the IMA reads are cumulative averages, they do not clearly represent a single read of the ramp. By multiplying each read by the exposure time and subtracting adjacent pairs of reads (and dividing by the integration time of that read), a countrate can be computed for each read. This information is much more useful for analyzing trends in background measurements (i.e. detecting variable background from He/Earth limb). This does not fully subtract reads of an IMA from each other, but subtracts the measurements pstat makes (i.e. the midpoint of a read/section of a read).