<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(condition) + &#39;_evoked&#39;])<br><br></div><div>mne.write_evokeds(fname_evoked, evoked_list)<br><br></div><div>Thanks!<br></div><div>Megan<br></div><div><br clear="all"><div><div class="gmail_signature">MEG Technician<br>The Mind Research Network<br>1101 Yale Blvd. NE<br>Albuquerque, New Mexico 87106<br>505-272-3304<br><br></div></div>
</div></div></div></div>