diff options
author | hack <hack@stsci.edu> | 2011-02-22 15:09:16 -0500 |
---|---|---|
committer | hack <hack@stsci.edu> | 2011-02-22 15:09:16 -0500 |
commit | 4a4d91c3b385424a717a0b0ab3c4a4efc3901b14 (patch) | |
tree | 6a84c5550cb4b10fbe7b6ea5628de42b49a576c2 /wcsutil/mappings.py | |
parent | b8f9a0e94827955eb44f96166d2c75ab71a47054 (diff) | |
download | stwcs_hcf-4a4d91c3b385424a717a0b0ab3c4a4efc3901b14.tar.gz |
Made the new 'all_sky2pix()' method in HSTWCS dramatically faster, by performing the fit in the linear pixel space rather than in decimal degrees on the sky. This allows the method to use a simple (limited) for loop for the iterations instead of a potentially infinite while loop, while generally requiring much fewer than 10 iterations as opposed to over 350 for the fit on the sky. The added complication, though, is that this method now relies on a linear WCS derived using the 'utils.output_wcs()' function.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12004 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/mappings.py')
0 files changed, 0 insertions, 0 deletions