[Mne_analysis] synchronized data, different frequencies?

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Mar 14 16:01:33 EDT 2018
Search archives:

you will  have to resample / crop so it matches.

HTH
Alex

On Wed, Mar 14, 2018 at 8:45 PM, arlduc <mit at arlduc.org> wrote:

> 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/sta
> ble/generated/mne.io.Raw.html#mne.io.Raw.resample
> and then you can use raw.add_channels https://marti
> nos.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> 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
>> 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.
>>
>>
>
>
> _______________________________________________
> Mne_analysis mailing listMne_analysis at nmr.mgh.harvard.eduhttps://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 athttp://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/efc22992/attachment-0001.html 


More information about the Mne_analysis mailing list