[Mne_analysis] block parameter in epoch_plot doesn't work as intended

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Thu Feb 18 05:12:58 EST 2016
Search archives:

hi Lau,

can you post an issue on github so we keep track of the potential bug
and its solution?

thx
Alex

On Thu, Feb 18, 2016 at 11:09 AM, Lau Møller Andersen
<lau.andersen at cnru.dk> wrote:
> Dear Developers
>
> The block argument in plot_epochs doesn't work as intended. It keeps
> evaluating the code, and thus, in this particular code (see below), the
> saved output is the same as the input. I am using mne version 0.11.0 and
> running from Spyder in an Anaconda-environment.
>
> Best
>
> Lau
>
> #==============================================================================
> # MANUALLY CLEAN EPOCHS
> #==============================================================================
> epochses = []
>
> for i in range(len(positions)):
>      input_file = './3_epochs/' + positions[i] + '_eog_auto_cleaned-epo.fif'
>      epochs = mne.read_epochs(input_file)
>      mne.epochs.plot_epochs(epochs, picks=[0], block=True) ## only MISC010
>      epochses.append(epochs)
>      output_file = './4_cleaned_epochs/' + positions[i] + \
>                  '_manually_cleaned-epo.fif'
>      epochs.save(output_file)
> _______________________________________________
> 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