<div dir="ltr">For each of your Evoked instances, what is `Evoked.comment`? I suspect it is &quot;Unknown&quot;. You can set this to any string you&#39;d like.<div><br></div><div>We could/should probably also make it give a better comment by default.<br><div><br></div><div>Eric</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 22, 2017 at 5:19 PM, Megan Schendel <span dir="ltr">&lt;<a href="mailto:mschendel@mrn.org" target="_blank">mschendel@mrn.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi all,<br></div>I&#39;m wondering if there&#39;s a way to keep my labeling for different evokeds when I use the write_evokeds module.<br> <br></div>If I open the ave.fif file in Neuromag&#39;s xplotter tool, I just see a list like <br>(1) date and time&gt; Unknown&gt;average<br>(2)date and time &gt;Unknown&gt;average<div><div><div><br></div><div>When we had done this before in matlab, we edited the structure field for &quot;comment,&quot; like so:<br></div><div>descriptor.evoked.comment = cond_descr{&#39;a meaningful label&#39;}<br></div><div></div><div><br></div><div>FYI, I have my evokeds built in a conditions list loop, where the actual evokeds are stored as keys in a dictionary. <br>Something like this:<br><br></div><div>for condition in conditions:<br>    epochs[str(condition) + &#39;_epochs&#39;] = mne.Epochs(params...)<br>    evoked[str(condition) + &#39;_evoked&#39;]= epochs[str(condition) + &#39;_epochs&#39;].average()<br>    evoked_list.append(evoked[str(<wbr>condition) + &#39;_evoked&#39;])<br><br></div><div>mne.write_evokeds(fname_<wbr>evoked, evoked_list)<br><br></div><div>Thanks!<br></div><div>Megan<br></div><div><br clear="all"><div><div class="m_-7559281252197903512gmail_signature">MEG Technician<br>The Mind Research Network<br>1101 Yale Blvd. NE<br>Albuquerque, New Mexico 87106<br><a href="tel:(505)%20272-3304" value="+15052723304" target="_blank">505-272-3304</a><br><br></div></div>
</div></div></div></div>
<br>______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>