diff options
author | dencheva <dencheva@stsci.edu> | 2009-03-18 11:50:53 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-03-18 11:50:53 -0400 |
commit | 887e88bcfdd124faa031f259ce6f11f71590d231 (patch) | |
tree | 12634d8ad85f8c194674304302a1734eec8976c2 /distortion/utils.py | |
parent | 0bc834376d0e7cb66c1b7f5e27d14402b84235d9 (diff) | |
download | stwcs_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.py | 2 |
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. |