clusterrandanalysis

Peter Praamstra P.PRAAMSTRA at BHAM.AC.UK
Wed Oct 4 13:40:16 CEST 2006


hoi Robert,
dat doet de truc natuurlijk.

groeten,

peter


On 4 Oct 2006 at 10:44, Robert Oostenveld wrote:

> Hi Peter
>
> On 3 Oct 2006, at 14:13, Peter Praamstra wrote:
> > Implementing the suggestion to shift the time
> > axis revealed a glitch in besa2fieldtrip that I should have
> spotted
> > earlier. It
> > doesn't convert ms in s. As a result, cfg.latency or cfg.toilim
> > statements
> > using seconds as time unit don't work properly.
> >
> > This peculiarity concerns BESA TFR data; I don't know about other
> BESA
> > data formats.
>
> There are many variations of the BESA format, which makes them
> difficult to support. Every couple of months, someone will contact
> me
> with yet another BESA file that is not fully supported :-(
>
> Fieldtrip always works with seconds and not with ms, hence it should
> be fixed. I expect the problem to be on line 141 of besa2fieldtrip,
> which now reads
>    data = [];
>    data.time = Time;
>    data.freq = Frequency;
> and probably this should read
>    data = [];
>    data.time = Time * 1e-3; % convert to seconds
>    data.freq = Frequency;
>
> Can you confirm this?
>
> best,
> Robert


######################################
Peter Praamstra, MD, PhD
Reader in Cognitive Neurophysiology
Honorary Consultant Neurology
Behavioural Brain Sciences Centre
School of Psychology, University of Birmingham
Birmingham, B15 2TT

tel. 0121 414 7211
fax 0121 414 4897



More information about the fieldtrip mailing list