-
Notifications
You must be signed in to change notification settings - Fork 181
JP-2500 Allow cube build to accept a tangent point, position angle and number of spaxels in x, y cube dimensions #7882
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-2500 Allow cube build to accept a tangent point, position angle and number of spaxels in x, y cube dimensions #7882
Conversation
|
@drlaw1558 Test this out and let me know what you think. |
90e0b6a to
622eba9
Compare
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
drlaw1558
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.
LGTM; I tested each of these parameters and combinations thereof, and the results looked as expected. Needs a change log entry though.
|
I will update the documentation now. I just wanted to make sure the code looked correct before I did that. |
|
@jemorrison Please run regression tests and post a link to the run here. |
|
@drlaw1558 @hbushouse |
|
@jemorrison Hm, #7783 used the convention scalexy, so by analogy nspax_x and nspax_y would probably make sense. xi/eta and x/y aren't the same values so we need to keep both, but should be interchangeable from the standpoint of numbers of spaxels. That way we wouldn't have to describe xi/eta in anything other than inline documentation as this is just used internally as an intermediate step in the tangent plane projection. |
9674413 to
2d61856
Compare
hbushouse
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.
Looks good now.
|
I started a regtest run here: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/932 |
|
I can add a regression test that sets the size of the cube. Cube build requires a full image to run so I could not figure out a way to test that in a unit test. But I can add a regression tests. I am hesitant to do that right now because of all the regression test failure to run. |
6525585 to
8c88c91
Compare
|
Results of regression test: @hbushouse is it ok to merge this - or should I wait since Build 10 is being made now ? |
…d number of spaxels in x, y cube dimensions (spacetelescope#7882)
Resolves JP-2500
Closes #6697
This PR addresses allows the user to specify the tangent point (ra_center, dec_center), position angle (cube_pa) and size of cube in x cube dimension (nspax_xi) and y cube dimension (nspax_eta).
These are all option to be run offline not part of standard processing.
Checklist for maintainers
CHANGES.rstwithin the relevant release sectionHow to run regression tests on a PR
Results of regression test:
https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/955/