From 39238c106e18b47b5f6f9be3352a01743342f59a Mon Sep 17 00:00:00 2001 From: hack Date: Thu, 19 Mar 2009 14:22:50 +0000 Subject: 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 --- distortion/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'distortion/utils.py') 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. -- cgit