Skip to content
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

GWCS for Magellanic Stream #487

Open
zheshishuoshuo opened this issue Dec 5, 2023 · 2 comments
Open

GWCS for Magellanic Stream #487

zheshishuoshuo opened this issue Dec 5, 2023 · 2 comments

Comments

@zheshishuoshuo
Copy link

"Hello, I am a newcomer to GWCS, and I am currently trying to create a world coordinate system for the Magellanic Stream using GWCS, and I hope to reproject data from other coordinate systems into this coordinate system, but it seems quite challenging. I have looked through the GWCS documentation, but there don't seem to be any complex examples. The SkyCoordinate for the Magellanic Stream is defined in gala.coordinates.magellanic_stream and is described at Tools. Can you provide some examples and advice?

@nden
Copy link
Collaborator

nden commented Dec 6, 2023

Hi @zheshishuoshuo, are you aiming to define a coordinate frame, i.e. an object similar to the frames in astropy.coordinates? If so you need to look at the astropy.coordinates package and see how to add a new frame. This will allow conversion between coordinates in different frames.

OTH, if you are aiming to define the transforms from a specific instrument/detector to a specific coordinate frame as defined by astropy.coordinates, then gwcs is the tool for this. This is usually done to tie observations from a specific instrument to a standard coordinate frame.
Could you clarify what the goal is?

@zheshishuoshuo
Copy link
Author

Here's the situation: I'm looking to reproject data from standard coordinate systems such as ICRS and Galactic coordinates into non-standard coordinate systems like Magellanic coordinates, Sagittarius Stream coordinates, and Complex A coordinates. However, I've encountered difficulties using the WCS within astropy to achieve this transformation for the latter coordinate systems. Consequently, I've turned to GWCS for assistance. I'm still struggling to grasp how to implement these more complex world coordinate systems, and I haven't been able to find any examples to guide me. May you give me some advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants