Object

breeze.signal

JavaCompatible

Related Doc: package signal

Permalink

object JavaCompatible

This class is a converter for using breeze.signal functions on Arrays of Double and Complex, from Java/Matlab/Mathematica.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaCompatible
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convolve(data: Array[Double], kernel: Array[Double]): Array[Double]

    Permalink
  7. def correlate(data: Array[Double], kernel: Array[Double]): Array[Double]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filterBP(data: Array[Double], omegaLow: Double, omegaHigh: Double): Array[Double]

    Permalink

    See filterBP

  11. def filterBP(data: Array[Double], omegaLow: Double, omegaHigh: Double, sampleRate: Double): Array[Double]

    Permalink

    See filterBP

  12. def filterBP(data: Array[Double], omegaLow: Double, omegaHigh: Double, sampleRate: Double, taps: Int): Array[Double]

    Permalink

    Bandpass filter the data using a windowed FIR filter.

    Bandpass filter the data using a windowed FIR filter. See/use breeze.signal.filterBP() for more details, and to set advanced options.

    data

    data to filter

    omegaLow

    low frequency (in units of Nyquist frequency or Hz if sampleRate is set to specific value other than 2d)

    omegaHigh

    high frequency (in units of Nyquist frequency or Hz if sampleRate is set to specific value other than 2d)

    sampleRate

    in Hz, default 2d (omegaLow/High will then be in units of Nyquist frequency)

    taps

    number of taps to use, default 512

  13. def filterBS(data: Array[Double], omegaLow: Double, omegaHigh: Double): Array[Double]

    Permalink

    See filterBS

  14. def filterBS(data: Array[Double], omegaLow: Double, omegaHigh: Double, sampleRate: Double): Array[Double]

    Permalink

    See filterBS

  15. def filterBS(data: Array[Double], omegaLow: Double, omegaHigh: Double, sampleRate: Double, taps: Int): Array[Double]

    Permalink

    Bandstop filter the data using a windowed FIR filter.

    Bandstop filter the data using a windowed FIR filter. See/use breeze.signal.filterBS() for more details, and to set advanced options.

    data

    data to filter

    omegaLow

    low frequency (in units of Nyquist frequency or Hz if sampleRate is set to specific value other than 2d)

    omegaHigh

    high frequency (in units of Nyquist frequency or Hz if sampleRate is set to specific value other than 2d)

    sampleRate

    in Hz, default 2d (omegaLow/High will then be in units of Nyquist frequency)

    taps

    number of taps to use, default 512

  16. def filterHP(data: Array[Double], omega: Double): Array[Double]

    Permalink

    See filterHP

  17. def filterHP(data: Array[Double], omega: Double, sampleRate: Double): Array[Double]

    Permalink

    See filterHP

  18. def filterHP(data: Array[Double], omega: Double, sampleRate: Double, taps: Int): Array[Double]

    Permalink

    High pass filter the data using a windowed FIR filter.

    High pass filter the data using a windowed FIR filter. See/use breeze.signal.filterHP() for more details, and to set advanced options.

    data

    data to filter

    omega

    cutoff frequency (in units of Nyquist frequency or Hz if sampleRate is set to specific value other than 2d)

    sampleRate

    in Hz, default 2d (omega will then be in units of Nyquist frequency)

    taps

    number of taps to use, default 512

  19. def filterLP(data: Array[Double], omega: Double): Array[Double]

    Permalink

    See filterLP

  20. def filterLP(data: Array[Double], omega: Double, sampleRate: Double): Array[Double]

    Permalink

    See filterLP

  21. def filterLP(data: Array[Double], omega: Double, sampleRate: Double, taps: Int): Array[Double]

    Permalink

    Low pass filter the data using a windowed FIR filter.

    Low pass filter the data using a windowed FIR filter. See/use breeze.signal.filterLP() for more details, and to set advanced options.

    data

    data to filter

    omega

    cutoff frequency (in units of Nyquist frequency or Hz if sampleRate is set to specific value other than 2d)

    sampleRate

    in Hz, default 2d (omega will then be in units of Nyquist frequency)

    taps

    number of taps to use, default 512

  22. def filterMedianD(data: Array[Double], windowLength: Int): Array[Double]

    Permalink

    Median filter the input data.

    Median filter the input data. Edge values are median-filtered with shorter windows, in order to preserve the total length of the input.

    windowLength

    only supports odd windowLength values, since even values would cause half-frame time shifts in one or the other direction, and would also lead to floating point values even for integer input

  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def fourierFreqD(windowLength: Int, fs: Double): Array[Double]

    Permalink

    See fourierFreq.

    See fourierFreq. shifted = false

  25. def fourierFreqD(windowLength: Int, fs: Double, shifted: Boolean): Array[Double]

    Permalink

    Returns the frequencies for each tap in a discrete Fourier transform, useful for plotting.

    Returns the frequencies for each tap in a discrete Fourier transform, useful for plotting. You must specify either an fs or a dt argument. If you specify both, which is redundant, fs == 1.0/dt must be true.

    f = [0, 1, ..., n/2-1, -n/2, ..., -1] / (dt*n) if n is even f = [0, 1, ..., (n-1)/2, -(n-1)/2, ..., -1] / (dt*n) if n is odd

    windowLength

    window length of discrete Fourier transform

    fs

    sampling frequency (Hz)

    shifted

    whether to return fourierShift'ed frequencies, default=false

  26. def fourierShiftC(data: Array[Complex]): Array[Complex]

    Permalink

    See fourierShiftD

  27. def fourierShiftD(data: Array[Double]): Array[Double]

    Permalink

    Shift the zero-frequency component to the center of the spectrum.

    Shift the zero-frequency component to the center of the spectrum. Use fourierShiftC instead for complex array input. This function swaps half-spaces for all axes listed (defaults to all). Note that y[0] is the Nyquist component only if len(x) is even.

    data

    input array

  28. def fourierTr2C(data: Array[Array[Complex]]): Array[Array[Complex]]

    Permalink

    See fourierTrD

  29. def fourierTrC(data: Array[Complex]): Array[Complex]

    Permalink

    See fourierTrD

  30. def fourierTrD(data: Array[Double]): Array[Complex]

    Permalink

    Returns the discrete fourier transform.

    Returns the discrete fourier transform. Use fourierTrC instead for complex array imput. Use fourierTr2/2C instead for 2D Fourier tranform.

  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def haarTr2D(data: Array[Array[Double]]): Array[Array[Double]]

    Permalink

    See haarTrD

  33. def haarTrD(data: Array[Double]): Array[Double]

    Permalink

    Return the padded fast haar transformation of a vector or matrix.

    Return the padded fast haar transformation of a vector or matrix. Note that the output will always be padded to a power of 2. A matrix will cause a 2D fht. The 2D haar transformation is defined for squared power of 2 matrices. A new matrix will thus be created and the old matrix will be placed in the upper-left part of the new matrix. Avoid calling this method with a matrix that has few cols / many rows or many cols / few rows (e.g. 1000000 x 3) as this will cause a very high memory consumption.

    data

    data to be transformed.

    See also

    https://en.wikipedia.org/wiki/Haar_wavelet

  34. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  35. def iFourierShiftC(data: Array[Complex]): Array[Complex]

    Permalink

    See iFourierShiftD

  36. def iFourierShiftD(data: Array[Double]): Array[Double]

    Permalink

    Shift the zero-frequency component to the center of the spectrum.

    Shift the zero-frequency component to the center of the spectrum. Use fourierShiftC instead for complex array input. This function swaps half-spaces for all axes listed (defaults to all). Note that y[0] is the Nyquist component only if len(x) is even.

    data

    input array

  37. def iFourierTrC(data: Array[Complex]): Array[Complex]

    Permalink

    See fourierTrD

  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def rootMeanSquareD(data: Array[Double]): Double

    Permalink

    Root mean square of a vector.

  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped