EventList2TofSpec | R Documentation |
EventList2TofSpec
converts events of an event list (read with
GetEventList...FromH5
functions) into a spectrum.
EventList2TofSpec(events, clockPeriod, sampleInterval, nbrSamples)
events |
Event data, e.g. from |
clockPeriod |
Clock period (in s or ns), e.g. from
|
sampleInterval |
Sampling interval (in same units as |
nbrSamples |
Number of samples, e.g. from |
Note: this function is not part of the TofDaq API, but is included in the package for convenience.
A vector containing the spectrum.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.