Giter VIP home page Giter VIP logo

azel2radec's Introduction

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.