tfrStats.load_uv_tfrs module¶
- tfrStats.load_uv_tfrs.load_uv_tfrs(input_path, svar, cond, fband, obs)[source]¶
Load empirical and null TFRs
This functions loads the results of tfr_spw_stats_minmax or load_uv_tfrs
Todo
Handle parameters with dictionary.
- Parameters:
input_path (string) – path to the .npz file.
condition (in) – condition index (i.e. 0, 1, 2, 3).
svar (int) – spectral power or GPR (not implemented here).
fband (int) – frequency band index (i.e. low, high, higher).
obs (int) – [nullType, percentile], two integeres: 0 for min-max, 1 for whole, 0-100 percentile
- Returns:
empirical time frequency representation n_conds x n_sites x n_freqs x n_time (i.e. 30, 12, 16, 113).
- Returns:
null time frequency representation (i.e. 30, 12, 16, 113 or 1000, 30, 12, 16, 2).
- Return type:
float
@author: Nicolas Gravel, 19.09.2023