gutils/yo.py
def calculate_delta_depth(interp_data):
    """ Figure out when the interpolated Z data turns a corner
    """
    delta_depth = np.diff(interp_data)
    delta_depth[delta_depth <= 0] = -1
    delta_depth[delta_depth >= 0] = 1
    delta_depth = boxcar_smooth_dataset(delta_depth, 2)
    delta_depth[delta_depth <= 0] = -1
    delta_depth[delta_depth >= 0] = 1
    return delta_depth
 Figure out when the interpolated Z data turns a corner
    
Figure out when the interpolated Z data turns a corner
Figure out when the interpolated Z data turns a corner
def calculate_delta_depth(interp_data):
    delta_depth = np.diff(interp_data)
    delta_depth[delta_depth <= 0] = -1
    delta_depth[delta_depth >= 0] = 1
    delta_depth = boxcar_smooth_dataset(delta_depth, 2)
    delta_depth[delta_depth <= 0] = -1
    delta_depth[delta_depth >= 0] = 1
    return delta_depth
def calculate_delta_depth ( interp_data ) : delta_depth = np . diff ( interp_data ) delta_depth [ delta_depth <= 0 ] = - 1 delta_depth [ delta_depth >= 0 ] = 1 delta_depth = boxcar_smooth_dataset ( delta_depth , 2 ) delta_depth [ delta_depth <= 0 ] = - 1 delta_depth [ delta_depth >= 0 ] = 1 return delta_depth
Figure out when the interpolated Z data turns a corner
Figure out when the interpolated Z data turns a corner
""" Figure out when the interpolated Z data turns a corner
    """
interp_data