allantools icon indicating copy to clipboard operation
allantools copied to clipboard

remove dependence on scipy

Open aewallin opened this issue 9 years ago • 1 comments

because scipy is a very slow compile and install it takes quite a bit of time to test allantools in virtual environments (e.g. travis-ci or virtualenv)

There is only one function from scipy used: scipy.stats.chi2.ppf()

I tried writing this function using only numpy, but the implementation fails in some corner cases, see: http://www.anderswallin.net/2016/05/scipy-stats-chi2-ppf-without-scipy/

aewallin avatar May 04 '16 19:05 aewallin

notes on the boost C++ implementation of this function: http://www.boost.org/doc/libs/1_35_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma.html#math_toolkit.special.sf_gamma.igamma.implementation

aewallin avatar May 05 '16 05:05 aewallin

no work on this issue for a long time. also testing seems much faster now, maybe previously scipy was built from source, and now it is pre-built and just installed. closing.

aewallin avatar Apr 07 '24 07:04 aewallin