-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
find_optimal_celestial_wcs does not accept GWCS #328
Comments
I investigated this a bit and there are two main things to do/consider here:
|
I dunno. GWCS exists to handle distortions that FITS WCS cannot, so if that is not an issue here, then maybe it is okay but I'll ping @nden and @WilliamJamieson to comment. |
@pllim - indeed but this is a WCS that the data would get reprojected to, so it's not like the case of raw data when you need GWCS to represent the coordinate system without any resampling. The target WCS doesn't have to have any relation to the original pixel gridding/distortions. |
So, if I want to reproject a distorted GWCS to another distorted GWCS, is the distortion ignored? Or is distortion ignored in all cases regardless anyway? |
There are two separate things here:
If what you want is to apply a pure rotation to an existing WCS and preserve distortions etc then it's best to just edit the WCS, eg in GWCS you would add a rotation component. Does this make sense? |
Maybe... but it really depends on what @orifox wanted to do with this function. I used this because of the code he provided for Imviz rotation work. |
reproject/reproject/mosaicking/wcs_helpers.py
Line 92 in aa23eb1
It complains that GWCS has no attribute
naxis
.The text was updated successfully, but these errors were encountered: