-
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
JP-1300:TSGRIM and WFSS improvements #6005
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6005 +/- ##
==========================================
- Coverage 77.76% 76.81% -0.96%
==========================================
Files 399 399
Lines 35329 36044 +715
==========================================
+ Hits 27473 27686 +213
- Misses 7856 8358 +502
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
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. Just a few comments and minor questions.
jwst/extract_2d/grisms.py
Outdated
log.info("Spectral trace extents: (xmin: {}, ymin: {}), " | ||
"(xmax: {}, ymax: {})".format(xmin, ymin, xmax, ymax)) | ||
log.info("Extraction limits: (xmin: {}, ymin: {}), " | ||
"(xmax: {}, ymax: {})".format(xmin_ext, ymin, xmax, ymax)) |
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.
I realize this is the same code as before, just reformatted, but why does this message use xmin_ext
, while all the other items being printed are just plain ymin
, xmax
, ymax
?
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.
The team has decided they want to cover the entire detector in the x
direction, that's why it's hard coded to xmin_ext=0
.
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.
I see that in the old code the extraction limits (line 212) arguments include xmin_ext
and xmax_ext
, while the new code uses xmin_ext
and xmax
. Should that instead be xmax_ext
?
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.
Doh! Fixed now.
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
RTD build issue unrelated to this PR. Fixed in #6017 . |
Closes #4572
Resolves JP-1300
Description
Checklist