add mutCorrelationUY as well
This commit is contained in:
parent
5694011822
commit
e8f8b21f89
@ -35,6 +35,11 @@ func run() error {
|
||||
return err
|
||||
}
|
||||
|
||||
mutCorrelationYU, err := stats.MutCorrelate(data[y], data[u], maxShift)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Printf("len(data): %d", len(data[u]))
|
||||
|
||||
log.Printf("means - u: %v, y: %v", meanU, meanY)
|
||||
@ -45,6 +50,7 @@ func run() error {
|
||||
log.Printf("autocorrelationU: %v", autocorrelationU)
|
||||
log.Printf("autocorrelationY: %v", autocorrelationY)
|
||||
log.Printf("mutual correlation U,Y: %v", mutCorrelationUY)
|
||||
log.Printf("mutual correlation Y,U: %v", mutCorrelationYU)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user