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

Johann Cohen-Tanugi cohen at lpta.in2p3.fr
Wed Apr 21 09:45:28 EDT 2010


hi Wayne,

I am getting a bit lost in the reorganization of the sts software, and 
several cross-references from sts to scipy seem broken.
Anyway, there is https://www.stsci.edu/trac/ssb/astrolib
and inside you have the package coords, which was claimed to be a large 
port of the IDM astron library parts that deal with astronomical 
coordinates. I am not sure what the status of this is. Anyone on this list?

best,
Johann

On 04/21/2010 05:46 AM, Anne Archibald wrote:
> On 19 April 2010 15:15, Wayne Watson<sierra_mtnview at 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
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
>    



More information about the AstroPy mailing list