From 1aea0a057bde417b181538512006c1dfeccbc16e Mon Sep 17 00:00:00 2001 From: dencheva Date: Thu, 1 May 2014 21:44:37 +0000 Subject: further changes to move to astropy git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31270 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/distortion/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/stwcs/distortion/utils.py') diff --git a/lib/stwcs/distortion/utils.py b/lib/stwcs/distortion/utils.py index 69b24a5..5e0bf79 100644 --- a/lib/stwcs/distortion/utils.py +++ b/lib/stwcs/distortion/utils.py @@ -1,7 +1,6 @@ from __future__ import division # confidence high import os import numpy as np -#import pywcs from astropy import wcs as pywcs from stwcs import wcsutil from numpy import sqrt, arctan2 @@ -24,7 +23,7 @@ def output_wcs(list_of_wcsobj, ref_wcs=None, owcs=None, undistort=True): undistort: boolean (default-True) a flag whether to create an undistorted output WCS """ - fra_dec = np.vstack([w.calcFootprint() for w in list_of_wcsobj]) + fra_dec = np.vstack([w.calc_footprint() for w in list_of_wcsobj]) wcsname = list_of_wcsobj[0].wcs.name # This new algorithm may not be strictly necessary, but it may be more -- cgit