[SciPy-user] Problem with AstroLib - coords-0.2

Stefan van der Walt stefan at sun.ac.za
Thu Jul 13 06:11:39 EDT 2006


Hi Tara

On Thu, Jul 13, 2006 at 11:25:24AM +1000, Tara Murphy wrote:
> I've just started playing around with coords-0.2 and am having a problem 
> reproducing the example shown on the wiki:
> 
> http://www.scipy.org/AstroLibCoordsSnapshot
> 
> I am using Python2.4 and I've pasted my session below. When I try ob.dd() 
> and ob.j2000() the answers are not the same:
> 
> >>> import coords as C
> >>> ob=C.Position('12:34:45.34 -23:42:32.6')
> >>> ob.hmsdms()
> '12:34:45.340 -23:42:32.600'
> >>> ob.dd()
> (188.68891666666667, -23.709055555555555)
> >>> ob.j2000()
> (-171.31108333333333, -23.709055555555555)
> 
> 
> Is this something I'm misinterpreting, or is it a bug?

I see the same results on my machine, so I don't think you are doing
anything wrong.  However, this package isn't part of scipy, and your
question looks to be of a field-specific nature, so it will be better
answered by the authors of coords themselves (some of them might be on
this list).

Best way to draw their attention is probably to file a ticket at

http://projects.scipy.org/astropy/astrolib/wiki/WikiStart

Regards
Stéfan



More information about the SciPy-User mailing list