Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use absolute import in imaffine, imwarp, metrics #975
Refer to issue #969
/dipy/dipy/align/imaffine.py: 46 import numpy.linalg as npl 47 import scipy.ndimage as ndimage 48: from ..core.optimize import Optimizer 49: from ..core.optimize import SCIPY_LESS_0_12 50: from . import vector_fields as vf 51: from . import VerbosityLevels 52: from .parzenhist import (ParzenJointHistogram, 53 sample_domain_regular, 54 compute_parzen_mi) 55: from .imwarp import (get_direction_and_spacings, ScaleSpace) 56: from .scalespace import IsotropicScaleSpace 57 from warnings import warn 58 /dipy/dipy/align/imwarp.py: 8 import scipy as sp 9 import nibabel as nib 10: from . import vector_fields as vfu 11: from . import floating 12: from . import VerbosityLevels 13: from . import Bunch 14: from .scalespace import ScaleSpace /dipy/dipy/align/metrics.py: 6 import scipy as sp 7 from scipy import gradient, ndimage 8: from ..utils.six import with_metaclass 9: from . import vector_fields as vfu 10: from . import sumsqdiff as ssd 11: from . import crosscorr as cc 12: from . import expectmax as em 13: from . import floating
I am discussing with dipy developers and will open separate issues for all the cases.