diff options
author | mcara <mcara@stsci.edu> | 2014-04-23 03:32:20 -0400 |
---|---|---|
committer | mcara <mcara@stsci.edu> | 2014-04-23 03:32:20 -0400 |
commit | 4ad0230ab97c9589122e7cfbea5f585b51c13830 (patch) | |
tree | 1e0267a8dd4f545b77507a17d0bc6636bff0b2db /lib/stwcs/distortion/utils.py | |
parent | 100ab0911e4a9ba24d232d631d0a0a6b0edc309b (diff) | |
download | stwcs_hcf-4ad0230ab97c9589122e7cfbea5f585b51c13830.tar.gz |
This revision improves upon changes made to the `all_sky2pix` in r31122 and r31123 that address issues described in ticket #1121 and ticket #1122, by implementing a more robust handling of the divergent solutions. The new parameter `detect_divergence` will allow to detect divergent solutions at each iteration. Now, even if `adaptive` is set to `False`, assuming `detect_divergence` is `True`, when divergent solutions are detected `all_sky2pix` will automatically switch from the highly efficient fully vectorized algorithm to a less efficient (~30%) (still vectorized) but adaptive algorithm.
Updated comments and examples to `all_sky2pix` to reflect the changes.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31125 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/distortion/utils.py')
0 files changed, 0 insertions, 0 deletions