<div dir="ltr"><div><div>Hi all,<br></div>I'm wondering if there'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's xplotter tool, I just see a list like <br>(1) date and time> Unknown>average<br>(2)date and time >Unknown>average<div><div><div><br></div><div>When we had done this before in matlab, we edited the structure field for "comment," like so:<br></div><div>descriptor.evoked.comment = cond_descr{'a meaningful label'}<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) + '_epochs'] = mne.Epochs(params...)<br> evoked[str(condition) + '_evoked']= epochs[str(condition) + '_epochs'].average()<br> evoked_list.append(evoked[str(condition) + '_evoked'])<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>