run: use non-math-pow autocorrelation func (fastR)

This commit is contained in:
leo 2023-02-25 13:50:28 +01:00
parent 8dc432a14b
commit d7f4db9205
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -35,8 +35,8 @@ func run() error {
varianceY := stats.Variance(data[y])
maxShift := 0.1
autocorrelationU := stats.AutocorrelateMP(data[u], maxShift)
autocorrelationY := stats.AutocorrelateMP(data[y], maxShift)
autocorrelationU := stats.Autocorrelate(data[u], maxShift)
autocorrelationY := stats.Autocorrelate(data[y], maxShift)
log.Printf("len(data): %d", len(data[u]))