transfreq.viz
.plot_transfreq_minimum¶
- transfreq.viz.plot_transfreq_minimum(psds_rest, freqs, tf, showfig=True, ax=None)¶
Plot rest power spectrum profile and the transition frequency computed with minimum method
- Parameters:
- psds_rest: array, shape (N_sensors, N_freqs)
power spectral matrix of the resting state data
- psds_task: array, shape (N_sensors, N_freqs)
power spectral matrix of the data recorded dunring a task execution
- freqs: array, shape (N_freqs,)
frequncies at which the psds is computed
- tf: scalar
the tf computed with Klimesch’s method (output of compute_transfreq_klimesch)
- showfig: bool (default True)
if True figure will be showed, if False figure will not be showed
- ax: instance of Axes | None
Axes to plot into. If None, axes will be created.
- Returns:
- fig: instance of Figure
Figure representing rest and task power spectra profiles and the transition frequencycomputed with Klimesch’s method