[Mne_analysis] Matching trial counts in an oddball task

Sheraz Khan, PhD sheraz at nmr.mgh.harvard.edu
Sun Mar 3 21:20:48 EST 2019
Search archives:

Hi Maryam,

There are multiple approaches to equalize the epoch count across
conditions, please look at the following example


and the API documentation




>         External Email - Use Caution
> Hi all,
> I have designed an oddball visual experiment. So, I have different numbers
> of trials in two conditions (standard vs deviant). For doing the
> time-frequency analysis I have to match the trials counts in each
> condition. In other words, I should sample from the standard condition to
> have an identical number of trials to the deviant condition.  One way
> could
> be sampling randomly from the standard condition which will give me
> different results each time I run the code. I wonder whether there is a
> better way for matching trials count in each condition in time-frequency
> analysis in MNE.
> Regards,
> -Maryam
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

Sheraz Khan, M.Eng, Ph.D.
Instructor in Radiology

Athinoula A. Martinos Center for Biomedical Imaging
Massachusetts General Hospital
Harvard Medical School

McGovern Institute for Brain Research
Massachusetts Institute of Technology

Tel:   +1 617-643-5634
Fax:   +1 617-948-5966
Email: sheraz at nmr.mgh.harvard.edu
       sheraz at mit.edu
Web:   http://sheraz.mit.edu

More information about the Mne_analysis mailing list