<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Helvetica;color: #000000;font-size: 10pt;">
Dear Soujata,<br>
<br>
Have you checked what data is in Dat(i,j,k)? The data input of ft_timelockanalysis should be organised in a structure as obtained from ft_preprocessing, with trial-based data.<br>
<br>
Best,<br>
Tineke<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF486170"><font color="#000000" size="2" face="Tahoma"><b>From:</b> fieldtrip-bounces@science.ru.nl [fieldtrip-bounces@science.ru.nl] on behalf of Soujata Borbaruah [s.borbaruah@student.utwente.nl]<br>
<b>Sent:</b> Tuesday, May 10, 2016 10:00 AM<br>
<b>To:</b> fieldtrip, donders<br>
<b>Subject:</b> [FieldTrip] Function is asking for raw data as input<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hello, I am working on statistical analysis of EEG data from subjects. I am trying to perform time lock analysis on the data available but while executing the script these are the following errors I get:
<div><br>
</div>
<div>
<div>Error using ft_checkdata (line 464)</div>
<div>This function requires raw+comp or raw data as input.</div>
<div><br>
</div>
<div>Error in ft_timelockanalysis (line 106)</div>
<div>data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'}, 'feedback', 'yes', 'hassampleinfo', 'yes');</div>
<div><br>
</div>
<div>Error in Actual_Timelockanalysis_MTT_EP (line 20)</div>
<div> EP{i,j,k}.All = ft_timelockanalysis(cfg,Dat(i,j,k));</div>
<div><br>
</div>
<div>Error in Noise_MTT_EP (line 8)</div>
<div>[ep] = Actual_Timelockanalysis_MTT_EP(Data)</div>
<div> </div>
<div>Please let me know if you require any more information. </div>
<br>
<br>
<br>
<div class=""><font class="" color="#999999">Sent with <a href="https://mailtrack.io/install?source=signature&lang=en&referral=s.borbaruah@student.utwente.nl&idSignature=22" class="" target="_blank">
MailTrack</a></font></div>
</div>
<img class="mailtrack-img" src="https://mailtrack.io/trace/mail/bd76bcba131eda72dceccc86e6d6262d19172412741513.png" height="0" width="0"></div>
</div>
</div>
</div>
</body>
</html>