[AstroPy] great circle?

Tom Aldcroft aldcroft@head.cfa.harvard....
Wed Mar 13 16:11:40 CDT 2013


On Wed, Mar 13, 2013 at 4:53 PM, Abhijith Rajan <abhijithrajan@asu.edu> wrote:
> Hi,
>
> Just wondering if there is a convenient python module to compute the great
> circle distance similar to gcirc.pro in IDL?

Yes, use the separation() method in astropy.coordinates:

  http://docs.astropy.org/en/v0.2/coordinates/separations.html

Cheers,
Tom


>
> Thanks
> Abhi
>
> p.s: I realize its only ~10 lines of code and I plan to implement it for my
> immediate needs.
>
> _______________________________________________
> AstroPy mailing list
> AstroPy@scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>


More information about the AstroPy mailing list