-
Notifications
You must be signed in to change notification settings - Fork 21
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
Imaging Convenience Tools #147
base: main
Are you sure you want to change the base?
Conversation
…ulating calibrated visibilities.
@samaloney Would something like this be within scope for STIXpy? |
@@ -72,3 +75,45 @@ def wcs(self): | |||
# Validate the WCS here. | |||
w2.wcs.set() | |||
return w2 | |||
|
|||
def to_hpc(self, |
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 is a transform like any other so we should do it via the standard API can include this shortcut in the transformation code I think - need to think about this a bit more.
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.
OK, I think that makes sense.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #147 +/- ##
==========================================
- Coverage 73.56% 71.96% -1.60%
==========================================
Files 32 33 +1
Lines 2016 2083 +67
==========================================
+ Hits 1483 1499 +16
- Misses 533 584 +51 ☔ View full report in Codecov by Sentry. |
This PR proposes some convenience tools for condensing a some common tasks that are mostly well-defined but currently take many lines of code.