Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 461 Bytes

README.rst

File metadata and controls

18 lines (14 loc) · 461 Bytes

README

Andrew Pellegrino, 2017

A simple Python module for parsing strings of astronomical coordinates into decimal degrees.

Still a work in progress; feel free to suggest changes.

>>> import astroparse
>>> astroparse.sdss("J131027.46+182617.4")
(197.61441666666664, 18.438166666666667)
>>> astroparse.ra("13:10:27.46")
197.61441666666664
>>> astroparse.dec("+18:26:17.40")
18.438166666666667