summaryrefslogtreecommitdiff
path: root/distortion/utils.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2009-03-18 11:50:53 -0400
committerdencheva <dencheva@stsci.edu>2009-03-18 11:50:53 -0400
commit887e88bcfdd124faa031f259ce6f11f71590d231 (patch)
tree12634d8ad85f8c194674304302a1734eec8976c2 /distortion/utils.py
parent0bc834376d0e7cb66c1b7f5e27d14402b84235d9 (diff)
downloadstwcs_hcf-887e88bcfdd124faa031f259ce6f11f71590d231.tar.gz
Footprint is not an attribute of the WCS class - pywcs change 874
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7771 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'distortion/utils.py')
-rw-r--r--distortion/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distortion/utils.py b/distortion/utils.py
index d2bb0a9..6051222 100644
--- a/distortion/utils.py
+++ b/distortion/utils.py
@@ -5,7 +5,7 @@ from updatewcs import wcsutil
from numpy import sqrt, arctan2
def output_wcs(list_of_wcsobj, ref_wcs=None, outwcs=None):
- fra_dec = np.vstack([w.footprint for w in list_of_wcsobj])
+ fra_dec = np.vstack([w.calculateFootprint for w in list_of_wcsobj])
delta_fdec = (fra_dec[:,1].max()-fra_dec[:,1].min())
crval2 = fra_dec[:,1].min()+ delta_fdec/2.