<div dir="ltr">Dear all,<div><br></div><div style>my name is Katrin Heimann, I am phd student at the University of Parma. New to Fieldtrip.</div><div style>I am doing an EEG analysis, still in the preprocessing phase. </div>
<div style>It is a within trials design. I would like to compare a baseline period with an experimental condition (visual stimulus).</div><div style><br></div><div style> I have a trigger after a fixation cross, then a baseline period (approx 1 sec) , then the period of my stimulus (1 sec- starting with a bottom press (trigger)).</div>
<div style><br></div><div style> As I would like to apply the same baseline correction for both (the fixationcross period)  I planned to first define my trials as long trials including the timewindows of baseline and the stimulus period, applying filter and baselinecorrection on those long pieces. However, as I do not wanna do the artifact detection on the whole pieces (but seperately for baseline and stimulus, to avoid that I have to throw away too many trials) I would like to redefine my trials then, cutting out only baseline period and only stimulus period (starting with another trigger (triggervalue=resp).. </div>
<div style><br></div><div style><b>Unfortunately I do not understand how I can change the trigger used with ft redefine trial. </b></div><div style><br></div><div style>Anybody who could give me an example how that is done?</div>
<div style>Thanks a million</div><div style>Katrin</div></div>