<div dir="ltr">Dear Laurie,<div><br></div><div>Thank you very much for sharing your brainchild! I hope this helps other users of the community too.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 2:45 PM, Laurie Bayet <span dir="ltr"><<a href="mailto:lauriebayet@gmail.com" target="_blank">lauriebayet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Tarik and Makoto, <div><br><div>As requested by Tarik, here is the custom script I was talking about. Most of it is very idiosyncratic as it deals with the specific format of the data I'm working on, checking number of trials in the EEG data versus manual processing notes, etc. </div><div><br></div><div>But maybe it can be helpful! It's provided with no warranty at all ;)</div><div><br></div><div>Best,</div><div>Laurie</div><div><div class="h5"><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">Le ven. 3 mars 2017 à 18:19, Laurie Bayet <<a href="mailto:lauriebayet@gmail.com" target="_blank">lauriebayet@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-4616461188602185473gmail_msg">Dear Tarik and Makoto,<div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">Thanks for your help!</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">So, to close the loop: EEGLAB can absolutely read segmented files from Netstation (exported to simple binary from Netstation). I could get the simple binary export to preserve the metadata about which channels were manually marked bad at which trial, so I ended up exporting this metadata (.bci) separately and then putting it all back together in EEGLAB with a custom script. I was really worried about trial numbers getting mixed up in the process, but everything checks out. There may be an easier way to do this, but it works.</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">All the best,<br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">Laurie</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div></div><br class="m_-4616461188602185473gmail_msg"><div class="gmail_quote m_-4616461188602185473gmail_msg"><div dir="ltr" class="m_-4616461188602185473gmail_msg">Le jeu. 9 févr. 2017 à 22:27, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" class="m_-4616461188602185473gmail_msg" target="_blank">mmiyakoshi@ucsd.edu</a>> a écrit :<br class="m_-4616461188602185473gmail_msg"></div><blockquote class="gmail_quote m_-4616461188602185473gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-4616461188602185473gmail_msg">Dear Laurie,<div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">If I remember correctly, I think I've seen something like this recently...</div><div class="m_-4616461188602185473gmail_msg">Would you want to try to search it here?</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg"><a href="https://sccn.ucsd.edu/pipermail/eeglablist/2017/thread.html" class="m_-4616461188602185473gmail_msg" target="_blank">https://sccn.ucsd.edu/<wbr>pipermail/eeglablist/2017/<wbr>thread.html</a><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">Makoto</div></div><div class="gmail_extra m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"><div class="gmail_quote m_-4616461188602185473gmail_msg"></div></div><div class="gmail_extra m_-4616461188602185473gmail_msg"><div class="gmail_quote m_-4616461188602185473gmail_msg">On Mon, Feb 6, 2017 at 12:22 PM, Laurie Bayet <span dir="ltr" class="m_-4616461188602185473gmail_msg"><<a href="mailto:lauriebayet@gmail.com" class="m_-4616461188602185473gmail_msg" target="_blank">lauriebayet@gmail.com</a>></span> wrote:<br class="m_-4616461188602185473gmail_msg"></div></div><div class="gmail_extra m_-4616461188602185473gmail_msg"><div class="gmail_quote m_-4616461188602185473gmail_msg"><blockquote class="gmail_quote m_-4616461188602185473gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-4616461188602185473gmail_msg"><div class="m_-4616461188602185473gmail_msg">Hi,</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">I'm trying to import a large amount of NetStation data files that have already been segmented in NetStation (using the "Waveform tools" GUI).</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">The raw continuous files still exist, so technically those could still be exported as continuous simple binary files with segmentation markup. </div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">However, being able to directly import the already segmented files would be quite the time saver and would ensure consistency with other existing analyses that have been using these files in Netstation.</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">Is there any way to import segmented NetStation files to EEGLAB/Matlab?</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div><div class="m_-4616461188602185473gmail_msg">Thank you.</div><div class="m_-4616461188602185473gmail_msg">All the best,</div><div class="m_-4616461188602185473gmail_msg">Laurie</div><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div></div>
<br class="m_-4616461188602185473gmail_msg"></blockquote></div></div><div class="gmail_extra m_-4616461188602185473gmail_msg"><div class="gmail_quote m_-4616461188602185473gmail_msg"><blockquote class="gmail_quote m_-4616461188602185473gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________<wbr>_________________<br class="m_-4616461188602185473gmail_msg">
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" class="m_-4616461188602185473gmail_msg" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br class="m_-4616461188602185473gmail_msg">
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" class="m_-4616461188602185473gmail_msg" target="_blank">eeglablist-unsubscribe@sccn.<wbr>ucsd.edu</a><br class="m_-4616461188602185473gmail_msg">
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" class="m_-4616461188602185473gmail_msg" target="_blank">eeglablist-request@sccn.ucsd.<wbr>edu</a><br class="m_-4616461188602185473gmail_msg"></blockquote></div></div><div class="gmail_extra m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"><br clear="all" class="m_-4616461188602185473gmail_msg"><div class="m_-4616461188602185473gmail_msg"><br class="m_-4616461188602185473gmail_msg"></div>-- <br class="m_-4616461188602185473gmail_msg"><div class="m_-4616461188602185473m_-4661573974134148287m_5278292526515841711gmail_signature m_-4616461188602185473gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="m_-4616461188602185473gmail_msg">Makoto Miyakoshi<br class="m_-4616461188602185473gmail_msg">Swartz Center for Computational Neuroscience<br class="m_-4616461188602185473gmail_msg">Institute for Neural Computation, University of California San Diego<br class="m_-4616461188602185473gmail_msg"></div></div>
</div></blockquote></div></blockquote></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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>