bundles / scipy 1.18.0 / scipy / stats / _mgc / _threshold_mgc_map
function
scipy.stats._mgc:_threshold_mgc_map
source: /scipy/stats/_mgc.py:432
Signature
def _threshold_mgc_map(stat_mgc_map, samp_size)Summary
Finds a connected region of significance in the MGC-map by thresholding.
Parameters
stat_mgc_map: ndarrayAll local correlations within
[-1,1].samp_size: intThe sample size of original data.
Returns
sig_connect: ndarrayA binary matrix with 1's indicating the significant region.
Aliases
scipy.stats._mgc._threshold_mgc_map