-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add option to project separation
onto an ellipse
#1012
Comments
Well I need exactly this for my research. I have a working code to do this (all conventions taken to account). I can try to contribute. Do you think the coordinates API is mature enough to receive this addition? |
@balbinot - the general API for defining coordinates will be changing in the upcoming version, but this part of it (separations) probably will not be. So contributing your code is definitely worthwhile - we will then be able to adapt it to the new scheme as we make the changes to the existing |
separation
onto a particular PA or ellipseseparation
onto an ellipse
Note that this was partially implemented in #2487, which did the circular/PA version. However, it would still be useful to add the "ellipse" part. So I've renamed this issue appropriately. I've also tagged this effort-low/package-novice, as it's fairly straightforward either as an extra keyword to |
Hi @eteq, I was looking for something I could start on for a "first issue" and I thought I'd try this if it's still open. I just had a clarification question: I assume by "separation along the major and minor axes" you mean the distance projected along those axes. My question is: how should that be 'weighted' by the ellipticity? What's the weight function? |
is this still open? |
… along the major and minor axis (issue astropy#1012)
Hi, I came across this issue and would love to work on it. Could you confirm if this is still available and assign it to me? Thanks! |
@Akshatb2006 we do not usually assign issues, but do feel free to work on it ! |
@Akshatb2006 - definitely fine to go for it, but do please make sure you are clear about what is desired. I read this issue quickly just because it was high on the 'sorted-by-most-recently-updated' list, but I didn't really understand the goal... |
@neutrinoceros Thanks! |
@Akshatb2006 - since @eteq proposed this change, I think best would be for him to review first (I asked in the PR). As I wrote above, I'm not sure what exactly the goal was... |
Right now separation only gives the angle between two points. Another common "separation" in astronomy is the distance projected along a particular axis (e.g. the major axis of a galaxy). This would be particularly useful because of the rather sordid history of various people confusing which way a PA goes ("degrees east of north" I think is the most common convention).
Also useful (at least in galaxy contexts) might be an "elliptical" distance (where the separation along the major and minor axes is weighted by the ellipticity).
This should probably await until some of the significant coordinate internal changes are done, so I'm not targeting a particular milestone.
The text was updated successfully, but these errors were encountered: