def insert_bank_bins_option_group(parser):
    """ Add options to the optparser object for selecting templates in bins.

    Parameters
    -----------
    parser : object
        OptionParser instance.
    """
    bins_group = parser.add_argument_group(
        'Options for selecting templates in bins.')
    bins_group.add_argument('--bank-bins', nargs='+', default=None, help=
        "Ordered list of mass bin upper boundaries. An ordered list of type-boundary pairs, applied sequentially. Must provide a name (can be any unique string for tagging purposes), the parameter to bin on, and the membership condition via 'lt' / 'gt' operators. Ex. name1:component:lt2 name2:total:lt15"
        )
    bins_group.add_argument('--bank-file', default=None, help=
        'HDF format template bank file.')
    bins_group.add_argument('--f-lower', default=None, help=
        'Low frequency cutoff in Hz.')
    return bins_group
