def _set_window_time(slices, times):
    t_idx_ = [t[-1] for t in slices]
    return times[t_idx_]
Aux function to define time as the last training time point
dataset/ETHPy150Open mne-tools/mne-python/mne/decoding/time_gen.py/_set_window_time