Did I find the right examples for you? yes no

random_threshold.randthresh_main

All Samples(18)  |  Call(16)  |  Derive(0)  |  Import(2)

```import scipy.stats as st

from ..random_threshold import randthresh_main

def make_data(n=10, dim=20, r=5, mdim=15, maskdim=20, amplitude=10,
```
```         K = (signal == 0).sum() - 100
verbose=False
randthresh_main(X, K, XYZ=None, p=np.inf, varwind=True,
knownull=True, stop=False, verbose=verbose)
randthresh_main(Y, K, XYZ=None, p=np.inf, varwind=True,
knownull=False, stop=True, verbose=verbose)

randthresh_main(X, K, XYZ=None, p=np.inf, varwind=False,
knownull=True, stop=True, verbose=verbose)
randthresh_main(Y, K, XYZ=None, p=np.inf, varwind=False,
```

```import scipy.stats as st

from ..random_threshold import randthresh_main

def make_data(n=10, dim=20, r=5, mdim=15, maskdim=20, amplitude=10,
```
```         K = (signal == 0).sum() - 100
verbose=False
randthresh_main(X, K, XYZ=None, p=np.inf, varwind=True,
knownull=True, stop=False, verbose=verbose)
randthresh_main(Y, K, XYZ=None, p=np.inf, varwind=True,
knownull=False, stop=True, verbose=verbose)

randthresh_main(X, K, XYZ=None, p=np.inf, varwind=False,
knownull=True, stop=True, verbose=verbose)
randthresh_main(Y, K, XYZ=None, p=np.inf, varwind=False,
```