Epoch EEG without tmax

Hi, I have 1000Hz EEG, what I want to do is to epoch it without the point of tmax. For example, if I set tmin=0, tmax=1, then I should get a 1000 points data, not 1001, how could I do this?

Maybe try setting tmax to 1 - 1 / info[‘sfreq’] (not tested)

1 Like

It works well. Thank you for your help!

1 Like