[FieldTrip] ft_redefinetrial problem
Nathan Weisz
nathanweisz at mac.com
Thu Jan 12 22:02:19 CET 2012
Hi Qi,
providing some code, including some output may actually help …
I am unaware of ft_redifinetrial altering the contents of your hdr field (i admit i have never paid attention to it), but even if it did how does this affect your subsequent analysis steps? e.g. at least to my knowledge, FT looks for data.grad (instead of data.hdr.grad) e.g. for plotting, source analysis etc. so if you add your grad info via ft_read_sens, then everything should be fine …
otherwise, if the original hdr content is so important, then save it as a temporary variable and add it to your redefined trial later.
but perhaps i have totally misunderstood your problem. in that case see introductory remark on code.
good luck,
n
On 12.01.2012, at 17:20, qi li wrote:
> Hi,
>
> I have a fixed length experiment raw. I apply ft_redefinetrial with cfg.trl to epoch it into many segments. When this step is done, the output.hdr.grad has different fields from the input field. More specifically the pnt and ori field are gone thus cause trouble for the later analysis. I am using 12/23 version, is there a bug or it is suppose to be so.
>
> If I only want to separate the long data into segments, which command can change only the time window while keeping all the other parameters unchanged?
>
> Thanks!
>
> Qi
>
>
> _______________________________________________
> 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/20120112/ad67221f/attachment-0002.html>
More information about the fieldtrip
mailing list