<div dir="ltr"><div class="gmail_default" style="color:rgb(51,51,153)">Hello Laura, a few thoughts below, hoping everyone is having a blast at NE.Best wishes.</div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div><div class="gmail_default" style="color:rgb(51,51,153)">In general please try to make sure you are using the latest version of eeglab, version 13 </div><div class="gmail_default" style=""><font color="#333399"><a href="http://sccn.ucsd.edu/eeglab/downloadtoolbox.html">http://sccn.ucsd.edu/eeglab/downloadtoolbox.html</a></font><br></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399">I don't think all single-subject single-file functions are enabled for eeglab when in study mode, </font></div><div class="gmail_default" style=""><font color="#333399">but I may be wrong. Please take a look if you haven't through the extensive STUDY documentation in the online eeglab wiki.</font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399">Here's a matlab codelet below that should help you to rereference any files you have, as long as they loaded into memory.</font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399">%first load all the files you want re-referenced into memory or load the study that has them</font></div><div class="gmail_default" style=""><font color="#333399">%make sure one file currently active, not the whole study</font></div><div class="gmail_default" style=""><font color="#333399">%the code below will loop through each loaded file , re-reference, changes filename, save it to disk, and leave it in memory</font></div><div class="gmail_default" style=""><font color="#333399">%after re-referencing it would like be best to rebuild your study with the new files and/or recompute your study metrics.</font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><span style="color:rgb(51,51,153)">for numberofcurrentfile = 1:length(ALLEEG) </span><br></div><div class="gmail_default" style=""><font color="#333399"><div class="gmail_default">[ALLEEG EEG CURRENTSET] = pop_newset(ALLEEG, EEG, CURRENTSET,'retrieve',numberofcurrentfile,'study',0);<br></div><div class="gmail_default">[ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, CURRENTSET);  <br></div><div class="gmail_default">howmanychannels =EEG.nbchan; % determines current channel number <br></div></font><font color="#333399"><div class="gmail_default"><div class="gmail_default">EEG = pop_reref( EEG, 1: howmanychannels, 'keepref', 'on' );</div><div class="gmail_default">[ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, CURRENTSET );<br></div><div class="gmail_default">newfilename = [ EEG.filename(1:end-4) '_reref'];</div><div class="gmail_default"><div class="gmail_default">EEG = pop_saveset( EEG,'filename',  EEG.filename,'filepath', EEG.filepath );</div><div class="gmail_default">[ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, CURRENTSET);  eeglab redraw</div><div class="gmail_default">end</div></div><div><br></div></div></font></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style=""><font color="#333399"><div class="gmail_default">       </div></font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style=""><font color="#333399"><br></font></div><div class="gmail_default" style="color:rgb(51,51,153)"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 7:28 PM, Laura Dubreuil Vall <span dir="ltr"><<a href="mailto:laura.dubreuil@neuroelectrics.com" target="_blank">laura.dubreuil@neuroelectrics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>I am trying to re-reference multiple datasets from a STUDY, but apparently EEGlab only allows me to re-reference one dataset at a time (not all of them at the same time). However, the EEGlab tutorial it says:</div><div><br></div><div><span style="font-family:sans-serif;font-size:12.7px;line-height:19.05px;background-color:rgb(255,255,255)">"EEGLAB functions available through the EEGLAB menu that can process multiple datasets can be seen in the </span><font color="brown" style="font-family:sans-serif;font-size:12.7px;line-height:19.05px;background-color:rgb(255,255,255)">Tools</font><span style="font-family:sans-serif;font-size:12.7px;line-height:19.05px;background-color:rgb(255,255,255)"> menu. When there are multiple current datasets, menu items unable to process multiple datasets are disabled. Currently (v6.x-), functions that can process multiple datasets include functions that resample the data, filter the data, <b>re-reference</b> the data, remove channel baselines, and run ICA."</span></div><div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)">While I have multiple datasets selected (and all of them have the same channel locations), the Re-reference options under Tools menu is disabled. Am I doing something wrong?</span></font></div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)">Apologies if this has been previously asked; I couldn’t find it in the previous threads.</span></font></div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)">Thank you very much in advance,</span></font></div><div><font face="sans-serif" size="2"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="margin:0px"><div style="font-family:Helvetica;font-weight:normal"><span style="color:rgb(103,103,103);font-family:Verdana"><font size="2">Laura Dubreuil Vall</font></span></div><div style="font-family:Helvetica;font-weight:normal"><font color="#676767" face="Verdana" size="1">Technical Manager</font></div><div><div style="font-weight:normal;margin:0px;font-family:Helvetica"><b style="color:rgb(103,103,103);font-family:Verdana"></b><div style="word-wrap:break-word"><b style="color:rgb(103,103,103);font-family:Verdana"></b><div style="word-wrap:break-word"><b style="color:rgb(103,103,103);font-family:Verdana"><span style="border-collapse:separate;border-spacing:0px"><div style="font-family:Helvetica;font-weight:normal;margin:0px"><font face="Verdana" size="2"><span style="font-size:10px"><b>e-mail:</b></span></font><font face="Verdana" size="2"><span style="font-size:10px"> </span></font><a href="mailto:laura.dubreuil@neuroelectrics.com" style="text-align:-webkit-auto" target="_blank">laura.dubreuil@neuroelectrics.com</a></div></span></b><div style="margin:0px"><b style="color:rgb(103,103,103);font-family:Verdana"><b></b></b><div style="word-wrap:break-word"><b style="color:rgb(103,103,103);font-family:Verdana"><b></b></b><div style="word-wrap:break-word"><b style="color:rgb(103,103,103);font-family:Verdana"><b></b></b><div style="margin:0px"><b style="color:rgb(103,103,103);font-family:Verdana"><b><b><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="margin:0px"><b style="text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="margin:0px;display:inline!important"><b><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><b><span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-weight:normal;font-family:Helvetica;margin:0px;display:inline!important"><font face="Verdana" size="2"><span style="font-size:10px"><b>cellphone:</b></span></font><font size="2" face="Verdana"><span style="font-size:10px"> </span></font></div></span></div></span></div></span></span></b></span></div></span></div></span></span></b></div></span></div></span></div></span></span></b><b style="text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="margin:0px;display:inline!important"><b><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><b><span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-weight:normal;font-family:Helvetica;margin:0px;display:inline!important"><font size="2" face="Verdana"><span style="font-size:10px"><a href="tel:%2B1%20617%20390%206447" value="+16173906447" target="_blank">+1 617 390 6447</a></span></font></div></span></div></span></div></span></span></b></div></span></div></span></span></b></div></span></div></span></div></span></span></b></div></span></div></span></div></span></span></b></b></b></div></div></div></div></div></div></div><div style="font-family:Helvetica;font-weight:normal;margin:0px"><div style="margin:0px;font-size:11px;font-family:Arial"><span style="font-size:10px"><div style="margin:0px;font-family:Verdana"><font color="#676767">__________________________________________________</font></div></span></div></div><div style="margin:0px"><font color="#676767" face="Verdana"><b><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="font-family:Helvetica;font-size:12px;font-weight:normal;margin:0px"><span style="font-family:Verdana;font-size:10px"><u>US Offices</u>:<span style="white-space:pre-wrap">                                 </span></span><b style="font-family:Verdana;text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><u style="font-size:10px;font-weight:normal">European Offices</u><span style="font-size:10px;font-weight:normal">:</span></span></div></span></div></span></span></b></div><div style="font-family:Helvetica;font-size:12px;font-weight:normal;margin:0px"><b style="font-family:Verdana"><span style="border-collapse:separate;font-family:'Lucida Grande';font-weight:normal;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="font-family:Helvetica;font-size:12px;margin:0px"><b style="font-family:Verdana"><span style="border-collapse:separate;font-family:'Lucida Grande';font-weight:normal;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><b style="font-family:Verdana"><span style="border-collapse:separate;font-family:'Lucida Grande';font-weight:normal;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-family:Helvetica;margin:0px;display:inline!important"><span style="font-family:Verdana;font-size:10px">210 Broadway, Suite 201<span style="white-space:pre-wrap">                 </span></span></div></span></div></span></div></span></span></b></span></div></span></div></span></span></b><b style="font-family:Verdana;text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-family:Helvetica;font-weight:normal;margin:0px;display:inline!important"><b style="font-family:Verdana"><span style="border-collapse:separate;font-family:'Lucida Grande';font-weight:normal;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><span style="font-family:Verdana;font-size:10px">Av. Tibidabo, 47 bis</span></span></div></span></div></span></span></b></div></span></div></span></div></span></span></b></div><div style="font-family:Helvetica;font-size:12px;margin:0px"><span style="font-family:Verdana;font-size:10px">Cambridge, MA, 02139<span style="white-space:pre-wrap">                        </span></span><b style="font-family:Verdana;text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-family:Helvetica;font-weight:normal;margin:0px;display:inline!important"><b style="font-family:Verdana"><span style="border-collapse:separate;font-family:'Lucida Grande';font-weight:normal;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="font-family:Verdana;font-size:10px">08035, Barcelona, Spain</span></div></span></div></span></span></b></div></span></div></span></div></span></span></b></div></span></div></span></div></span></span></b></div><div style="margin:0px"><b><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;border-spacing:0px"><div style="margin:0px"><font face="Verdana" style="font-size:10px;font-weight:normal"><span style="white-space:pre-wrap">              <font face="Helvetica">                                 </font></span><font face="Helvetica">       <span style="white-space:pre-wrap"> </span>       </font></font><b style="text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="margin:0px;display:inline!important"><b><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><b><span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-weight:normal;font-family:Helvetica;margin:0px;display:inline!important"><font size="2" face="Verdana"><span style="font-size:10px"><b>tel:</b></span></font><font size="2" face="Verdana"><span style="font-size:10px"> </span></font><font face="Verdana" size="2"><span style="font-size:10px"><a href="tel:%2B34%2093%20254%2003%2063" value="+34932540363" target="_blank">+34 93 254 03 63</a></span></font></div></span></div></span></div></span></span></b></div></span></div></span></span></b></div></span></div></span></div></span></span></b></div></span></div></span></div></span></span></b></div><div style="font-family:Helvetica;font-size:12px;font-weight:normal;margin:0px"><span style="font-family:Verdana;font-size:10px"><span style="white-space:pre-wrap">                                                 </span></span><b style="font-family:Verdana;text-align:-webkit-auto"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><b><span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word;display:inline!important"><span style="border-collapse:separate;border-spacing:0px"><div style="font-weight:normal;font-family:Helvetica;margin:0px;display:inline!important"><font face="Verdana" size="2"><span style="font-size:10px"><b>fax.:</b></span></font> <font face="Verdana" size="2"><span style="font-size:10px"><a href="tel:%2B34%2093%20212%2064%2045" value="+34932126445" target="_blank">+34 93 212 64 45</a></span></font></div></span></div></span></div></span></span></b></span></div></span></div></span></span></b></div><div style="font-family:Helvetica;font-size:12px;font-weight:normal;margin:0px"><span style="font-family:Verdana;font-size:10px">__________________________________________________</span></div></span></div></span></div></span></span></b></font></div></div></div><div style="font-family:Verdana;font-weight:normal;margin:0px"><div style="font-size:10px;margin:0px"><font color="#676767"><span style="letter-spacing:0px"><b>Neuroelectrics, </b> </span></font><a href="http://www.neuroelectrics.com/" style="text-align:-webkit-auto" target="_blank"><span style="letter-spacing:0px">www.neuroelectrics.com</span></a></div><div style="font-size:10px;margin:0px;min-height:12px"><font color="#676767"><span style="letter-spacing:0px"></span><br></font></div><p style="margin:0px 0px 12px;font-size:9px"><font color="#676767"><span style="letter-spacing:0px">Click </span><a href="http://www.neuroelectrics.com/node/61" target="_blank"><span style="letter-spacing:0px">here</span></a><span style="letter-spacing:0px"> to read our e-mail confidentiality and data protection policy</span></font></p></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br></div></div><br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>