<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Fieldtrippers<br><br></div>My data is in edf format but has a event marker channel in the form of pulse on channel 1.<br><br></div>I have tried to use <br>event = ft_read_event(cfg.datafile,'trigindx',1,'threshold',5e2,'detectflank','up');<br>

<br></div>But 'detectflank' doesn't seem to work.<br></div>Is it particular for MEG data format (yokogawa).<br><br></div>Can some one give me an idea how to define pulses on channel trials in define trial. The channel has same Fs as data channels.<br>

<br></div>Thanks for your help in advance.<br><br></div>Best regards<br></div>Harsimrat<br></div>