-
Notifications
You must be signed in to change notification settings - Fork 182
JP-3307: Determine source position in slit from TA verification image for MIRI LRS #10011
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10011 +/- ##
==========================================
+ Coverage 85.72% 86.00% +0.27%
==========================================
Files 367 368 +1
Lines 38235 38453 +218
==========================================
+ Hits 32776 33070 +294
+ Misses 5459 5383 -76 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Great, thanks! I can check again, but probably not until Tuesday.
For extraction purposes, I have used this function to get the effective middle of the slit: jwst/jwst/extract_1d/source_location.py Line 19 in cf2eae2
|
|
@melanieclarke I think this is ready for another review. Ian messaged me on Slack saying things were looking good as far as he could tell. I am not sure what test data he ran through. I checked some LRS nod data and it looks ok to me although I'm no expert. |
melanieclarke
left a comment
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.
Testing looks good now, for both nodded slit and slitless cases. Thanks for the fixes!
Code and test suite also look good to me. I have a few more minor suggestions for documentation and logging.
Also, I think we should add a regression test to exercise the step on real data.
|
@melanieclarke all your individual comments should be addressed by 4c1fea4 I'll work on the regression test. |
Thanks, the log looks much cleaner now. |
|
regtests including new one: https://github.com/spacetelescope/RegressionTests/actions/runs/20600657582 Here is a list of regression test differences. There are a lot, but I think all are expected. We will need to run new regtests once we get the stdatamodels PR in.
|
|
Okay, that all sounds reasonable to me, thanks for spelling it out! I'm ready to approve and will let you handle the merge and okify. Let me know if you need anything. |
|
run for okify. will merge when complete: https://github.com/spacetelescope/RegressionTests/actions/runs/20628286454 |
Resolves JP-3307
Closes #7728
This PR adds a new step to the spec2 pipeline for MIRI LRS fixed-slit and slitless observations. See ticket and docstring updates for details.
This PR also modifies the association rules to add
MIR_TACONFIRMtype exposures to MIRI LRS slit and slitless spec2 associations.Requires spacetelescope/stdatamodels#620
Tasks
Build 12.0(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see changelog readme for instructions)docs/pageokify_regteststo update the truth files