cogpy.wave.generalized_phase

Broadband generalized-phase estimation.

Computes a stabilised instantaneous phase for wideband signals by centering the analytic representation and correcting negative-frequency contamination.

Adapted from mullerlab/generalized-phase [1]. Our implementation uses a simplified frequency-domain approach (centre + re-zero negatives) rather than the time-domain IF-epoch detection with PCHIP interpolation used in the original MATLAB code. This is adequate for well-sampled signals; for noisy recordings with strong negative-frequency epochs, the full MATLAB pipeline may be more robust.

References

Functions

generalized_phase(data[, axis])

Compute broadband generalized phase.