<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
John,
<div class=""><br class="">
</div>
<div class="">By convention, and to keep the EEG structure itself clean, it's common practice to put additional information as a subfield of </div>
<div class="">
<div class=""><br class="">
</div>
<div class=""><font face="Courier" class="">EEG.etc</font></div>
<div class=""><br class="">
</div>
<div class="">E.g.</div>
<div class=""><br class="">
</div>
<div class=""><font face="Courier" class="">EEG.etc.myextradata</font></div>
<div class=""><br class="">
</div>
<div class="">
<div>Many current plugins will use this location. You can of course do whatever you want with your own data, but if you plan to share the data it might be worth considering.</div>
<div><br class="">
</div>
<div>As a general rule, if you are storing a lot of data, you might consider Tarik's suggestion and store such data in a separate file, and e.g. store the path to that file in the EEG.etc structure. The reason for this is to keep the EEG structure as lightweight
 as possible. This is what is done by default for the EEG data itself, which is stored in a separate file. There are some contexts (large studies, or if you just want to take a look at IC weights or dipole fits or events) in which the option to only load the
 '.set' file header information is used. This is much faster--as long as it doesn't get loaded down with too much extra data. Again, only relevant if you plan to develop a plugin for general use, or share your data.</div>
<div><br class="">
</div>
<div>John</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 5, 2018, at 4:37 PM, Johnson, John T. <<a href="mailto:john.johnson@gatech.edu" class="">john.johnson@gatech.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div dir="auto" class=""><span class="">Thanks Tarik!</span>
<div class=""><span class="">I’ve tried having my own matrix of data, doing lookups, etc. but it’s a pain to maintain. (Essentially a DIY relational database.)</span></div>
<div class=""><span class="">I’ll just tack my info onto the EEG struct. <br class="">
</span><br class="">
<div id="cm_footer" class="cm_footer">
<div id="cm_signature" class="">
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class="">Thanks,</span></div>
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class="">John</span></div>
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class=""><br class="">
</span></div>
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class="">John T. Johnson</span></div>
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class="">PhD Student - Applied Physiology</span></div>
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class="">Georgia Institute of Technology</span></div>
<div class=""><span style="line-height: 20px; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" class=""><a href="mailto:john.johnson@gatech.edu" class="">john.johnson@gatech.edu</a></span></div>
</div>
<br class="">
<div id="cm_sent_from" class="">via <a href="https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.8.421&pv=10.13.6&source=email_footer_2" class="">
Newton Mail</a></div>
</div>
<span class=""><br class="">
</span>
<div id="cm_replymail_content_wrap" class="">
<div class="cm_replymail_content_1533512083_wrapper">On Sun, Aug 5, 2018 at 7:24 PM, Tarik S Bel-Bahar <<a href="mailto:tarikbelbahar@gmail.com" class="">tarikbelbahar@gmail.com</a>> wrote:<br class="">
<div id="cm_replymail_content_1533512083" style="overflow: visible;" class="">
<blockquote style="margin:0;border-left: #D6D6D6 1px solid;padding-left: 10px;" class="">
<div class="">
<div dir="auto" class="">
<div dir="auto" class="">Hello,</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">One way to this is add one or more fields with that data to the EEG structure for each .set file, containing any data you wish. For example,</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">EEG.myextradata= myextradata;</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Saving the file and other manipulations with eeglab functions should not affect the extra data.<br class="">
</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">
<div dir="auto" class="">Another way is to update the .set file information, which has some fields.</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Another method is to build your own matrix of info across all subjects, and call as necessary for single-subject and group level analyses.</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">For core and other info, eeglab scripting tutorial and googling eeglablist for similar questions can help.</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class=""><br class="">
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Sun, Aug 5, 2018, 3:21 AM Johnson, John T. <<a href="mailto:john.johnson@gatech.edu" class="">john.johnson@gatech.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<div dir="auto" class=""><span class="">Where is the best place to store my own data related to the EEG dataset?</span>
<div class=""><span class="">And will it be treated as part of the dataset throughout manipulations in the GUI and pop_*, eeg_* functions?<br class="">
<br class="">
<div id="m_-8266798860856654667cm_footer" class="m_-8266798860856654667cm_footer">
<div id="m_-8266798860856654667cm_signature" class="">
<div id="m_-8266798860856654667AppleMailSignature" class=""><span style="line-height:20px;background-color:rgba(255,255,255,0)" class="">Thanks,</span></div>
<div id="m_-8266798860856654667AppleMailSignature" class=""><span style="line-height:20px;background-color:rgba(255,255,255,0)" class="">John</span></div>
<div id="m_-8266798860856654667AppleMailSignature" class=""><br class="">
</div>
</div>
<br class="">
<div id="m_-8266798860856654667cm_sent_from" class="">via <a href="https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.8.421&pv=10.13.6&source=email_footer_2" target="_blank" rel="noreferrer" class="">
Newton Mail</a></div>
</div>
</span></div>
</div>
</div>
_______________________________________________<br class="">
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer noreferrer" target="_blank" class="">
http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br class="">
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" rel="noreferrer" class="">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br class="">
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" rel="noreferrer" class="">
eeglablist-request@sccn.ucsd.edu</a></blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" class="">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br class="">
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" class="">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br class="">
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" class="">
eeglablist-request@sccn.ucsd.edu</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>