Omoniyi,<br><br>I've never tried automatic artifact detection in FieldTrip but I remember when I tried visual artifact rejection on Neuroscan data, I had to change the Y scale of the plot to make the data show up (the scale that was necessary for my data was much different than the scale used in the tutorial, for whatever reason). <br>
<br>Do you need to do artifact detection in FieldTrip rather than Neuroscan? To be honest, I found it more efficient to do the artifact rejection in Neuroscan and then import the data into FieldTrip for the more advanced processing. (But I don't have much experience with using FieldTrip for artifact rejection, so maybe someone else on the list will have more suggestions; also, I was only doing visual artifact rejection, so I don't know if there are differences between doing automatic rejection in Neuroscan versus FieldTrip.)<br>
<br>Best,<br>Steve Politzer-Ahles<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Message: 1<br>
Date: Mon, 3 Oct 2011 07:49:27 -0700 (PDT)<br>
From: Omoniyi Segun <<a href="mailto:omoniyi_s@yahoo.com">omoniyi_s@yahoo.com</a>><br>
To: "<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>" <<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>><br>
Subject: [FieldTrip] Problems detecting Artifacts in Neuroscan EEG<br>
        file<br>
Message-ID:<br>
        <<a href="mailto:1317653367.73347.YahooMailNeo@web65905.mail.ac4.yahoo.com">1317653367.73347.YahooMailNeo@web65905.mail.ac4.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
<br>
I am new to fieldtrip and have been struggling with it for the past four weeks.<br>
<br>
<br>
I am trying to do artifact detection using the Automatic Artifact detection tutorial on the Site. The first issue I am having is when i set % make the process interactive cfg.artfctdef.zvalue.interactive = 'yes';<br>

I see nothing in the figure that is plotted. I see the data plotted when i use the sample data provided but not when i use my Neuroscan EEG data.<br>
<br>
Secondly when i click on stop I get the error pasted below.<br>
<br>
<br>
<br>
??? Reference to non-existent field 'dimord'.<br>
<br>
Error in ==> dimlength at 74<br>
????? elseif strcmp(data.(fld), 'rpt_pos')<br>
<br>
Error in ==> fixsampleinfo at 31<br>
? ntrial = dimlength(data, 'rpt');<br>
<br>
Error in ==> ft_checkdata at 579<br>
? data = fixsampleinfo(data);<br>
<br>
Error in ==> ft_rejectartifact at 203<br>
? data = ft_checkdata(data, 'hassampleinfo', 'yes');<br>
<br>
Error in ==> do_reject_artifacts at 70<br>
data_no_artifact_jump = ft_rejectartifact(cfg,artifact_jump);<br>
<br>
Error in ==> do_preprocess at 45<br>
??????????????? do_reject_artifacts(subject);<br>
<br>
I am comfortable making changes to the code and would like some pointers in the right direction. I am not sure if this is an issue with Neuroscan data.<br>
<br>
Thanks<br>
<br>
Omoniyi Segun<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111003/92cac66d/attachment-0001.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111003/92cac66d/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
End of fieldtrip Digest, Vol 11, Issue 2<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/">http://www.linguistics.ku.edu/</a><br>