Extracts the instantaneous amplitude (envelope) from the analytic signal.
Value
A PhysioExperiment object with an additional assay (default
"amplitude") containing the real-valued instantaneous amplitude
(envelope) of the signal.
See also
hilbertTransform() which must be called first,
instantaneousPhase() for the companion phase extraction,
waveletTransform() for alternative time-frequency decomposition.
Examples
pe <- PhysioExperiment(
assays = list(raw = matrix(rnorm(500 * 4), nrow = 500)),
samplingRate = 100
)
# First compute Hilbert transform, then extract amplitude
pe <- hilbertTransform(pe)
pe <- instantaneousAmplitude(pe)