Versions in this module Expand all Collapse all v0 v0.0.6 Aug 24, 2021 v0.0.5 Aug 23, 2021 Changes in this version + func BinRange(sFreq freq.T, n, b int) (l, u freq.T) + func Dilate(d []complex128, p, q int) + func Do(d []complex128) + func FreqAt(sFreq freq.T, n int, i float64) freq.T + func FreqBin(sFreq, aFreq freq.T, n int) int + func Inv(d []complex128) + func InvTo(dst, src []complex128) []complex128 + func Ny(n int) int + func R2Size(n int) int + func To(dst, src []complex128) []complex128 + func WinSize(fS, fA, fE freq.T) (n, c int) + func ZeroPad(d []complex128, n int) []complex128 + func ZeroPadTo(dst, src []complex128, n int) []complex128 + type HalfComplex []float64 + func (a HalfComplex) MulElems(b HalfComplex) HalfComplex + func (h HalfComplex) Cmplx(i int) complex128 + func (h HalfComplex) FromCmplx(d []complex128) + func (h HalfComplex) FromPolar(mag, ph []float64) + func (h HalfComplex) Imag(i int) float64 + func (h HalfComplex) Len() int + func (h HalfComplex) Real(i int) float64 + func (h HalfComplex) SetCmplx(i int, c complex128) + func (h HalfComplex) SetImag(i int, v float64) + func (h HalfComplex) SetReal(i int, v float64) + func (h HalfComplex) ToCmplx(d []complex128) + func (h HalfComplex) ToPolar(mag, ph []float64) + type Real struct + func NewReal(n int) *Real + func (r *Real) Do(d []float64) HalfComplex + func (r *Real) Inv(hc HalfComplex) []float64 + func (r *Real) N() int + func (r *Real) Scale(v bool) + type S struct + func NewS(d []complex128) *S + func NewSHalfComplex(hc HalfComplex) *S + func NewSN(n int) *S + func (s *S) At(i int) complex128 + func (s *S) CopyFrom(t *S) + func (s *S) FoldReal() + func (s *S) FromHalfComplex(hc HalfComplex) error + func (s *S) FromRect(d []complex128) error + func (s *S) ItpPeaks(dst []float64) []float64 + func (s *S) ItpQMag(f float64) float64 + func (s *S) Mag(i int) float64 + func (s *S) MagDb(i int) float64 + func (s *S) N() int + func (s *S) Ny() int + func (s *S) PeakItpQ(i int) (idx float64, mag float64, phase float64) + func (s *S) Peaks() []int + func (s *S) PeaksTo(dst []int) []int + func (s *S) Phase(i int) float64 + func (s *S) PlotMag(b image.Rectangle) *image.RGBA + func (s *S) PlotMagTo(b image.Rectangle, p string) error + func (s *S) Power() float64 + func (s *S) Rect(dst []complex128) []complex128 + func (s *S) SetMag(i int, m float64) + func (s *S) SetPhase(i int, p float64) + func (s *S) ToHalfComplex(dst HalfComplex) HalfComplex + type T struct + func New(n int) *T + func NewT(n, padN int) *T + func (t *T) AutoCorr(d []complex128) error + func (t *T) Cap() int + func (t *T) Do(d []complex128) error + func (t *T) Inv(d []complex128) error + func (t *T) InvTo(dst, src []complex128) ([]complex128, error) + func (t *T) N() int + func (t *T) Scale(v bool) + func (t *T) To(dst, src []complex128) ([]complex128, error) + func (t *T) Win(c []complex128) []complex128