Closed harmening closed 6 years ago
Looks good to me. Boyan, if you agree I would merge this pull request.
numpy
? How does the performance compare?src_fast_surrogate.c
? I would rather choose something specific to PCC, or, in case we really want backend implementations of different methods in the same C file, something general, akin to the numerics.pyx
.order='c'
point. Maybe the method should dispatch to either our fast implementation or the numpy
one, depending on input size.numerics.c
are huge, generated files. They are not supposed to be in the repository.Please use r()
to round explicit arrays in doctests, which makes them more robust. Example: core.Network.degree_distribution()
. Defined in conftest.py
.
LGTM!
To finish up this PR, please do the following:
_slow
versions.master
, which contains CI tests for the latest versions of numpy
, scipy
and Cython
.docs/source/changelog.rst
under the next version 0.6
.CONTRIBUTIONS.rst
.Thank you!
Example for test_pearson_correlation() function from timeseries.surrates.py