[Mne_analysis] Amplitude of interpolated channels very small

Alexandre Gramfort alexandre.gramfort at inria.fr
Sun May 13 05:54:55 EDT 2018
Search archives:

        External Email - Use Caution        

hi Christian,

can you open an issue here:

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

so we can follow up on this?

provide as much details as possible (code snippet, figure, data)

thanks
Alex


On Tue, May 8, 2018 at 4:29 PM, Christian Kiefer
<ch.kiefer at fz-juelich.de> wrote:
>         External Email - Use Caution
>
> Hi,
>
> I used visual inspection to mark the bad channels. Basically it came down
> to:
>
> # load raw data
> import mne
> raw_fname = '/path/to/file'
> raw = mne.io.Raw(raw_fname, preload=True)
> # mark bads
> raw.plot(block=True)
> raw.interpolate_bads(reset_bads=True)
>
> Hope that helps!
>
> Christian
>
>
> On 08.05.18 15:09, Mainak Jas wrote:
>
>         External Email - Use Caution
>
> Hi,
>
> Can you also share a script to demonstrate the problem?
>
> Thanks
>
> Mainak
>
> On Tue, May 8, 2018 at 9:21 AM, Christian Kiefer <ch.kiefer at fz-juelich.de>
> wrote:
>>
>>         External Email - Use Caution
>>
>> Hello everyone,
>>
>> most of the time interpolate_bads() works well but I have some data sets
>> where the amplitude of the interpolated channels is significantly
>> smaller than the amplitudes of the surrounding channels.
>>
>> In the following Dropbox link are two examples of data sets before
>> interpolation and after interpolation (marked with 'bcc' in the
>> filename). Channels 7, 10, 142, and 156 are dead in the original data
>> sets. After interpolation, the channels still appear to be dead/ flat
>> when plotting the data, however, looking at the raw data for these
>> channels we can see that the values are now different from zero. Redoing
>> the interpolation yields the same result.
>>
>> https://www.dropbox.com/sh/11rjc45bbg2b38m/AACUW6rtZKcJKitEMfbMIKVqa?dl=0
>>
>> Why does the interpolation work for some data sets and not for others?
>>
>> Best,
>>
>> Christian Kiefer
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>>
>> ------------------------------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> 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
>
>
> 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
>
>
> 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