<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0)"><div class="gmail_default">Hi Andreas,</div><div class="gmail_default"><br></div><div class="gmail_default">Thank you very much for your help. Eventually I found <i>sload</i> (see <a href="https://github.com/donnchadh/biosig/blob/master/biosig/t200_FileAccess/sload.m">https://github.com/donnchadh/biosig/blob/master/biosig/t200_FileAccess/sload.m</a>) that returns the header of a BDF file:</div><div class="gmail_default">[signal , header] = sload(filename, channels, 'OVERFLOWDETECTION:OFF');</div><div class="gmail_default"><br></div><div class="gmail_default">Cheers,</div><div class="gmail_default"><br></div><div class="gmail_default">Ayala</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 7, 2017 at 3:23 PM, Andreas Widmann <span dir="ltr"><<a href="mailto:widmann@uni-leipzig.de" target="_blank">widmann@uni-leipzig.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ayala,<br>
<br>
the pop_bdfread function from here:<br>
<a href="https://github.com/widmann/erptools/blob/master/pop_bdfread.m" rel="noreferrer" target="_blank">https://github.com/widmann/<wbr>erptools/blob/master/pop_<wbr>bdfread.m</a><br>
returns a BDF header structure as third output argument if requested.<br>
<br>
Note that EEGLAB’s pop_readbdf function shouldn’t be used anyway if you ever paused recording or CMS was out of range. See here for more details:<br>
<a href="https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1373" rel="noreferrer" target="_blank">https://sccn.ucsd.edu/<wbr>bugzilla/show_bug.cgi?id=1373</a><br>
<br>
Hope this helps! Best,<br>
Andreas<br>
<div><div class="h5"><br>
> Am 31.07.2017 um 17:42 schrieb Ayala Allon <<a href="mailto:ayalaallon@gmail.com">ayalaallon@gmail.com</a>>:<br>
><br>
> Hi everyone,<br>
><br>
> I would greatly appreciate your help on the following issues.<br>
><br>
> I use BioSemi system and Active View version 7.05 to record the data, and I need to able to extract the following information from my BDFs files:<br>
> 1. The orientation of the data (e.g., Multiplexed).<br>
> 2. The scale factor.<br>
><br>
> As I understand, this information is stored in the header of the BDF file (<a href="https://www.biosemi.com/faq/file_format.htm" rel="noreferrer" target="_blank">https://www.biosemi.com/faq/<wbr>file_format.htm</a>). However, I don't know a function in MATLAB with which I could also read the header of the BDF file.<br>
><br>
> Currently I use pop_readbdf() to import the BDF file into MATLAB, and I don't think the EEGLAB data structure (the output) provides the above information.<br>
><br>
> Does anyone know a way with which I could extract this information?<br>
><br>
> Thank you in advance,<br>
><br>
> Ayala<br>
><br>
> --<br>
> Ayala Allon, PhD Candidate<br>
> The Visual Working Memory Lab<br>
> School of Psychological Sciences<br>
> Tel-Aviv University<br>
> <a href="mailto:ayalalallon@gmail.com">ayalalallon@gmail.com</a><br>
> Check out my blog post on R-bloggers<br>
> <a href="http://people.socsci.tau.ac.il/mu/royluria/" rel="noreferrer" target="_blank">http://people.socsci.tau.ac.<wbr>il/mu/royluria/</a><br>
</div></div>> ______________________________<wbr>_________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br>
> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.<wbr>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.<wbr>edu</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#999999">Ayala Allon, </font><span style="color:rgb(153,153,153)">PhD Candidate </span></div><div><font color="#999999">The Visual Working Memory Lab</font></div><div><font color="#999999">School of Psychological Sciences</font></div><div><font color="#999999">Tel-Aviv University</font></div><div><font color="#999999"><a href="mailto:ayalalallon@gmail.com" target="_blank">ayalalallon@gmail.com</a></font><br></div><div><font color="#999999">Check out my blog post on<a href="https://www.r-bloggers.com/prepdat-preparing-experimental-data-for-statistical-analysis/" target="_blank"> R-bloggers</a></font></div><div><a href="http://people.socsci.tau.ac.il/mu/royluria/" target="_blank">http://people.socsci.tau.ac.il/mu/royluria/</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>