def METHOD_NAME(sw_time, time_cutoff):
    """
    Allows for cutting the declustering time window at a specific time, outside
    of which an event of any magnitude is no longer identified as a cluster
    """
    sw_time = np.array(
        [(time_cutoff / DAYS) if x > (time_cutoff / DAYS)
            else x for x in sw_time])
    return(sw_time)