Dear Pouya,
SPM does not support variable length trials. So your options are as follows:
1) Epoch locked to one of the triggers and take either the minimal or
the maximal trial length depending on whether you prefer to discard
some data or include some irrelevant data and then deal with that in
your code.
2) You can write a script which saves each trial in a separate SPM
dataset and then further processes these multiple datasets. That might
be useful or not depending on what analysis you need.
3) You can work with Fieldtrip that does support variable length
trials and only convert to SPM once you get rid of that variability.
Best,
Vladimir
On Mon, Nov 14, 2011 at 11:29 AM, pouya.ahmadian
<[log in to unmask]> wrote:
> Dear Vladimir,
> I need the EEG data that happens between two events marked on EEG. The
> duration is different from trial to trial. How can I do that with SPM?
> Thanks in advance,
> Pouya.
|