datatools icon indicating copy to clipboard operation
datatools copied to clipboard

autocorr -- calculate autocorrelation

Open talwrii opened this issue 9 years ago • 3 comments

Add support for autocorrelation.

talwrii avatar Sep 10 '16 01:09 talwrii

This is a great addition. I am in the midst of a rewrite to support python3 (without losing python 2.x). Can you update this to support 3.x and 2.x?

bagrow avatar Sep 12 '16 13:09 bagrow

Will do.

talwrii avatar Sep 12 '16 19:09 talwrii

Python 3 support:

seq 20 | python3 autocorr
1.0
0.926829268293
0.854006968641
0.781881533101
0.710801393728
0.641114982578
0.573170731707
0.507317073171
0.443902439024
0.383275261324
0.325783972125
0.271777003484
0.221602787456
0.175609756098
0.134146341463
0.0975609756098
0.0662020905923
0.0404181184669
0.0205574912892
0.00696864111498
-

talwrii avatar Sep 12 '16 20:09 talwrii