Class BeamAlgoParamsPane.BeamInfo

java.lang.Object
beamformer.algorithms.BeamAlgoParamsPane.BeamInfo
Enclosing class:
BeamAlgoParamsPane

public class BeamAlgoParamsPane.BeamInfo extends Object
Inner class, containing beam information for each beam in the spreadsheet
Author:
mo55
  • Constructor Details

    • BeamInfo

      public BeamInfo(int beamNum, int angle, int secAngle, int window, double[] freqRange)
      Parameters:
      beamNum -
      angle -
      window -
  • Method Details

    • calculateWeights

      public void calculateWeights()
    • calculateBeamPattern

      public void calculateBeamPattern()
      Based on concepts from Matlab code delay-and-sum.zip
      Parameters:
      hydrophones -
      beamPatternBeams -
    • getBeamNum

      public int getBeamNum()
      Returns:
      the beamNum
    • setBeamNum

      public void setBeamNum(int beamNum)
      Parameters:
      beamNum - the beamNum to set
    • getAngle

      public int getAngle()
      Returns:
      the angle
    • setAngle

      public void setAngle(int angle)
      Parameters:
      angle - the angle to set
    • getSecAngle

      public int getSecAngle()
      Returns:
      the secondary angle
    • setSecAngle

      public void setSecAngle(int secAngle)
      Parameters:
      secAngle -
    • getWindow

      public int getWindow()
      Returns:
      the window
    • getWindowName

      public String getWindowName()
      Returns:
      the window name
    • setWindow

      public void setWindow(int window)
      Parameters:
      window - the window to set
    • getWeights

      public double[] getWeights()
      Returns:
      the weights
    • setWeights

      public void setWeights(double[] weights)
      Parameters:
      weights - the weights to set
    • getBeamPattern

      public javafx.scene.chart.XYChart.Series<Number,Number> getBeamPattern()
      Returns:
      the beamPattern
    • setBeamPattern

      public void setBeamPattern(javafx.scene.chart.XYChart.Series<Number,Number> beamPattern)
      Parameters:
      beamPattern - the beamPattern to set
    • getFreqs

      public double[] getFreqs()
      Returns:
    • setFreqRange

      public void setFreqRange(double[] freqRange)
      Parameters:
      freqRange - the freqRange to set