getPhysicalTriggers
getPhysicalTriggers returns all trigger times over a time period
Example:
trig=getPhysicalTriggers(channel, start, stop)
[trig markers]=getPhysicalTriggers(channel, start, stop)
where
channel is an scchannel object
start is the start time for the search
stop is the stop time for the search
trig is a vector of trigger time
markers, when specified, are the marker data associated with the each
trigger
Returns all triggers where
start <= channel.tim(:, 1) <= stop
Trigger times are those in column 1 of channel.tim if it has 1 or 2 columns
or those in column 2 if it has 3 columns (i.e. an explicit trigger time is
present
-------------------------------------------------------------------------
Author: Malcolm Lidierth 08/08
Copyright © The Author & King's College London 2008-
-------------------------------------------------------------------------
Revisions:
16.08.08 Bug fix, wrongly tested length of tim instead of number of rows
Corrected for Version 0.83
16.05.09 Add optional marker output