import statistics


def get_window_size(windows):
    """ Returns median window size calculated from difference in 
    neighboring window positions """
    diffs = [abs(e-s) for s, e in zip(windows[0:], windows[1:])]
    median_window = statistics.median(diffs)
    return median_window