Documentation ¶
Index ¶
- func AbsFloat64s(fs []float64) []float64
- func AbsInts(is []int) []int
- func CalcAdjustedRMS(cleanRMS float64, snr float64) (noiseRMS float64)
- func CalcMSE(a []float64, b []float64) (float64, error)
- func CalcRMS(amp []float64) float64
- func Complex128sToFloat64s(cs []complex128) []float64
- func Convolve(xs, ys []float64) []float64
- func FastConvolve(xs, ys []float64) []float64
- func Float64sToComplex128s(fs []float64) []complex128
- func Float64sToInts(fs []float64) []int
- func Int16sToInts(i16s []int16) []int
- func IntsToFloat64s(is []int) []float64
- func LinSpace(start, end float64, n int) []float64
- func NormToMaxInt16(data []float64) []float64
- func ReadCoefFromCSV(inputPath string) (ws []float64)
- func ReadDataFromCSV(inputPath string) (ds []float64, ys []float64, es []float64)
- func ReadDataFromCSVOne(inputPath string, column int) (fs []float64)
- func ReadDataFromWav(name string) []int
- func SaveDataAsCSV(d, y, e, mse []float64, dataDir string, testName string)
- func SaveDataAsCSVOne(fs []float64, dataDir string, testName string)
- func SaveDataAsWav(data []float64, dataDir string, name string)
- func SplitPathAndExt(path string) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsFloat64s ¶
func CalcAdjustedRMS ¶
func Complex128sToFloat64s ¶
func Complex128sToFloat64s(cs []complex128) []float64
func FastConvolve ¶
FastConvolve - Linear fast convolution
func Float64sToComplex128s ¶
func Float64sToComplex128s(fs []float64) []complex128
func Float64sToInts ¶
func Int16sToInts ¶
func IntsToFloat64s ¶
func NormToMaxInt16 ¶
func ReadCoefFromCSV ¶
func ReadDataFromCSV ¶
func ReadDataFromCSVOne ¶
func ReadDataFromWav ¶
func SaveDataAsCSV ¶
func SaveDataAsCSVOne ¶
func SaveDataAsWav ¶
func SplitPathAndExt ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
multirecord
Contents: multi channel record.
|
Contents: multi channel record. |
wav_to_DSB
Contents: wav to DSB converter.
|
Contents: wav to DSB converter. |
Click to show internal directories.
Click to hide internal directories.