[AstroPy] API question: Instantiating of time/coord and similar

David Berry d.berry at jach.hawaii.edu
Thu May 3 16:19:32 EDT 2012


On 3 May 2012 21:16, David Berry <d.berry at jach.hawaii.edu> wrote:

> frame_1 = new skyframe( system=FK4, equinox=1950, epoch=1967.34)
> frame_2 = new skyframe( system=galactic )
> mapping = frame_1.convert_to( frame_2 )
> (l,b) = mapping.transform( 200, 20 )
>
> Strictly, the "epoch" value could be omitted since it defaults to 1950
> for FK4.

Doh! Obvious mistake - I meant "equinox" not "epoch"...

David



More information about the AstroPy mailing list