-
-
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
Missing non-celestial reprojection routines #278
Comments
In general the interpolation method should be able to handle any reprojection which doesn't change the axis type? |
yeah, I had to do some awful hackery in this example: (look down where there are big code blocks) |
Hi! I know this is a bit of an older issue, but since it's still open, I wanted to chime in with a related issue I'm having (and please let me know if it's better off in a separate issue). I have been able to reproject position-velocity images (typically created with pvextractor) onto each other in the past. If
That had worked in the past, and unfortunately I don't have a snapshot of all my reproject, pvextractor, astropy, and numpy versions when that worked. I have since updated everything via pip as of April 2023. Now to reproject PV slices, I have to set their rest frequencies to be equal or else I get all NaNs. I see in @keflavich's example that they might be doing something like that too.
Something must have changed (in astropy coordinates I guess?) because my old code that produced good reprojected PV diagrams before my updates now does not work unless I apply the rest frequency fix. Is there a good reason that the rest frequencies should be the same? All the use cases I can imagine for my work would involve different rest frequencies, i.e. overlaying PV cuts of different spectral lines. If the headers both describe the spectral axes in velocity, then I would expect reproject to use that with no further questions (besides checking/adjusting radio vs optical convention I suppose). Thanks, really appreciate all the work on this package! |
The documentation claims "Non-celestial images/data are not currently supported but will be added in future releases." but there's no open issue about this that I can find.
We need to support reprojection between different position-velocity slices.
The text was updated successfully, but these errors were encountered: