summaryrefslogtreecommitdiff
path: root/wcsutil/mappings.py
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2011-02-22 15:09:16 -0500
committerhack <hack@stsci.edu>2011-02-22 15:09:16 -0500
commit4a4d91c3b385424a717a0b0ab3c4a4efc3901b14 (patch)
tree6a84c5550cb4b10fbe7b6ea5628de42b49a576c2 /wcsutil/mappings.py
parentb8f9a0e94827955eb44f96166d2c75ab71a47054 (diff)
downloadstwcs_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