[Mne_analysis] synchronized data, different frequencies?

arlduc mit at arlduc.org
Wed Mar 14 15:45:00 EDT 2018
Search archives:

Hi Alex and MNE list,

It turns out there are some small irregularities in the frequency of our 
EOG data, so when we try to add the EOG channel to the EEG, we're 
getting the error
"All dimensions in channels must match."
Is there a workaround for this?

Thanks,
Arlene Ducao


On 3/5/18 3:33 PM, Alexandre Gramfort wrote:
> Hi,
>
> yes create 2 Raw object than resample the EOG one to 512Hz
> with raw.resample : 
> https://martinos.org/mne/stable/generated/mne.io.Raw.html#mne.io.Raw.resample 
> <https://martinos.org/mne/stable/generated/mne.io.Raw.html#mne.io.Raw.resample>
> and then you can use raw.add_channels 
> https://martinos.org/mne/dev/generated/mne.io.Raw.html#mne.io.Raw.add_channels 
> <https://martinos.org/mne/dev/generated/mne.io.Raw.html#mne.io.Raw.add_channels>
>
> let us know if it does not work
>
> HTH
> Alex
>
> On Mon, Mar 5, 2018 at 9:24 PM, arlduc <mit at arlduc.org 
> <mailto:mit at arlduc.org>> wrote:
>
>     Hello,
>
>     I am preparing an MNE dataset from scratch. My data contains EEG
>     channels sampled at 512 Hz, and EOG channels sampled at 1 Hz. I'm not
>     sure how to synchronize this data within one Raw object. Is there
>     a way
>     to do this? Or should I store the EEG in one Raw object, and the EOG
>     data in another Raw object?
>
>     Thanks,
>     Arlene Ducao
>     _______________________________________________
>     Mne_analysis mailing list
>     Mne_analysis at nmr.mgh.harvard.edu
>     <mailto:Mne_analysis at nmr.mgh.harvard.edu>
>     https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>     <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
>     <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.
>
>
>
>
> _______________________________________________
> 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/20180314/950fda16/attachment.html 


More information about the Mne_analysis mailing list