Package gda.scan

Class ScanPlotSettingsUtils

java.lang.Object
gda.scan.ScanPlotSettingsUtils

public abstract class ScanPlotSettingsUtils extends Object
  • Constructor Details

    • ScanPlotSettingsUtils

      public ScanPlotSettingsUtils()
  • Method Details

    • createSettings

      public static ScanPlotSettings createSettings(List<String> fieldsToChange, List<String> fields, Integer xAxisIndex, List<Integer> yAxesShownIndices, List<Integer> yAxesNotShownIndices) throws Exception
      Returns a ScanPlotSettings objects. If any of XaxisIndex, YAxesShownIndices or YAxesNotShownIndices are Null, the corresponding value in the resulting ScanPlotSettings will also be null.
      Parameters:
      fieldsToChange - Input fields (only) of scannables to be scanned over
      fields - Input and Extra fields of all scannables (scanned over, moved, or read)
      xAxisIndex -
      yAxesShownIndices -
      yAxesNotShownIndices -
      Returns:
      ScanPlotSettings
      Throws:
      Exception
    • createSettingsWithDetector

      public static ScanPlotSettings createSettingsWithDetector(List<Scannable> allScannables, List<Detector> allDetectors, int numberOfChildScans, Integer XaxisIndex, List<Integer> YAxesShownIndices, List<Integer> YAxesNotShownIndices) throws Exception
      Method to set the xaxis Name and y axis names 2 mode - 1. Based on order they type them 2. Based on order executed
      Parameters:
      allScannables -
      allDetectors -
      numberOfChildScans -
      XaxisIndex -
      YAxesShownIndices -
      YAxesNotShownIndices -
      Returns:
      ScanPlotSettings
      Throws:
      Exception
      DeviceException
    • createSettings

      public static ScanPlotSettings createSettings(List<Scannable> userListedScannablesToScan, List<Scannable> userListedScannablesToRead, int numberOfChildScans, Integer xAxisIndex, List<Integer> yAxesShownIndices, List<Integer> yAxesNotShownIndices) throws Exception
      Method to set the xaxis Name and y axis names 2 mode - 1. Based on order they type them 2. Based on order executed
      Parameters:
      userListedScannablesToScan -
      userListedScannablesToRead -
      numberOfChildScans -
      xAxisIndex -
      yAxesShownIndices -
      yAxesNotShownIndices -
      Returns:
      ScanPlotSettings
      Throws:
      Exception