cogpy.wave.phase_gradient
Phase-gradient analysis and plane-wave fitting.
Implements the phase-gradient directionality (PGD) framework from Zhang et al. (2018) for characterizing travelling waves via spatial gradients of instantaneous phase.
References
Ported from sayak66/wm_travelingwaves_code (phase gradient, PGD, plane-wave fit).
Functions
|
Compute unwrapped instantaneous phase via the Hilbert transform. |
|
Phase-gradient directionality score per time step. |
|
Compute the spatial phase gradient at each time step. |
|
Fit a plane wave to each time frame of a phase map. |