def getSegsIgnore(oracleSplitSegs, collars):
    """
    This function returns a list of the segment times to ignore based on the input collar sizes.  Note that
    each collar defined as a start collar size and an end collar size, though both can be the same.

    Inputs:
    - oracleSplitSegs: ground truth segments all iterations have reduced it to non-overlapping segments with a
                       constant number of speakers in each segment 
    - collars: list of start collar sizes and end collar sizes in seconds, form "[0.25, 0.25]"

    Outputs:
    - segsIgnore: the list of segment times to ignore, form: "[[1270.14, 1270.64], [1274.63, 1275.88], ...]"
    """
    segsIgnore = []
    for index, collar in enumerate(collars):
        segsIgnore.append([])
        for row in oracleSplitSegs:
            segsIgnore[index].append([row['tbeg'] - collar[0], row['tbeg'] + collar[1]])
            segsIgnore[index].append([row['tend'] - collar[0], row['tend'] + collar[1]])
    return segsIgnore