transfreq.functions.compute_transfreq_klimesch

transfreq.functions.compute_transfreq_klimesch(psds_rest, psds_task, freqs)

Compute transition frequency with Klimesch’s 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,)

frequencies at which the psds_rest and psds_task are computed

Returns:

tf: scalar