tfrStats.get_dpvals_minmax module

tfrStats.get_dpvals_minmax.get_dpvals_minmax(tfr_emp, tfr_null, tail)[source]

Get p-values from min-max null distribution

This functions pools the null distribution values and computes the p-values for each frequency and time bin.

Todo

  • Merge this function with get_pvals_whole.

Parameters:
  • tfr (float) – empirical time frequency representation (i.e. 30, 12, 16, 113 ).

  • null_tfr (float) – null time frequency representation (i.e. 1000, 30, 12, 16, 2 ).

Returns:

statistical map of p-values for each frequency-time or space-time bin.

Return type:

float

@author: Nicolas Gravel, 19.09.2023