<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Debora,<br>
    <br>
    Thank you very much for your help. I obviously didn't look into the
    exporting alternative properly! It definitely sounds like the best
    solution. At the moment I don't have access to NeurOne, but I will
    try it out when I do.<br>
    <br>
    Thanks again.<br>
    Best,<br>
    Ingrid<br>
    <br>
    <div class="moz-cite-prefix">On 2015-07-23 22:55, Debora Desideri
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMhf6hEFzqXTpe8XiB8rR5prpDAtuaPJDme7WC+j1-tncuX8nw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">Dear Ingrid,
        <div>the most straightforward way to read NeurOne data in
          Fieldtrip is to export them in .eeg format from NeurOne
          itself. If I remember well you can do that going to results,
          choosing the dataset you want to export and then  the option
          "Export Brain Products" (or something like this, I cannot
          check it right now, but you should find it easily).  The .eeg
          format is supported by Fieldtrip and everything should work
          smoothly </div>
        <div>Hope this help :)</div>
        <div>Good luck with your research</div>
        <div>Best</div>
        <div>Debora</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jul 23, 2015 at 10:37 PM,
          Ingrid Sör <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ingrid.sor@neuro.uu.se" target="_blank">ingrid.sor@neuro.uu.se</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Dear community,<br>
              <div> <br>
                My name is Ingrid Sör and am working at Uppsala
                University, Sweden, where we have recently started up a
                lab for studying speech and language related issues. At
                the moment I am trying my hand at analysing some trial
                EEG data with Fieldtrip (an oddball paradigm).<br>
                <br>
                We are using the NeurOne software from MEGA Electronics,
                which renders data in .ses file format. I seem to be
                having trouble reading this format with <small><font
                    face="Courier New, Courier, monospace">ft_read_header</font></small>,
                so I suspect it isn't supported (but I have read
                different accounts about this <a moz-do-not-send="true"
                  href="http://www.fieldtriptoolbox.org/dataformat"
                  target="_blank">here</a> and <a
                  moz-do-not-send="true"
                  href="http://www.fieldtriptoolbox.org/getting_started/egi"
                  target="_blank">here</a>)? Maybe the file formats are
                also different depending on if they are from NeurOne or
                Net Station?<br>
                <br>
                As far as I know, exporting to another format can't be
                done from NeurOne, as is suggested for Net Station. MEGA
                do supply Matlab functions to import the data though.
                But I thought I'd double check that the format actually
                isn't supported before I go down that route. I would
                also be glad to know if anyone has experience with using
                .ses data from NeurOne and know what alternative might
                be the best for importing to FieldTrip: reformatting the
                data structure rendered by the Matlab functions (from
                MEGA) to give compatibility with FieldTrip, or extending
                the FieldTrip reading functions to make them implement
                the .ses file format too?<br>
                <br>
                <big><small>Further below is some info about my code and
                    the error, if the error could be explained by this.</small></big><small><font
                    face="Courier New, Courier, monospace"><big><font
                        face="sans-serif"><br>
                      </font></big></font></small><br>
                <small><font face="Courier New, Courier, monospace"><big><font
                        face="sans-serif"><big><small><small><font
                                face="Courier New, Courier, monospace"><big><font
                                    face="sans-serif">Any help would be
                                    much appreciated.<br>
                                    <br>
                                  </font></big></font></small></small></big>Best,<br>
                        Ingrid<br>
                        <br>
                        -------------<br>
                        <br>
                      </font></big></font></small><small><font
                    face="Courier New, Courier, monospace"><big><font
                        face="sans-serif">This is the line I got stuck
                        on, with the error message below.<br>
                      </font></big><br>
                    cfg = ft_definetrial(cfg);<br>
                    <br>
                    Warning: could not determine filetype of<br>
                    /media/ingrid/Elements/EEG-data/P300_2015-06/Subject01/NeurOne-2015-06-12T130624.ses


                    <br>
                    > In ft_filetype at 1221<br>
                      In utilities/private/dataset2files at 42<br>
                      In ft_checkconfig at 541<br>
                      In ft_definetrial at 128 <br>
                    Warning: no trialfun was specified, using
                    ft_trialfun_general <br>
                    > In ft_definetrial at 135 <br>
                    evaluating trialfunction 'ft_trialfun_general'<br>
                    Error using ft_read_header (line 2053)<br>
                    unsupported header format (unknown)<br>
                    <br>
                    Error in ft_trialfun_general (line 78)<br>
                    hdr = ft_read_header(cfg.headerfile, 'headerformat',
                    cfg.headerformat);<br>
                    <br>
                    Error in ft_definetrial (line 174)<br>
                        [trl, event] = feval(cfg.trialfun, cfg);</font></small><br>
                <br>
                 <small><font face="Courier New, Courier, monospace"><big><font
                        face="sans-serif">My cfg structure looks like
                        this</font></big></font></small><small><font
                    face="Courier New, Courier, monospace"><big><font
                        face="sans-serif"><font face="Courier New,
                          Courier, monospace">:</font></font></big><br>
                    <br>
                    cfg = <br>
                    <br>
                           dataset:
'/media/ingrid/Elements/EEG-data/P300_2015-06/Subject01/NeurOne-2015-06-12T130624.ses'<br>
                          trialdef: [1x1 struct]<br>
                          lpfilter: 'no'<br>
                        continuous: 'yes'<br>
                           channel: 'EEG'<br>
                            layout: 'EEG1020.lay'<br>
                  </font></small> <br>
              </div>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            fieldtrip mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
            <a moz-do-not-send="true"
              href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip"
              rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
    </blockquote>
    <br>
  </body>
</html>