GeneralizedPhase.jl

Implement mullerlab/generalized-phase in Julia
Author brendanjohnharris
Popularity
0 Stars
Updated Last
2 Months Ago
Started In
May 2022

GeneralizedPhase.jl

Implement mullerlab/generalized-phase in Julia

example figure

Usage

using GeneralizedPhase
t = 0.001:0.001:10
fs = 1/step(t)
x = [sin.(a.*t) for a in [10, 11, 12, 13, 14]] |> sum

๐œ‘ = _generalized_phase(x, fs) # Calculate the interpolated analytic phase
๐œ‘ = generalized_phase(x, fs) # Apply a broad-band filter before interpolating phase

Used By Packages

No packages found.