Class BeamAlgoParamsPane

java.lang.Object
PamController.SettingsPane<BeamAlgorithmParams>
beamformer.algorithms.BeamAlgoParamsPane
Direct Known Subclasses:
BasicFreqDomParamsPane2, MVDRParamsPane2

public class BeamAlgoParamsPane extends SettingsPane<BeamAlgorithmParams>
Author:
mo55
  • Field Details Link icon

    • curParams Link icon

      protected BeamAlgorithmParams curParams
      The parameters to display in the dialog
    • beamList Link icon

      protected final javafx.collections.ObservableList<BeamAlgoParamsPane.BeamInfo> beamList
      List of beams in this group
    • selectedBeam Link icon

      protected BeamAlgoParamsPane.BeamInfo selectedBeam
      The beam that is currently selected in the spreadsheet
    • nextBeamNum Link icon

      protected int nextBeamNum
      The next beam number to use in the spreadsheet
    • beamTable Link icon

      protected javafx.scene.control.TableView<BeamAlgoParamsPane.BeamInfo> beamTable
      The TableView object containing the beam information
    • addButton Link icon

      protected javafx.scene.control.Button addButton
    • lineChart Link icon

      protected javafx.scene.chart.LineChart<Number,Number> lineChart
      The line chart showing the beam pattern
    • elementLocs Link icon

      protected PamVector[] elementLocs
      The hydrophone element locations
    • fullFreqRange Link icon

      protected double[] fullFreqRange
      The full frequency range, calculated as the min and max frequency of the current FFT
    • minPrime Link icon

      protected int minPrime
      minimum allowable primary angle
    • maxPrime Link icon

      protected int maxPrime
      maximum allowable primary angle
    • minSec Link icon

      protected int minSec
      minimum allowable secondary angle
    • maxSec Link icon

      protected int maxSec
      maximum allowable secondary angle
    • addSecAngle Link icon

      protected javafx.scene.control.TextField addSecAngle
      Secondary angle text box
    • addAngle Link icon

      protected javafx.scene.control.TextField addAngle
    • addBox Link icon

      protected javafx.scene.layout.HBox addBox
    • grid Link icon

      protected javafx.scene.layout.GridPane grid
  • Constructor Details Link icon

    • BeamAlgoParamsPane Link icon

      public BeamAlgoParamsPane(Object window, BeamFormerBaseControl beamFormerControl2)
      Parameters:
      basicFreqDomBeamProvider -
  • Method Details Link icon

    • createBeamListPane Link icon

      public javafx.scene.Node createBeamListPane()
      Create the pane holding the list of beams
      Returns:
    • createDefaults Link icon

      public void createDefaults()
      Create a list of default beams, evenly spread between 0 and 180 degrees. For these, the elevation is 0 deg
    • createBeamPatternPane Link icon

      public javafx.scene.Node createBeamPatternPane()
      Returns:
    • freqChanged Link icon

      protected void freqChanged(int newFreq)
      Parameters:
      newFreq -
    • createBeamogramPane Link icon

      protected javafx.scene.Node createBeamogramPane()
      Returns:
    • prepareConstants Link icon

      public void prepareConstants()
      Get the current hydrophone locations, and set the field vector elementLocs
    • getParams Link icon

      Take settings from the pane and save them into the parameters object
      Specified by:
      getParams in class SettingsPane<BeamAlgorithmParams>
      Parameters:
      p - settings passed into this object by PamDialogFX2AWT - ignored
      Returns:
      settings class
    • checkBeamogramStatus Link icon

      public BeamAlgoParamsPane.BeamgramStatus checkBeamogramStatus()
      Test whether the beamogram data is valid. This should only be called if the beamogram check box is checked
      Returns:
    • setParams Link icon

      public void setParams(BeamAlgorithmParams newParams)
      Take settings from the parameters object and load them into the pane
      Specified by:
      setParams in class SettingsPane<BeamAlgorithmParams>
      Parameters:
      newParams - - current settings class.
    • setBeamogramData Link icon

      public void setBeamogramData()
      Fills in the data on the beamogram tab, or clears it
    • setTabVisibility Link icon

      public void setTabVisibility()
      Adds/Removes the beam and beamogram tabs, based on the current parameters
    • setAngleRange Link icon

      public void setAngleRange()
      Sets the valid angle range, based on the array shape
    • setArrayTypeLables Link icon

      public void setArrayTypeLables()
    • disableAll Link icon

      protected void disableAll()
    • getDataSource Link icon

      public AcousticDataBlock getDataSource()
      Returns:
      the fftSource
    • setDataSource Link icon

      public void setDataSource(AcousticDataBlock fftSource)
      Parameters:
      fftSource - the fftSource to set
    • getName Link icon

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<BeamAlgorithmParams>
      Returns:
      name of the pane
    • getContentNode Link icon

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<BeamAlgorithmParams>
    • paneInitialized Link icon

      public void paneInitialized()
      Description copied from class: SettingsPane
      Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);
      Specified by:
      paneInitialized in class SettingsPane<BeamAlgorithmParams>