Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add position angle functionality #1

Closed
cdeil opened this Issue · 5 comments

2 participants

@cdeil

It would be nice if you could add the following functionality to pyephem:

  • Compute the position angle between two points in a given coordinate system (namely Equatorial or Galactic or AltAz).
  • Transform a position angle in one coordinate system (e.g. AltAz) to another (e.g. Galactic).

When implemented please mention it in this stackoverflow question:
http://stackoverflow.com/questions/11759204/how-to-convert-a-position-angle-from-alt-az-to-glon-glat-with-pyephem

@brandon-rhodes

Thank you for writing up this issue! I should have some spare cycles next week — after this weekend's DjangoDash — to look at creating a solution.

@cdeil

I'm hoping this feature will become in astropy.coordinates (astropy/astropy#2311).

@brandon-rhodes

Instead of trying to do that in PyEphem — whose mission I have now more narrowly defined as simply wrapping the old astronomy logic inside of libastro — I am going to attempt this functionality inside of Skyfield instead, so I am going to close this ticket and focus my future work there, since it is a pure-Python astronomy library (except for needing NumPy) that should be easier to advance and improve: https://github.com/brandon-rhodes/python-skyfield

@brandon-rhodes

(And, feel free to drop a link here if you did get around to adding this to astropy!)

@cdeil

Position angle computation is available in astropy here, position angle transformation to other coordinate systems is not.

If you do implement this in skyfield, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.