[Mne_analysis] block parameter in epoch_plot doesn't work as intended
Christopher Bailey
cjb at cfin.au.dk
Thu Feb 18 05:27:22 EST 2016
@ualsbombe ? :)
FYI gå ind og Edit din Issue-beskrivelse og set 3x l'accents graves før og efter kodelinjerne, like so
```
#==============================================================================
# MANUALLY CLEAN EPOCHS
#==============================================================================
for i in range(len(positions)):
input_file = './3_epochs/' + positions[i] + '_eog_auto_cleaned-epo.fif’
…
```
Så ser det smukt ud ;)
> On 18 Feb 2016, at 11:19, Lau Møller Andersen <lau.andersen at cnru.dk> wrote:
>
> 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
>
> _______________________________________________
> 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