Python API Reference

Operative functions

compute_transfreq(psds, freqs[, ch_names, ...])

Automatically compute transition frequency

compute_transfreq_manual(psds, freqs, ...[, ...])

Compute transition frequency given a customezed cluster

compute_transfreq_klimesch(psds_rest, ...)

Compute transition frequency with Klimesch's method

compute_transfreq_minimum(psds_rest, freqs)

Compute transition frequency with minimum method

Visualisation functions

plot_psds(psds, freqs[, average, showfig, ax])

Plot normalised power spectrum

plot_coefficients(psds, freqs, ch_names[, ...])

Plot alpha and theta coefficients

plot_clusters(tfbox[, mode, order, showfig, ax])

Plot clusters

plot_channels(tfbox, ch_locs[, mode, ...])

Plot clustered channels on head topomap

plot_transfreq(psds, freqs, tfbox[, showfig, ax])

Plot alpha and theta power spectra profiles and the transition frequency

plot_transfreq_klimesch(psds_rest, ...[, ...])

Plot rest and task power spectra profiles and the transition frequency computed with Klimesch's method

plot_transfreq_minimum(psds_rest, freqs, tf)

Plot rest power spectrum profile and the transition frequency computed with minimum method