scitex_dsp.utils.pac

Functions

calc_pac_with_tensorpac(xx, fs, t_sec[, ...])

plot_PAC_scitex_vs_tensorpac(pac_scitex, ...)

plot_pac_scitex_vs_tensorpac(pac_scitex, ...)

Plot comparison between SciTeX and Tensorpac phase-amplitude coupling results.

scitex_dsp.utils.pac.calc_pac_with_tensorpac(xx, fs, t_sec, i_batch=0, i_ch=0)[source]
scitex_dsp.utils.pac.plot_PAC_scitex_vs_tensorpac(pac_scitex, pac_tp, freqs_pha, freqs_amp)[source]
scitex_dsp.utils.pac.plot_pac_scitex_vs_tensorpac(pac_scitex, pac_tp, freqs_pha, freqs_amp)[source]

Plot comparison between SciTeX and Tensorpac phase-amplitude coupling results.

This is an alias for plot_PAC_scitex_vs_tensorpac with snake_case naming.

Parameters:
  • pac_scitex (array-like) – PAC values from SciTeX

  • pac_tp (array-like) – PAC values from Tensorpac

  • freqs_pha (array-like) – Phase frequencies

  • freqs_amp (array-like) – Amplitude frequencies

Returns:

fig – The generated figure

Return type:

matplotlib.figure.Figure