<div dir="ltr">Dear Heracles,<div><br></div><div><span style="font-family:arial,sans-serif;font-size:14px">> If so, then do you  think  it is possible to create one file with all conditions in EEGLAB?</span><br></div><div>

<br></div><div>Yes it's possible. You have to manually specify the conditions using the following method.</div><div>After you import 3D Matlab variable, also try 'import epoch info'. It seems you have to generate ascii/some Matlab variable to specify at least latency and duration in each column. I've never used it for 3D array, but I did import 2D array. At that time I prepared a text file contains</div>

<div><br></div><div>type condition latency</div><div>stimulus S3 5.31</div><div>response R1 5.89</div><div>stimulus S4 7.72</div><div>response R2 8.55 ...</div><div><br></div><div>So there were three columns and each of them had a header (type, condition, latency) and in each column I had trial name, corresponding condition, and latency in second. I guess you need to prepare similar file/variable.</div>

<div><br></div><div>If you have any trouble let me know.</div><div><br></div><div>Makoto</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/7 HERACLES PANAGIOTIDES <span dir="ltr"><<a href="mailto:hercp@uw.edu" target="_blank">hercp@uw.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>I can import segmented data (3D).  By the way, these are intracranial data that I collected with a non-standard system.  That is why I have the data segmented and ready to be imported.  </div>

<div><br></div><div>I am a new EEGLAB user.  Are "events" the same as conditions or categories?  If so, then do you  think  it is possible to create one file with all conditions in EEGLAB?  If not, what other method do you recommend?</div>

<div><br></div><div>Heracles</div><div><br></div><div> my iPad</div><div><div class="h5"><div><br>On Aug 7, 2013, at 9:34 AM, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>> wrote:<br>

<br></div><blockquote type="cite"><div><div dir="ltr">I don't think there is such import option to separately import the data. Therefore users should separate raw data first and import it as required. I don't even know if it allows to import 3D data (it may), but let's say the basic import option is 2D. Which means you have to preprocess your matlab 3D variables into EEGLAB importable 2D chunks.<div>



<br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/6 HERACLES PANAGIOTIDES <span dir="ltr"><<a href="mailto:hercp@uw.edu" target="_blank">hercp@uw.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>Dear Makoto,</div>
<div> </div>
<div>I tried the first method and gave each category a different variable 
name.  Each category had three dimensions.  All categories were 
included in the same mat file.  When I tried to import the data, EEGLAB 
gave me an error.  I am not sure what the menu commands are for importing 
separate data files.  These data are from one patient.  Any 
thoughts?</div>
<div> </div>
<div>Heracles</div>
<div> </div>
<div> </div>
<div style="font-style:normal;font-size:small;display:inline;text-decoration:none;font-family:'Calibri';font-weight:normal">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="mmiyakoshi@ucsd.edu" href="mailto:mmiyakoshi@ucsd.edu" target="_blank">Makoto Miyakoshi</a> </div>
<div><b>Sent:</b> Tuesday, August 06, 2013 7:53 PM</div>
<div><b>To:</b> <a title="hercp@uw.edu" href="mailto:hercp@uw.edu" target="_blank">HERACLES 
PANAGIOTIDES</a> </div>
<div><b>Cc:</b> <a title="eeglablist@sccn.ucsd.edu" href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">EEGLAB List</a> </div>
<div><b>Subject:</b> Re: [Eeglablist] Importing segmented matlab 
data</div></div></div>
<div> </div></div><div><div>
<div style="font-style:normal;font-size:small;display:inline;text-decoration:none;font-family:'Calibri';font-weight:normal">
<div dir="ltr">Dear Heracles, 
<div> </div>
<div>I suggest you reshape the data from 4D to 3D (see matlab help 'reshape') 
and give trials label of category. Alternatively, if you don't want to mix them 
in one dataset, I suggest you separate categories such that</div>
<div>category1: channel x point x trials<br></div>
<div>category2: channel x point x trials<br></div>
<div>category3: channel x point x trials<br></div>
<div>and you'll have 3 different data sets (by the way does EEGLAB allow to 
import 3D data?) However, if this 'category' is within-subject condition and 
recorded at the same session (i.e. without taking off the EEG cap) I recommend 
the first solution because it is better for running ICA.</div>
<div> </div>
<div>Makoto</div>
<div> </div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/8/5 HERACLES PANAGIOTIDES <span dir="ltr"><<a href="mailto:hercp@uw.edu" target="_blank">hercp@uw.edu</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
  <div dir="ltr">
  <div dir="ltr">
  <div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri'">
  <div>I have an array of segmented ERP data consisting of 4 dimensions 
  (channels X points X trials X categories).  I don’t know how to define 
  categories.  When I import the array into eeglab it concatenates all the 
  trials from all categories into one set of trials.  </div>
  <div> </div>
  <div>Thanks,</div><span><font color="#888888">
  <div> </div>
  <div>Heracles 
  Panagiotides</div></font></span></div></div></div><br>_______________________________________________<br>Eeglablist 
  page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" 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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all">




<div> </div>-- <br>
<div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational 
Neuroscience<br>Institute for Neural Computation, University of California San 
Diego<br></div></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>




</div>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br>

</div>
</div>