summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2009-03-19 10:22:50 -0400
committerhack <hack@stsci.edu>2009-03-19 10:22:50 -0400
commit39238c106e18b47b5f6f9be3352a01743342f59a (patch)
treea2fe703fb4d7f20d538efc65f821f49d77f04302
parent39b69034aa3607cf852ffbe496a04c7236bc962b (diff)
downloadstwcs_hcf-39238c106e18b47b5f6f9be3352a01743342f59a.tar.gz
Correcting 'output_wcs' in updatewcs.distortion to call the new method 'calcFootprint' as a method not an attribute. The new call now works as it was tested under the new MultiDrizzle. WJH
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7780 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r--distortion/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distortion/utils.py b/distortion/utils.py
index 8309eff..03e4a2c 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.calcFootprint for w in list_of_wcsobj])
+ fra_dec = np.vstack([w.calcFootprint() for w in list_of_wcsobj])
delta_fdec = (fra_dec[:,1].max()-fra_dec[:,1].min())
crval2 = fra_dec[:,1].min()+ delta_fdec/2.