Back to this "harmonicity" test ...
There's a "coherence" spectral test in I09.sheep.from.goats.pd , might be useful.