epochs = mne.Epochs(raw, events, tmin=-0.5, tmax=25, event_id=event_dict, preload=True) what is the exact meaning of this code

104 Views Asked by At

epochs = mne.Epochs(raw, events, tmin=-0.5, tmax=25, event_id=event_dict, preload=True)what is the exact meaning of this code in mne library. what if I change the value of tmin. and tmax

about a line of code of mne library I.e. epochs = mne.Epochs(raw, events, tmin=-0.5, tmax=25, event_id=event_dict, preload=True)

1

There are 1 best solutions below

0
madiha Rehman On

The line is making fixed time windows around your events/stimuli. The time window you have created is to include -0.5 sec, before the onset of stimuli, and 25 second after. You can change this time according to your specific requirements. The default is tmin -0.5 and tmax = 0.5.