Extracts the instantaneous phase from the analytic signal.
Value
A PhysioExperiment object with an additional assay (default
"phase") containing instantaneous phase values in radians
(range \([-\pi, \pi]\)).
See also
hilbertTransform() which must be called first,
instantaneousAmplitude() for the companion amplitude extraction,
plv() for phase-based connectivity analysis.
Examples
pe <- PhysioExperiment(
assays = list(raw = matrix(rnorm(500 * 4), nrow = 500)),
samplingRate = 100
)
# First compute Hilbert transform, then extract phase
pe <- hilbertTransform(pe)
pe <- instantaneousPhase(pe)