tensorpac.utils.pac_trivec

tensorpac.utils.pac_trivec(f_start=60.0, f_end=160.0, f_width=10.0)[source]

Generate triangular vector.

By contrast with the pac_vec function, this function generate frequency vector with an increasing frequency bandwidth.

Parameters
f_startfloat | 60.

Starting frequency.

f_endfloat | 160.

Ending frequency.

f_widthfloat | 10.

Frequency bandwidth increase between each band.

Returns
farray_like

The triangular vector.

tridxarray_like

The triangular index for the reconstruction.