-
Notifications
You must be signed in to change notification settings - Fork 171
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
AL-479: Move ramp fit code from JWST to STCAL. #6023
AL-479: Move ramp fit code from JWST to STCAL. #6023
Conversation
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.
Looks good. Regression tests on this branch and the one on stcal
look good:
https://plwishmaster.stsci.edu:8081/job/RT/job/jdavies-dev/241/
This PR depends on spacetelescope/stcal#6 being merged and a release of stcal
happening. This PR should then be updated to specify that version or greater of stcal
in setup.cfg
. Then it can be merged.
🚀
Codecov Report
@@ Coverage Diff @@
## master #6023 +/- ##
==========================================
+ Coverage 77.53% 77.55% +0.01%
==========================================
Files 405 405
Lines 35174 35220 +46
==========================================
+ Hits 27272 27314 +42
- Misses 7902 7906 +4
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
spacetelescope/stcal#6 was merged and I pointed this branch to stcal/main. Once tests pass we need an stcal release and can merge this one. |
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.
lgtm
stcal 0.2.0 was released on PyPi |
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.
So the various JWST instrument-specific hooks for special handling of a few things like MIRI first and last frames, etc. are now all in the supposedly "common" code over in stcal?
They are because the common code works on data models. |
I am happy to remove it from STCAL and put it into JWST. There is only one specific MIRI reference in the STCAL code, so moving it should be easy. Are there other parts of the ramp fit code that are JWST specific that should be removed from the ramp fitting code in STCAL? |
d0093b0
to
7540c7d
Compare
7540c7d
to
523ef17
Compare
This now points to the stcal release and can be merged. |
No need to unmove any of the code. I was just curious. I guess the assumption is that Roman will use the same |
The assumption is that both pipelines will only use a JWST-like input RampModel containing expected values and kewords. The |
I think that this may have already been discussed, but as this is a change in the design and code structure (and the first of these changes among several calibration steps) this should be described in the docs for ramp fitting. The restructuring to use common code should probably also be described in other, more general sections of the docs. |
@dmggh good point and agreed! |
Resolves AL-479
Description
Moved ramp fitting code from JWST to STCAL. All unit tests and regression tests are passing, using ramp fitting path to STCAL.
Checklist