spacetelescope / stcal

https://stcal.readthedocs.io/en/latest/
Other
10 stars 32 forks source link

Incorrect Variances for Suppressed Integrations #192

Closed kmacdonald-stsci closed 1 year ago

kmacdonald-stsci commented 1 year ago

For this test: https://github.com/spacetelescope/stcal/blob/7f0a4647fbd7ff4246550d170b2ee6e0c6281ab7/tests/test_ramp_fitting.py#L1253

The computation of the variances are wrong. A number of the integrations should be suppressed, which should result in the rateints variances being equal to zero for these integrations. This effects the computation of the image variances as well.