Class MVDRBeam

java.lang.Object
beamformer.algorithms.BeamInformation
beamformer.algorithms.mvdr.MVDRBeam

public class MVDRBeam extends BeamInformation
  • Constructor Summary

    Constructors
    Constructor
    Description
    MVDRBeam(MVDRalgorithm mvdRalgorithm, int channelMap, int sequenceNum, PamVector beamVec, PamVector[] elementLocs, double[] freqBins, double speedOfSound)
    Main constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the number of FFT bins this beam needs to process.
    int
     
    int
    Return the index number in the FFT data unit that corresponds to the minimum frequency to analyse.
    process(org.apache.commons.math3.linear.FieldMatrix<org.apache.commons.math3.complex.Complex>[] Rinv)
    Process a set of FFT Data units over the entire frequency range
    process(org.apache.commons.math3.linear.FieldMatrix<org.apache.commons.math3.complex.Complex>[] Rinv, int startBin, int numBins, int fullNumFFTBins)
    Process a set of FFT Data units.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MVDRBeam

      public MVDRBeam(MVDRalgorithm mvdRalgorithm, int channelMap, int sequenceNum, PamVector beamVec, PamVector[] elementLocs, double[] freqBins, double speedOfSound)
      Main constructor
      Parameters:
      mvdRalgorithm -
      channelMap -
      sequenceNum -
      beamVec -
      elementLocs -
      freqBins -
      speedOfSound -
      channelList -
      weights -
  • Method Details

    • process

      public ComplexArray process(org.apache.commons.math3.linear.FieldMatrix<org.apache.commons.math3.complex.Complex>[] Rinv)
      Process a set of FFT Data units over the entire frequency range
      Returns:
      complex array of summed beamformed data. Note that the size of the array is the number of frequency bins in the full frequency range, as specified by the user in the parameters GUI
    • process

      public ComplexArray process(org.apache.commons.math3.linear.FieldMatrix<org.apache.commons.math3.complex.Complex>[] Rinv, int startBin, int numBins, int fullNumFFTBins)
      Process a set of FFT Data units. Note that we may only be processing a portion of the frequency range
      Parameters:
      Rinv - array containing one FFTDataUnit for each channel to analyse
      startBin - the index in the FFTDataUnit to start processing at.
      numBins - the number of FFT bins to process
      fullNumFFTBins - the number of fft bins in an FFTDataUnit object
      Returns:
      complex array of summed beamformed data. Note that the size of the array is the number of frequency bins in the full frequency range, as specified by the user in the parameters GUI, even if only a portion of that range was actually processed
    • getSequenceMap

      public int getSequenceMap()
      Returns:
      the sequenceMap
    • getStartIdx

      public int getStartIdx()
      Return the index number in the FFT data unit that corresponds to the minimum frequency to analyse. This refers to the entire frequency range as specified by the user in the parameters GUI
      Returns:
      the starting index number
    • getNumFFTBins

      public int getNumFFTBins()
      Return the number of FFT bins this beam needs to process. This is the entire frequency range, as specified by the user in the parameters GUI
      Returns:
      the number of frequency bins in the entire frequency range