pybic.BicAn.MonteCarloMax

BicAn.MonteCarloMax(N=2, Nrolls=1000, critCoh=1.0, plot=False, verbose=False)[source]

Identifies maxima in N-coherence spectra with random restart hillclimb.

Uses absolute value of spectrogram sg and randomized phases.

Parameters:
  • N (int) – Polyspectral order.

  • Nrolls (int) – Number of randomized trials.

  • critCoh (float) – Critical level of N-coherence.

  • plot (bool) – Plot data (N must be 2 or 3).

  • verbose (bool) – Show tested frequencies.