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
ConstructorDescriptionBeamInfo
(int beamNum, int angle, int secAngle, int window, double[] freqRange) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Based on concepts from Matlab code delay-and-sum.zipvoid
int
getAngle()
int
double[]
getFreqs()
int
double[]
int
void
setAngle
(int angle) void
setBeamNum
(int beamNum) void
setBeamPattern
(javafx.scene.chart.XYChart.Series<Number, Number> beamPattern) void
setFreqRange
(double[] freqRange) void
setSecAngle
(int secAngle) void
setWeights
(double[] weights) void
setWindow
(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
-