[Mne_analysis] troubles with mne.io.read_raw_brainvision

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Thu May 25 03:45:47 EDT 2017
Search archives:

hi,

to follow up I created the issue:

https://github.com/mne-tools/mne-python/issues/4283

Alex


On Wed, May 24, 2017 at 4:12 PM, Eric Larson <larson.eric.d at gmail.com> wrote:
> Excellent, thanks for investigating. Can you open a GitHub issue or PR and
> we can iterate there?
>
> On Wed, May 24, 2017 at 10:06 AM, Boris BURLE <boris.burle at univ-amu.fr>
> wrote:
>>
>> Hello,
>>
>> Just an update on Stefania comments.
>>
>> Investigating the issue, it appears that mne.io.read_raw_brainvision is
>> currently not using the information about data orientation in the header
>> (.vhdr) file:
>>
>> DataOrientation=VECTORIZED
>>
>> Apparently, the function assumes that data are multiplexed. It's just a
>> matter of transposing the matrix while reading. I'll try to pinpoint the
>> lines in mne.io.read_raw_brainvision where this should be done.
>>
>>      Best,
>>          B.
>>
>>
>> On 24/05/2017 12:37, Alexandre Gramfort wrote:
>> > hi Stefania,
>> >
>> > can you share the file?
>> >
>> > thanks
>> > Alex
>> >
>> > On Wed, May 24, 2017 at 12:10 PM, Stefania Ficarella <sf.ang at libero.it>
>> > wrote:
>> >> Hello,
>> >> I am using mne.io.read_raw_brainvision to read bipolar EMG and EKG data
>> >> saved as brainvision files (vhdr).
>> >> I have 4 channels: EMGleft,EMGright,EKG and STI 014 with the triggers.
>> >>
>> >> However, when I import the data in MNE python, the first three channels
>> >> are
>> >> not correctly imported.
>> >> They all look like a combination of EMG data, however they do not
>> >> correspond
>> >> to the original data, particularly even the third channel is not at all
>> >> EKG.
>> >> You can see attached to the email the images with a portion of imported
>> >> data
>> >> from the three channels.
>> >>
>> >> Is it possible that the function is using a reference by default? I
>> >> don't
>> >> see this option in the function.
>> >> This is how I am using the function:
>> >>
>> >> emg = mne.io.read_raw_brainvision(emgFname,montage=None,
>> >> misc='auto',scale=1.0,preload=True, verbose=True)
>> >>
>> >> I don't get any error. But the data are not correctly imported.
>> >> Any ideas?
>> >>
>> >> Many thanks,
>> >> Stefania
>> >>
>> >> Stefania Ficarella, Ph.D.
>> >> Laboratoire de Neurosciences Cognitives (LNC)
>> >> Centre National de la Recherche Scientifique (CNRS)
>> >> Aix-Marseille Université
>> >> Site Saint Charles
>> >> 3, Place Victor Hugo
>> >> 13331 Marseille (France)
>> >>
>> >> _______________________________________________
>> >> 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 list
>> > Mne_analysis at nmr.mgh.harvard.edu
>> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>>
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
>
> _______________________________________________
> 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.
>



More information about the Mne_analysis mailing list