-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support strings for frame in HEALPix class #56
Comments
👍 This is one thing I'm missing in hipspy/hips#109 , trying to use |
This is the |
This should be easy to do with: In [1]: from astropy.coordinates import frame_transform_graph
In [3]: frame_transform_graph.lookup_name('galactic')
Out[3]: astropy.coordinates.builtin_frames.galactic.Galactic |
(This could replace |
I don't know ... this silently fails (returns
For now I'll stick with my helper function. |
We could easily check for |
Yes, maybe that would be the way to go here. I think the hard part will be to have a sane way to handle frame for FITS I/O for HEALPix maps. There only a small subset of frames will be supported, so at that point something custom like the helper function I have now in I guess a good strategy is to allow |
I agree with this! The HEALPix class itself should not have restrictions, whereas once we write the FITS readers/writers, those should have validation of |
We should try and re-use the frame-parsing machinery from Astropy to make it so we can use:
(like in SkyCoord)
The text was updated successfully, but these errors were encountered: