Class SimpleMHTVarPane

Direct Known Subclasses:
AmplitudeMHTVarPane, BearingMHTVarPane, CorrelationMHTPane, IDIChi2Pane

public class SimpleMHTVarPane extends MHTVarSettingsPane<SimpleChi2VarParams>
Simple Pane to change MHT settings. This contains a check box and slider bar which changes the error value.
Author:
Jamie Macaulay
  • Constructor Details

  • Method Details

    • createAdvMHTVarPane

      public AdvMHTVarPane createAdvMHTVarPane(SimpleChi2VarParams simpleChi2VarParams, ResultConverter resultConverter)
      Create the advanced settings pane.
      Returns:
      the advanced settings pane.
    • showAdvPane

      public void showAdvPane()
      Creates pane allowing the user to change fine scale things such as error limits.
    • getParams

      public SimpleChi2VarParams getParams(SimpleChi2VarParams currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<SimpleChi2VarParams>
      Returns:
      settings class
    • setParams

      public void setParams(SimpleChi2VarParams simpleChi2VarParams)
      Description copied from class: SettingsPane
      Called whenever the pane is first shown/open to set pane to show current settings.
      Specified by:
      setParams in class SettingsPane<SimpleChi2VarParams>
      Parameters:
      simpleChi2VarParams - - current settings class.
    • slider2Error

      public static double slider2Error(double sliderValue, double errorScaleValue)
      Convert a slider value to an error value. The slider is on a log scale in order to allow the user to change by an order of magnitude defined by SCALE_ORDER_MAGNITUDE.
      Parameters:
      sliderValue - - the slider value
      errorScaleValue - the error.
    • error2Slider

      public static double error2Slider(double errorValue, double errorScaleValue)
      Convert an error value to a slider value. The slider is on a log scale in order to allow the user to change by an order of magnitude defined by SCALE_LIMITS.
      Parameters:
      errorScaleValue - -
      sliderValue - - the slider results
    • getName

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

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

      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<SimpleChi2VarParams>
    • notifyChange

      public void notifyChange(int flag, Object data)
      Description copied from class: SettingsPane
      General function which allows panes to be notified of some change]
      Overrides:
      notifyChange in class SettingsPane<SimpleChi2VarParams>