<div dir="ltr"><div>Hi all,</div><div><br></div><div>I have raw MEG data that contains responses to four different conditions, 120 responses to each condition. The epochs of certain condition can be extracted by giving event_id as an argument to mne.Epochs. However, I would need a file containing a subset of 40 epochs per condition (i.e. 160 epochs in total). The epochs should be selected randomly. I wonder if there is some way to do this with mne Python?</div><div><br></div><div>Thank you very much,</div><div>Maria</div></div>