[AstroPy] Python Functions for Horizontal to Equatorial and vice versa?

Anne Archibald peridot.faceted@gmail....
Tue Apr 20 22:46:29 CDT 2010


On 19 April 2010 15:15, Wayne Watson <sierra_mtnview@sbcglobal.net> wrote:
> I'm looking for two functions to do the coordinate transformations in
> the Subject.  Just those two. I don't need any others.

I think you will find that you need many other functions than just
horizontal to equatorial: the transformation depends on LST, for
example, which you will need to convert to or from GMT, and on
latitude/longitude; you'll probably want to convert various
coordinates between sexagesimal and radians or degrees; you may even
find galactic coordinates useful. Just go with something like a python
wrapper for SLALIB.

If you really want just those two functions, if it's really essential
to keep dependencies down at the cost of debugging pain, you can write
such a function fairly easily by converting to a 3D vector
representation and back.

Good luck,
Anne

>              According to a very recent article in USA Today, 47%
>              of households and individual do not pay federal taxes.
>              In better times, it's about 38%. It's allowed under
>              present laws. Google USA Today "when 47% don't"

P.S. This is not a political forum. -A


More information about the AstroPy mailing list