def get_step_time_shift(step):
    """Calculates the time shift generated in each filtering step

    Parameters
    ----------
    step: dict
        Dictionary object holding information about a given filter step
    Returns
    -------
    shift: float
        Time shift value
    """
    input_sample_period = step["input_sample_period"]
    numtaps = len(step["window"])
    shift = input_sample_period * ((numtaps - 1) / 2)
    return shift