[Mne_analysis] Amplitude of interpolated channels very small

Christian Kiefer ch.kiefer at fz-juelich.de
Tue May 8 10:29:42 EDT 2018
Search archives:

        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 <mailto: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
>     <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
>     <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/20180508/2d88f0f8/attachment-0001.html 


More information about the Mne_analysis mailing list