def create_bin_edges(window_start, window_width, window_name):
    """
    create_bin_edges
    returns two lists:
        bin_edges = [(left_0, right_0), ..., (left_N, right_N)]
        bin_ids = [(window_name, 0), ..., (window_name, N)]
    where
        right_i - left_i == window_width

    Parameters
    ----------
    window_start : iterable
        left edge of value window
    window_width : scalar, numeric
        width of windows
    window_name : str
        name of the bins
    """
    bin_edges = []
    bin_ids = []
    for c, s in enumerate(window_start):
        bin_ids.append((window_name, c))
        bin_edges.append((s, s+window_width))
    return bin_edges, bin_ids