Compute phase of an oscillation using the Hilbert transform
hilbert_phase.RdGiven a value that oscillates (x), first computes the analytic signal
using the Hilbert transform, then the phase of that signal.
Arguments
- x
Oscillating signal
- na.skip
TRUE or FALSE to skip NAs. See
skip_na()for differences with na.omit (default = TRUE)- unwrap
TRUE or FALSE to unwrap the phase signal so that it increases smoothly over time (default = TRUE)
- check_reasonableness
TRUE or FALSE to run some checks on the input data to make sure that the output will be reasonable (default = TRUE)