Browse files

Moved core/ to utils/ as it was screwing up some names…

…pace stuff. Moved cubic interpolation module to utils.
  • Loading branch information...
1 parent 89b2650 commit b42059183591dcd873bd663a76f667f4041ef55c @kiyo-masui committed Jan 26, 2012
@@ -59,14 +59,14 @@
import sys
import warnings
from functools import wraps
+import operator
import scipy as sp
import numpy as np
import numpy.lib.format as npfor
from numpy.lib.utils import safe_eval
-import operator
-import cubic_conv_interpolation as cci
+import utils.cubic_conv_interpolation as cci
# when submitted as batch on Sunnyvale, the PYTHONPATH seems to get clobbered
@@ -850,7 +850,7 @@ def slice_interpolate(self, axes, coord, kind='linear') :
# Get the nodes needed and their weights.
out = cci.interpolate(axes, self, pnt, x0, step_sizes)
- # Get the contributing points and their wiehgts.
+ # Get the contributing points and their weights.
points, weights = self.slice_interpolate_weights(axes, coord, kind)
# Sum up the points
q = points.shape[0]
@@ -4,7 +4,7 @@
import as ma
import kiyopy.custom_exceptions as ce
-import utils
+import utils.misc as utils
from hist import History, merge_histories
class BaseData(object) :
Oops, something went wrong.

0 comments on commit b420591

Please sign in to comment.