Documentation ¶
Index ¶
- func PrintMemUsage()
- type Params
- func (dft *Params) FftReal(fftCoefs []complex128, in *etensor.Float32)
- func (dft *Params) Filter(ch int, step int, windowIn *etensor.Float32, winSamples int, ...)
- func (dft *Params) Initialize(winSamples int)
- func (dft *Params) Power(ch, step int, winSamples int, fftCoefs []complex128, power *etensor.Float32, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintMemUsage ¶ added in v1.6.0
func PrintMemUsage()
Types ¶
type Params ¶
type Params struct { CompLogPow bool `` /* 153-byte string literal not displayed */ LogMin float32 `viewif:"CompLogPow" def:"-100" desc:"minimum value a log can produce -- puts a lower limit on log output"` LogOffSet float32 `` /* 174-byte string literal not displayed */ PrevSmooth float32 `` /* 178-byte string literal not displayed */ CurSmooth float32 `inactive:"+" desc:" how much of current power to include"` }
Dft struct holds the variables for doing a fourier transform
func (*Params) FftReal ¶
func (dft *Params) FftReal(fftCoefs []complex128, in *etensor.Float32)
FftReal
func (*Params) Filter ¶
func (dft *Params) Filter(ch int, step int, windowIn *etensor.Float32, winSamples int, power *etensor.Float32, logPower *etensor.Float32, powerForSegment *etensor.Float32, logPowerForSegment *etensor.Float32)
Filter filters the current window_in input data according to current settings -- called by ProcessStep, but can be called separately
func (*Params) Initialize ¶
Click to show internal directories.
Click to hide internal directories.