-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JP-3242: Proper Handling of Timing for Final Slope Computation for only 0th Good Group Ramps #7612
Conversation
…ts due to new timing computation in STCAL.
Started regtest, using stcal/main, at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/754/ |
regtest run showed mostly unrelated differences, except for 1 ramp_fit unit test that's also failing in the CI runs. "No module named 'general_funcs'" |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #7612 +/- ##
==========================================
- Coverage 77.43% 76.61% -0.83%
==========================================
Files 451 456 +5
Lines 35702 36819 +1117
==========================================
+ Hits 27647 28209 +562
- Misses 8055 8610 +555
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Looks to me like all the CI failures are due to the use of stcal==1.3.8, so it isn't picking changes from the PR recently merged to stcal/main. Guess we need an stcal release to fix that situation. Although a regtest run making use of stcal/main should get around that. |
Another regtest run started at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/757 using stcal/main. |
I ran the ramp fitting tests locally using the latest STCAL main and they passed. |
Still has a code style failure for the opedal variable in the unit tests. |
Latest regtest run shows only a few unrelated differences. Looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good now, except of course for the CI tests that won't pass because they're using the released version of stcal, rather than stcal/main. All tests pass in the regtest environment when build with stcal/main.
…ly 0th Good Group Ramps (spacetelescope#7612) Co-authored-by: Howard Bushouse <[email protected]>
Resolves JP-3242
This PR addresses special handling of timing for ramps that have only good 0th group in a ramp. The addition of this special case only properly computed the variances. The timing division for the final slope computation still used the group time, which is not correct for certain special cases. All timing divisions have been pushed back to the segment calculations, so there is no longer one final divide. There is also the further subset special case for only 0th good group with the use of ZEROFRAME.
These corrections have been made in STCAL, which affects the CI tests in JWST. The ramp fitting CI tests have been updated. The STCAL PR spacetelescope/stcal#173 needs to be merged first before this PR.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR