DecodeEventListThreshold | R Documentation |
DecodeEventListThreshold
decodes an event list read with GetEventList...FromH5
functions into a time stamp vector and a data vector. Only event data which is
above the threshold (plus pre-trigger and post-trigger samples) are returned.
DecodeEventListThreshold(
events,
clockPeriod,
sampleInterval,
threshold,
presamples,
postsamples
)
events |
Event data, e.g. from |
clockPeriod |
Clock period (in s or ns), e.g. from
|
sampleInterval |
Sampling interval (in same units as |
threshold |
Threshold value (mV). |
presamples |
Number of pre-trigger samples. |
postsamples |
Number of post-trigger samples. |
Note: this function is not part of the TofDaq API, but is included in the package for convenience.
A list with sample indices and data values (in mV).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.