-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to use PaddedSpectrumWCS on 3D cube? #75
Comments
Is this issue still open? If I understand right, you'd need the original |
I ended up storing the original WCS somewhere hacky and not use PaddedSpectrumWCS at all. So this is still a problem. Would be nice if we can get rid of this altogether and use something more conventional. |
The WCS shouldn't be a |
TBH I don't remember what data triggered this 2 years ago. Maybe I should just close this issue. |
I should have replied sooner, sorry! 😅 |
I have a 3D WCS but all I care about is to translate the spatial WCS (i.e., given a SkyCoord, I want X and Y pixel positions). I don't care about the spectral axis. In Cubeviz, the translator encodes the WCS as PaddedSpectrumWCS but I cannot figure out how to use it to grab just the spatial WCS object. I want to pass this spatial WCS to the to_pixel method in a regions shape.
This is as far as I got:
What should I do after this? Any ideas, @astrofrog or @dhomeier ?
The text was updated successfully, but these errors were encountered: