-
Notifications
You must be signed in to change notification settings - Fork 33
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-3765: Keep jump flags going into likelihood-based fitting algorithm #339
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
==========================================
- Coverage 86.00% 85.96% -0.04%
==========================================
Files 61 61
Lines 10340 10333 -7
==========================================
- Hits 8893 8883 -10
- Misses 1447 1450 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Tagging @t-brandt to take a look. |
I think the right approach is probably to go with this for now. In the future I think we should explore more selective use of the twopointdifference code in tandem with likelihood-based jump detection. |
Not sure why I can't tag specific reviewers, so tagging @kmacdonald-stsci here instead. |
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.
This looks fine, but I remember having this conversation in the past and deciding the best action is to remove the flagging when LIKELY is selected. That has been determined to be wrong, now?
I approved this PR, but would like to make sure the answer above is "yes".
@kmacdonald-stsci Yes; I think we've learned that there are enough edge cases that the regular jump step has been tuned to handle that it's useful to default to keeping those flags. They can always be turned off by skipping the jump step, and future work can prioritize more complex interaction between the two if necessary to do so. This should allow INS testing of the LIKELY method to continue moving ahead. |
FWIW, this doesn't affect romancal and is fine on our end. |
Regression tests here: |
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.
Regression tests show no changes for jwst or romancal. It looks like we do not yet have regression tests that explicitly use the likelihood algorithm.
LGTM for INS testing purposes. I will add a note to JP-3765 that we will need to add some regression tests for this algorithm.
I will take Eddie's comment as approval from the romancal side and go ahead and get this merged. |
Partially resolves JP-3765 by retaining prior jump flags in the likelihood ramp-fitting algorithm.