-
Notifications
You must be signed in to change notification settings - Fork 48
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
Move examples from conftest to an examples module #521
Move examples from conftest to an examples module #521
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #521 +/- ##
==========================================
+ Coverage 87.28% 87.41% +0.13%
==========================================
Files 22 22
Lines 3821 3869 +48
==========================================
+ Hits 3335 3382 +47
- Misses 486 487 +1 ☔ View full report in Codecov by Sentry. |
# pipeline = [('detector', wcs_forward), (comp_frm, None)] | ||
w = wcs.WCS(forward_transform=wcs_forward, output_frame=comp_frm, | ||
input_frame=detector_frame) |
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.
Should this be updated to
# pipeline = [('detector', wcs_forward), (comp_frm, None)] | |
w = wcs.WCS(forward_transform=wcs_forward, output_frame=comp_frm, | |
input_frame=detector_frame) | |
pipeline = [(detector_frame, wcs_forward), (comp_frm, None)] | |
w = wcs.WCS(pipeline) |
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 think the above is still an allowed way to initialize a WCS object. Let's keep it as is.
This makes it easier to interactively work with GWCS using pre-made models.