Package beamformer.algorithms
Class BeamAlgoParamsPane.BeamInfo
java.lang.Object
beamformer.algorithms.BeamAlgoParamsPane.BeamInfo
- Enclosing class:
 BeamAlgoParamsPane
Inner class, containing beam information for each beam in the spreadsheet
- Author:
 - mo55
 
- 
Constructor Summary
ConstructorsConstructorDescriptionBeamInfo(int beamNum, int angle, int secAngle, int window, double[] freqRange)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidBased on concepts from Matlab code delay-and-sum.zipvoidintgetAngle()intdouble[]getFreqs()intdouble[]intvoidsetAngle(int angle) voidsetBeamNum(int beamNum) voidsetBeamPattern(javafx.scene.chart.XYChart.Series<Number, Number> beamPattern) voidsetFreqRange(double[] freqRange) voidsetSecAngle(int secAngle) voidsetWeights(double[] weights) voidsetWindow(int window)  
- 
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
- 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
- Returns:
 - the beamPattern
 
 - 
setBeamPattern
- Parameters:
 beamPattern- the beamPattern to set
 - 
getFreqs
public double[] getFreqs()- Returns:
 
 - 
setFreqRange
public void setFreqRange(double[] freqRange) - Parameters:
 freqRange- the freqRange to set
 
 -