pint.eventstats.z2mw

pint.eventstats.z2mw(phases, weights, m=2)[source]

Return the Z^2_m test for each harmonic up to the specified m.

The user provides a list of weights. In the case that they are well-distributed or assumed to be fixed, the CLT applies and the statistic remains calibrated. Nice!