analysis

package
v0.0.0-...-13634c4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AverageFloat64Slice

func AverageFloat64Slice(y []float64) (avg float64)

Finds average of a []float64 Returns average(float64)

func MaxFloat64

func MaxFloat64(y []float64) (ndx int, val float64)

Finds Max Value of a []float64 Returns Index in Slice (int), and Max Value (float64)

func MinMaxFloat64Slice

func MinMaxFloat64Slice(y []float64) (min float64, max float64)

Finds Min and Max of a []float64 Returns Minimum and Maximum Value

func PpFloat64Slice

func PpFloat64Slice(y []float64) (pp float64)

func RmsFloat64Slice

func RmsFloat64Slice(y []float64) (rms float64)

Finds Root Mean Square of []float64 Returns Value (float64)

Types

type SpectrumInfo

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

func VibFFT

func VibFFT(y []float64, dt float64, averages int) ([]float64, SpectrumInfo)

Performs an FFT on a []float64 Uses a Hanning Window by Default

Returns FFT as a []float64 and FFT Information

Jump to

Keyboard shortcuts

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