<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear Sir/Madam,
<div><br>
</div>
<div>I am new to feildtrip and I wanted to start analyzing my data using the field trip. I have 64 channels of EEG recordings and I tried to convert my data to fieldtrip cell type to be able to browse the data using ft_databrowser, but there is a problem and
 I am not sure if it because of my data format or some other problems. I have reported the error and the structure of my data in the following.</div>
<div>Please do me a favor and check my data and help me with this issue.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Maryam <br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF663204" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Ahmadi Shapourabadi, Maryam (Dr.)<br>
<b>Sent:</b> Tuesday, November 18, 2014 6:20 PM<br>
<b>To:</b> fieldtrip@science.ru.nl<br>
<b>Subject:</b> problem with my data<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Dear Sir/Madam,
<div><br>
</div>
<div>I have tried to browse my data in fieldtrip but have got the following error:</div>
<div><br>
</div>
<div>cfg=ft_databrowser(avgdata2,cfg)</div>
<div>
<div>??? Warning: Struct field assignment overwrites a value with class "single".</div>
<div> See MATLAB 7.0.4 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning for details. </div>
<div>> In utilities\private\ft_preamble_provenance at 54</div>
<div>  In ft_preamble at 54</div>
<div>  In ft_databrowser at 138</div>
<div>??? Error using ==> ft_checkdata at 462</div>
<div>This function requires raw+comp or raw data as input.</div>
<div><br>
</div>
<div>Error in ==> ft_databrowser at 261</div>
<div>  data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'},</div>
<div>  'feedback', 'yes', 'hassampleinfo', 'yes');</div>
<div><br>
</div>
<div>This is my data:</div>
<div>ftdata2 = </div>
<div><br>
</div>
<div>      trial: {1x251 cell}</div>
<div>       time: {1x251 cell}</div>
<div>    fsample: 512</div>
<div>      label: {1x64 cell} </div>
<div><br>
</div>
<div>trial is single. I changed to double by the command 'double', but I got similar error:</div>
<div><br>
</div>
<div>cfg=ft_databrowser(avgdata2,cfg)</div>
<div>??? Warning: Struct field assignment overwrites a value with class "single".</div>
<div> See MATLAB 7.0.4 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning for details. </div>
<div>> In utilities\private\ft_preamble_provenance at 54</div>
<div>  In ft_preamble at 54</div>
<div>  In ft_databrowser at 138</div>
<div>??? Error using ==> ft_checkdata at 462</div>
<div>This function requires raw+comp or raw data as input.</div>
<div><br>
</div>
<div>Error in ==> ft_databrowser at 261</div>
<div>  data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'},</div>
<div>  'feedback', 'yes', 'hassampleinfo', 'yes');  </div>
<div><br>
</div>
<div><br>
</div>
<div>detail of my data:</div>
<div><br>
</div>
<div>
<div>ftdata2.trial</div>
<div><br>
</div>
<div>ans = </div>
<div><br>
</div>
<div>  Columns 1 through 3</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 4 through 6</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 7 through 9</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 10 through 12</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 13 through 15</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 16 through 18</div>
</div>
<div>  ...</div>
<div><br>
</div>
<div>
<div>ftdata2.trial</div>
<div><br>
</div>
<div>ans = </div>
<div><br>
</div>
<div>  Columns 1 through 3</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 4 through 6</div>
<div><br>
</div>
<div>    [64x1024 single]    [64x1024 single]    [64x1024 single]</div>
<div><br>
</div>
<div>  Columns 7 through 9</div>
</div>
<div>  ....</div>
<div><br>
</div>
<div>
<div>ftdata2.fsample</div>
<div><br>
</div>
<div>ans =</div>
<div><br>
</div>
<div>   512</div>
</div>
<div><br>
</div>
<div> </div>
<div>Could you please help me with this problem? </div>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Maryam</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>