<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hello FT-ers</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">In the past i had no problem when converting my data from SPM (where i do preprocessing and averaging) to FT (where I do my cluster-stats and plotting)</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Currently, I am using the new way to convert (previous version seems outdated 'nspm2ftrip') and I am hitting a wall: it says my data is not in the right format, ie: not freq data. But i know that it is...any advice would be much appreciated! Not to mention is warns me my data is not epoched when it is indeed so...</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Thank you!</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">zita</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">*********************</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<div><b>>> D = spm_eeg_load</b></div><div>SPM M/EEG data object</div><div>Type: evoked</div><div>Transform: TF</div><div>8 conditions</div><div>326 channels</div><div>20 frequencies</div><div>501 samples/trial</div>
<div>8 trials</div><div>Sampling frequency: 250 Hz</div><div>Loaded from file  C:\Users\Eva Z Patai\Documents\MATLAB\epoched_data\tf\rmtf_rs01_timecorr.mat</div><div><br></div><div>Use the syntax D(channels, frequencies, samples, trials) to access the data</div>
<div>Type "methods('meeg')" for the list of methods performing other operations with the object</div><div>Type "help meeg/method_name" to get help about methods</div><div><br></div><div><b>>> data = spm2ft(D)</b></div>
<div><br></div><div>mapping condition label "11" to condition code 1</div><div>mapping condition label "12" to condition code 2</div><div>mapping condition label "21" to condition code 3</div>
<div>mapping condition label "22" to condition code 4</div><div>mapping condition label "31" to condition code 5</div><div>mapping condition label "32" to condition code 6</div><div>mapping condition label "41" to condition code 7</div>
<div>mapping condition label "42" to condition code 8</div><div><br></div><div>data = </div><div><br></div><div>      fsample: 250.0000</div><div>        label: {326x1 cell}</div><div>         time: {1x8 cell}</div>
<div>        trial: {1x8 cell}</div><div>    trialinfo: [8x1 double]</div><div>          cfg: [1x1 struct]</div><div><br></div><div><br></div><div><b>>> data2 = ft_checkdata(data, 'datatype', 'freq')</b></div>
<div> </div><div>Warning: the data does not contain a trial definition, assuming that the trials are consecutive segments of a continuous recording </div><div>> In utilities\private\warning_once at 81</div><div>  In utilities\private\fixsampleinfo at 54</div>
<div>  In ft_datatype_raw at 91</div><div>  In ft_checkdata at 170 </div><div><font color="#ff0000">Error using ft_checkdata (line 288)</font></div><div><font color="#ff0000">This function requires freq data as input.</font></div>
</div><br><div class="gmail_quote"><br></div>