Runs a function on the wave and outputs values in the Natural Time Domain (see Varotsos, Sarlis & Skordas(2011) doi:10.1007/978-3-642-16449-1).
Arguments
- wave
A Wave object containing pulses
- events
Onset of detected events, e.g. from pulseDetection(). The events must be in increasing order. Each interval runs from one event up to the sample before the next, so the final event bounds the last interval without belonging to it.
- FUN
The function to run
- normalise
If TRUE the output is a probability density
- argument
If "wave" supplies a weave object to the function, if "vector" supplies the left channel as a numeric vector.
- ...
Additional arguments to FUN
