Detects transitions of the low-16-bit trigger value to a new non-zero code
and returns them as a PhysioEvents: each rising transition is an event
whose onset is the transition time (seconds) and whose value is the trigger
code.
Arguments
- status
Integer vector of raw Status-channel digital values (as from
readBDFStatus).- sampling_rate
Sampling rate of the Status channel in Hz.