Skip to content
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

Minor fix to clarify user-provided position angle instead of roll #96

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

Skyhawk172
Copy link
Contributor

After some testing and discussion, it has become clear(er) that the user-provided --roll argument is really the position angle measured at the aperture's V2Ref/V3Ref (measured from North to YIdl). The handling of this value in wcs.py was also fixed for the case where the aperture used is BORESIGHT.

Note that the code in wcs.py converts this value to roll_ref, which is defined as the angle from North to V3 (towards East) measured at the aperture V2Ref/V3Ref, but from a user perspective, it makes more sense to specify the position angle of the aperture on the sky, hence the clarification provided here.

@Skyhawk172 Skyhawk172 requested a review from a team as a code owner February 7, 2024 20:16
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8a31e25) 92.59% compared to head (7798e70) 92.59%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files          16       16           
  Lines        1471     1471           
=======================================
  Hits         1362     1362           
  Misses        109      109           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@schlafly
Copy link
Collaborator

schlafly commented Feb 7, 2024

Great. Thanks for catching both uses of roll in romanisim-make-image and romanisim-make-stack. Merging!

@schlafly schlafly merged commit a3f71b7 into spacetelescope:main Feb 7, 2024
20 checks passed
@Skyhawk172 Skyhawk172 deleted the fix_roll_pa branch February 7, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants