datatools
datatools copied to clipboard
autocorr -- calculate autocorrelation
Add support for autocorrelation.
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?
Will do.
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
-