[AstroPy] Determining when world and pixel axes are independent

Phil Hodge hodge at stsci.edu
Mon Jan 13 14:56:10 EST 2014


Tom,

On 01/13/2014 02:46 PM, Thomas Robitaille wrote:
> Just to clarify, I think we are agreeing here - I mentioned:
>
> "- check that the projection for that axis is not a spherical
> projection, unless it's -CAR in which case it's also fine"
>
> In the example you and Phil gave, if the non-diagonal elements are
> zero but the projection is TAN, this violates the rule above. My point
> was that if any of the the diagonal elements are non-zero, or if the
> projection is one of the projections of a sphere, i.e. any projections
> from paper 2, (except CAR), then this means the axes are coupled, but
> should one be ok if all non-diagonal elements are zero*and*  the
> projection is CAR or a projection that is not one of the spherical
> projections (but could be e.g. a spectral projection convention). Is
> this correct?

Well, the Mercator projection should be OK, as spherical projections go, 
and there are others.  But if there are distortions in addition to any 
projection, that would make it pretty hard to determine whether the axes 
were independent just by looking at the WCS attributes.

Phil



More information about the AstroPy mailing list