Package beamformer.localiser.plot
Class BeamDataDisplay
java.lang.Object
beamformer.localiser.plot.BeamDataDisplay
- Direct Known Subclasses:
BeamDataDisplayF
,MiniBeamOGram2D
-
Constructor Summary
ConstructorDescriptionBeamDataDisplay
(BeamFormLocaliserControl bfLocControl, int channelMap, String plotName, String xAxisLabel, String yAxisLabel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
findAlgorithmParams
(int channelMap) Find the algorithm parameters for a channel map.int
double[]
javafx.scene.Node
getNode()
boolean
void
setChannelMap
(int channelMap) void
setLinePlotData
(double[] linePlotData, double scaleMin, double scaleMax) void
setPaintPeakLine
(boolean paintPeakLine) abstract void
update
(BeamLocaliserData beamLocData)
-
Constructor Details
-
BeamDataDisplay
public BeamDataDisplay(BeamFormLocaliserControl bfLocControl, int channelMap, String plotName, String xAxisLabel, String yAxisLabel)
-
-
Method Details
-
getNode
public javafx.scene.Node getNode() -
update
-
getSimplePlot
- Returns:
- the simplePlot
-
drawScaledPeakLine
public void drawScaledPeakLine() -
isPaintPeakLine
public boolean isPaintPeakLine()- Returns:
- the paintPeakLine
-
setPaintPeakLine
public void setPaintPeakLine(boolean paintPeakLine) - Parameters:
paintPeakLine
- the paintPeakLine to set
-
getLinePlotData
public double[] getLinePlotData()- Returns:
- the linePlotData
-
findAlgorithmParams
Find the algorithm parameters for a channel map.- Parameters:
channelMap
- channel map from beam former output- Returns:
- corresponding algorithm parameters.
-
setLinePlotData
public void setLinePlotData(double[] linePlotData, double scaleMin, double scaleMax) - Parameters:
linePlotData
- the linePlotData to set
-
getBfLocControl
- Returns:
- the bfLocControl
-
getChannelMap
public int getChannelMap()- Returns:
- the channelMap
-
setChannelMap
public void setChannelMap(int channelMap) - Parameters:
channelMap
- the channelMap to set
-