def gencandranges(candcollection):
    """ Given a candcollection, define a list of candidate time ranges.
    """
    segment = candcollection.segment
    st = candcollection.state
    return [(st.segmenttimes[segment][0], st.segmenttimes[segment][1])]
