[FieldTrip] Error -> ft_databrowser

Raquel Bibi bibi.raquel at gmail.com
Thu Apr 26 14:30:14 CEST 2012


Another way of knowing sample information is to include it again in the trl definition of your trial function so that the 4th  ( any column after the first three) column reads event(i).sample.  The information will always be available in the trialinfo field of the data. 

Regards,

Raquel
Sent from my iPhone

On Apr 26, 2012, at 4:19 AM, "Jörn M. Horschig" <jm.horschig at donders.ru.nl> wrote:

> Hi Elena,
> 
> most likely your data has trials with overlapping sample points. Unfortunately, the databrowser does not support this, or to be more specific ft_fetch_data does not support this. The reason for this is that a specific segment in time is defined twice in your data, and it is not clear what segment it is you would like to look at (due to filter artifacts and other preprocessing steps, the data will most likely have different values for the same sample points). For non-continuous data (already preprocessed data), it should be able to implement this nonetheless, but that's on our todo list. The best way for now is to call ft_redefinetrial and cut out the overlapping segments.
> 
> You could also hack your way around this by removing data.sampleinfo. FieldTrip will then make up arbitrary, meaningless sample numbers. Keep in mind that we do not recommend this though. There is no way that the reconstructed sample numbers can be traced back to your original data! (well... if your programming skills are reasonable enough, it is possible, but that requires some further hacking, and a lot of effort). 
> 
> Best,
> Jörn
> 
> On 4/26/2012 12:04 AM, Elena Orekhova wrote:
>> 
>> Hi
>> I encounted the same problem with ft_databrowser:
>> 
>> *************
>> fetching artifacts... Error using ft_fetch_data (line 57)
>> data does not contain a consistent trial definition, fetching data is not
>> possible
>> 
>> Error in ft_databrowser>redraw_cb (line 1159)
>> art = ft_fetch_data(opt.artdata, 'begsample', begsample, 'endsample',
>> endsample);
>> 
>> Error in ft_databrowser (line 535)
>> redraw_cb(h);
>> ****************
>> 
>> The same data works OK with 
>> [data] = ft_rejectvisual(cfg, data)
>> 
>> I have:
>> MacOS 10.6.8 
>> MATLAB 7.13.0.564 (R2011b)
>> 
>> Matlab re-installation did not help in my case.
>> I would be grateful for any tips.
>> 
>> Elena
>> From: fieldtrip-bounces at donders.ru.nl [fieldtrip-bounces at donders.ru.nl] on behalf of Mehmet-Akif Coskun [mcoskun at mail.uh.edu]
>> Sent: Wednesday, March 07, 2012 6:55 PM
>> To: Email discussion list for the FieldTrip project
>> Cc: fieldtrip at donders.ru.nl
>> Subject: Re: [FieldTrip] Error -> ft_databrowser
>> 
>> Hi Michael,
>> 
>> 
>> I have posted the question actually but I didn't hear any suggestions about it. The same error was posted yesterday by someone else. 
>> 
>> 
>> just to repeat what i have replied in the other post, i tried many things to solve it (changed the code, run the databrowser code line by line, updated fieldtrip version at etc.), but none of them solved the problem. I started getting the error after I tried using parallel processing scripts in matlab. But as i said, i have no basis to say             that this caused the problem. So basically, i do not know any scientific solution.
>> 
>> 
>> But an old school method solved the problem in my case. Simply i uninstalled and re-installed matlab. Never got the error again. You may want to try this. I have no other solution.
>> 
>> 
>> Mehmet
>> 
>> 
>> 
>> 
>> 
>> ----- Original Message -----
>> From: "Epstein, Michael" <MEpstein at NKI.RFMH.ORG>
>> Date: Wednesday, March 7, 2012 11:29 am
>> Subject: Re: [FieldTrip] Error -> ft_databrowser
>> To: fieldtrip at donders.ru.nl
>> 
>> > Hi - I am actually encountering the same error with databrowser, and was wondering if you ever came up with a solution to this problem - or if anyone else has a solution - I didn't find a response on the mailing list.
>> >  
>> > -Michael
>> >  
>> >  
>> >  
>> > Dear Fieldtrippers,
>> >  
>> >  
>> > I am encountering a strange error while i try to use ft_databrowser. The error code is as below. I have never seen                               this error earlier. I used ft_databrowser many times and its only last 2 days that i am getting the error. I downloaded a newer version of fieldtrip (fieldtrip-20120130)                               and used the newer version but still the same error. Strangely, i dont get this error when i tried with other computers (same matlab version (R2010a), same operating system (windows 7) on both computers. Has anyone got this error before? what may cause this error?
>> >  
>> >  
>> > fieldtrip version 20120130, matlab version R2010a, operating system windows 7.
>> >  
> 
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120426/4829f0c5/attachment.html>


More information about the fieldtrip mailing list