[Scipy-svn] r5342 - in trunk/scipy/stsci: . image/lib

scipy-svn@scip... scipy-svn@scip...
Wed Jan 7 08:39:30 CST 2009


Author: chanley
Date: 2009-01-07 08:39:23 -0600 (Wed, 07 Jan 2009)
New Revision: 5342

Modified:
   trunk/scipy/stsci/__init__.py
   trunk/scipy/stsci/image/lib/_image.py
Log:
making stsci modules more scipy friendly

Modified: trunk/scipy/stsci/__init__.py
===================================================================
--- trunk/scipy/stsci/__init__.py	2009-01-07 13:02:05 UTC (rev 5341)
+++ trunk/scipy/stsci/__init__.py	2009-01-07 14:39:23 UTC (rev 5342)
@@ -0,0 +1,8 @@
+import convolve
+import image
+
+__all__ = ['convolve','image']
+
+from numpy.testing import Tester
+test = Tester().test
+

Modified: trunk/scipy/stsci/image/lib/_image.py
===================================================================
--- trunk/scipy/stsci/image/lib/_image.py	2009-01-07 13:02:05 UTC (rev 5341)
+++ trunk/scipy/stsci/image/lib/_image.py	2009-01-07 14:39:23 UTC (rev 5342)
@@ -1,6 +1,6 @@
 import numpy as np
-import scipy.stsci.convolve
-import scipy.stsci.convolve._correlate as _correlate
+import convolve
+import convolve._correlate as _correlate
 
 def _translate(a, dx, dy, output=None, mode="nearest", cval=0.0):
     """_translate does positive sub-pixel shifts using bilinear interpolation."""



More information about the Scipy-svn mailing list