Skip to content

A python module for converting from horizon coordinates (azimuth and elevation) to celestial coordinates (right ascension and declination).

Notifications You must be signed in to change notification settings

vr2262/azel2radec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

azel2radec

azel2radec is a python module for converting from horizon coordinates (azimuth and elevation) to celestial coordinates (right ascension and declination).

It provides 3 methods:

jdcnv : converts a Gregorian time to a Julian Date

ct2lst : converts Civil Time to Greenwich Sidereal Time

azel2radec : converts from horizon to celestial coordinates

Typically ct2lst is only used internally to azel2radec. The assumed use case is that one knows the local time (UTC) and uses jdcnv to convert to a Julian Date, which is fed into azel2radec.

The module also provides a useful constant, second_jul, which is the conversion of a local second to Julian time.

The azel2radec module is based on code available at http://idlastro.gsfc.nasa.gov/ and http://cosmology.berkeley.edu/group/ but does NOT replicate all behavior exactly. The numerical results will be the same, but the input parameters and outputs may differ.

The azel2radec module is vectorized and supports multicore processing thanks to the numexpr package.

Dependencies:

numpy

numexpr

Viktor Roytman 2012

[email protected]

About

A python module for converting from horizon coordinates (azimuth and elevation) to celestial coordinates (right ascension and declination).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published