calc

package
v0.0.0-...-f543377 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoAverage

func DoAverage(matBuffer [][13362]float32, divisor float32)

DoAverage does averaging

func DoPearson

func DoPearson(timeSeries [][600]float32, stats []LinStatEle, matBuffer [][13362]float32)

DoPearson does Pearson's correlation calculation

func DoSigmoid

func DoSigmoid(timeSeries [][600]float32, stats []LinStatEle, workerConfig *Config)

DoSigmoid does sigmoid operation

func DoThresholding

func DoThresholding(matBuffer [][13362]float32, dest *mat.SymDense, threshold float64)

DoThresholding does Thresholding

func DoZScoring

func DoZScoring(timeSeries [][600]float32, workerConfig *Config)

DoZScoring does z-scoring

Types

type Config

type Config struct {
	NumLoader     int
	NumComputer   int
	NumBufferSize int
}

Config holds wokrder related configuration

type LinStatEle

type LinStatEle struct {
	// contains filtered or unexported fields
}

LinStatEle represents the statistic of a timeseries of one voxel point

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL