tfrStats.get_pvals_minmax module¶
- tfrStats.get_pvals_minmax.get_pvals_minmax(tfr_emp, tfr_null, tail)[source]¶
Get p-values from min-max null distribution
This functions pools the permuted min-max values and computes the p-values for each frequency and time bin using the empirical cumulative distribution method.
Todo
Merge this function with get_pvals_whole.
- Parameters:
tfr (float) – empirical time frequency representation (i.e. 30, 12, 16, 113 ).
null_tfr (float) – nul 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