shift_methods.py
def shift_image(image,xshift,yshift):
    '''
    shift_image
    -------------
    wrapper for scipy's implementation that shifts images according to values from cross_image
    
    inputs
    ------------
    image           : (matrix of floats) image to be shifted
    xshift          : (float) x-shift in pixels
    yshift          : (float) y-shift in pixels
    
    outputs
    ------------
    shifted image   : shifted, interpolated image. 
                      same shape as input image, with zeros filled where the image is rolled over
    
    
    '''
    return scipy.ndimage.interpolation.shift(image,(xshift,yshift))

    shift_image
    -------------
    wrapper for scipy's implementation that shifts images according to values from cross_image
    
    inputs
    ------------
    image           : (matrix of floats) image to be shifted
    xshift          : (float) x-shift in pixels
    yshift          : (float) y-shift in pixels
    
    outputs
    ------------
    shifted image   : shifted, interpolated image. 
                      same shape as input image, with zeros filled where the image is rolled over
    
    
    
shift_image
wrapper for scipy's implementation that shifts images according to values from cross_image

inputs

image           : (matrix of floats) image to be shifted
xshift          : (float) x-shift in pixels
yshift          : (float) y-shift in pixels

outputs

shifted image   : shifted, interpolated image.
same shape as input image, with zeros filled where the image is rolled over
shift_image wrapper for scipy ' s implementation that shifts images according to values from cross_image inputs image : ( matrix of floats ) image to be shifted xshift : ( float ) x - shift in pixels yshift : ( float ) y - shift in pixels outputs shifted image : shifted interpolated image . same shape as input image with zeros filled where the image is rolled over
def shift_image(image,xshift,yshift):
    return scipy.ndimage.interpolation.shift(image,(xshift,yshift))
def shift_image ( image , xshift , yshift ) : return scipy . ndimage . interpolation . shift ( image , ( xshift , yshift ) )
shift_image
wrapper for scipy's implementation that shifts images according to values from cross_image
shift_image wrapper for scipy ' s implementation that shifts images according to values from cross_image
'''
    shift_image
    -------------
    wrapper for scipy's implementation that shifts images according to values from cross_image
    
    inputs
    ------------
    image           : (matrix of floats) image to be shifted
    xshift          : (float) x-shift in pixels
    yshift          : (float) y-shift in pixels
    
    outputs
    ------------
    shifted image   : shifted, interpolated image. 
                      same shape as input image, with zeros filled where the image is rolled over
    
    
    '''
image
xshift
yshift