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

Lau Møller Andersen lau.andersen at cnru.dk
Thu Feb 18 05:19:47 EST 2016
Search archives:

Hi Alex

I believe to have done so now (first time I did it)

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

Best

Lau

Den 2016-02-18 kl. 11:12, skrev Alexandre Gramfort:
> 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.
>>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list