Geometric and Topological Methods for Significance Testing in Wavelet Analysis

Performs the geometric significance test on features in wavelet power and coherence spectra


Updated 26 Jul 2015

View License

The functions collectively calculate geometric and statistical properties of so-called pointwise significance patches, contiguous regions of pointwise significance in wavelet power and coherence spectra. The code is a modified version of the code written by A. Grinsted available at and that written by Eric K. W. Ng available at In particular, the normalized areas of patches are computed and are use to assess the geometric significance of the patches relative to a null distribution, reducing the number of spurious results obtained from the pointwise test.
The testing procedure can be applied to wavelet power spectra obtained from the Paul, Morlet, and Dog wavelets and to patches at various pointwise significance levels. The number of holes in patches at a desired pointwise significance level can also be computed. A plotting routine is included to display the results of the geometric testing procedure.
Schulte, J. A., Duffy, C., and Najjar, R. G.: Geometric and topological approaches to significance testing in wavelet analysis, Nonlin. Processes Geophys., 22, 139-156, doi:10.5194/npg-22-139-2015, 201

Cite As

Justin Schulte (2023). Geometric and Topological Methods for Significance Testing in Wavelet Analysis (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: geom2d

Inspired: Cumulative Areawise Testing in Wavelet Analysis

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Software package now includes wavelet partial coherence.
some outputs in wt_geo are now suppressed.
Code has been updated to run faster and be more flexible. The code longer uses the contour function

Code has been updated to be more flexible and faster. The new code no longer uses the contour function.