[AstroPy] Parameter 'origin' in WCS-methods

Michael Droettboom mdroe@stsci....
Fri May 8 07:48:34 CDT 2009


The distortion table lookup is non-invertible (without doing some sort 
of iterative approximation) -- so that's unimplemented.  There are some 
good examples in Paper IV as to why it isn't really possible in a 
general sense -- but it may be reasonable assuming that the lookup table 
fits certain characteristics. 

SIP is only invertible if a set of inverted coefficients is provided in 
the header, which we support but don't require. 

So it's more "difficult" than "impossible" -- it just isn't something 
we've had an immediate need for here (which is primarily within the new 
version of MultiDrizzle).

Mike

Martin Kuemmel wrote:
> Thanks for explaining the 'origin'. Actually I had read
> these pages, but not carefully enough, obviously
>
> Next question:
> There is the method 'all_pix2sky(origin, *args)' to get sky coordinates,
> which includes "everything" (SIP, distortion, wcslib). There is no
> method 'all_sky2pix(origin, *args)'.
> Is it planned to have to implement this? Or is it difficult/impossible?
>
> Cheers,
> Martin
>

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA



More information about the AstroPy mailing list