A python package for computing the threshold of significative correlations between signals.
To install the package:
- download the package and uncompress it in the directory of your choice.
- open a terminal and go to root of the directory
/sigcorwhere you have installed thesigcorpackage. This folder containslicense.txt, ...,setup.py. - use
pipto install the package:- type:
pip install . - you can remove the temporary folder
sigcor - (alternative) if you want to install the package in a development mode type, for modifying it use:
pip install -e .
- type:
To use the package in a python module or environment type:
import sigcorTo get
rs = sigcor.get_rs(n, alpha)If signals are filtered, the sampling frequency and bandwidth must be given to adjust for corrections on the number of effective samples used in the formula:
rs = sigcor.get_rs_filtered(n, alpha, B, Fs)