-
Notifications
You must be signed in to change notification settings - Fork 174
JP-1585: Wrap first angle at 360 in forward V2V3 to sky and at 180 for inverse. #5206
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-1585: Wrap first angle at 360 in forward V2V3 to sky and at 180 for inverse. #5206
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.
I will have to defer to the expertise of @nden for approval of this approach.
6803393
to
4ab7cd1
Compare
4ab7cd1
to
bf12ab1
Compare
jwst/lib/set_telescope_pointing.py
Outdated
angles = [-v2_ref_deg, v3_ref_deg, -roll_ref, -dec_ref, ra_ref] | ||
axes = "zyxyz" |
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.
These two lines need to be removed, as angles
and axes
are no longer used.
1c23373
to
bbb67b0
Compare
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 good!
The failures in the code style check need to be fixed but otherwise looks good. |
168461a
to
b4ce120
Compare
PEP8 fixed in the last commit (squashed onto previous one). |
Codecov Report
@@ Coverage Diff @@
## master #5206 +/- ##
==========================================
- Coverage 52.40% 52.39% -0.01%
==========================================
Files 406 406
Lines 36480 36475 -5
Branches 5645 5646 +1
==========================================
- Hits 19117 19111 -6
- Misses 16183 16184 +1
Partials 1180 1180
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Fixes #5148 / JP-1585. Improves upon #5185 by restoring wrap angle for
V2
to 180 degrees so that inversion polynomials that take from detector to V2V3 frames now can work as designed.Closes #5195
Closes #5185
This PR replaces
V23ToSky
model with "standard" models fromastropy
andgwcs
.