[Mne_analysis] Combine epoched ave fif files?

Alan alan.leggitt at ucsf.edu
Thu Nov 7 17:01:29 EST 2013
Search archives:

Hi Linda,

One workaround you can use in MNE-Python is to combine all the raw
instances using
raw.append()<http://martinos.org/mne/generated/mne.fiff.Raw.html#mne.fiff.Raw.append>and
all of the event instances using
mne.concatenate_events()<http://martinos.org/mne/generated/mne.concatenate_events.html#mne.concatenate_events>
,
and then perform epoching on the combined data.

Hope this helps.

Alan


On Thu, Nov 7, 2013 at 1:57 PM, Linda Moya <lhmoya at cmu.edu> wrote:

> Dear MNE community,
>
> I've collected data for a given subject across 6 runs, which after
> pre-processing, result in 6 separate *.fif files. I can extract the events
> of interest, epoched and averaged separate conditions using
> mne_process_raw and the offline averaging mechanism. This results in 6
> separate epoched data .fif files. I can view these atop of each other in
> mne_browse_raw.
>
> A) What I really want to do is to epoch and average the 6 input *.fif
> files into ONE output *.fif file for each condition. So that instead of
> say 6 epoched fif files with N=20 averages for a condition, I have one
> epoched fif file with N=6*20 averages for that condition.
>
> B) Alternatively I can read the 6 averaged epoch files into matlab, and
> combine them there, so that I have this information in one structure in
> matlab. But then I would like to convert that structure back into a fif
> file that contains the average of all trials for a given condition for a
> given subject.
>
> Can I do either A) or B) above. Thank you very much for any help you can
> provide.
>
> Best Regards,
>
> Linda Moya
>
>
>
>
> --
> Linda Moya, Ph.D.
> Electrical and Computer Engineering
> Center for the Neural Basis of Cognition
> Carnegie Mellon University and University of Pittsburgh
> http://www.andrew.cmu.edu/user/lhmoya/
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20131107/c404ba6f/attachment.html 


More information about the Mne_analysis mailing list