Package gda.scan
Class ScanPlotSettingsUtils
java.lang.Object
gda.scan.ScanPlotSettingsUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanPlotSettingscreateSettings(List<Scannable> userListedScannablesToScan, List<Scannable> userListedScannablesToRead, int numberOfChildScans, Integer xAxisIndex, List<Integer> yAxesShownIndices, List<Integer> yAxesNotShownIndices) Method to set the xaxis Name and y axis names 2 mode - 1.static ScanPlotSettingscreateSettings(List<String> fieldsToChange, List<String> fields, Integer xAxisIndex, List<Integer> yAxesShownIndices, List<Integer> yAxesNotShownIndices) Returns a ScanPlotSettings objects.static ScanPlotSettingscreateSettingsWithDetector(List<Scannable> allScannables, List<Detector> allDetectors, int numberOfChildScans, Integer XaxisIndex, List<Integer> YAxesShownIndices, List<Integer> YAxesNotShownIndices) Method to set the xaxis Name and y axis names 2 mode - 1.
-
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 overfields- 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:
ExceptionDeviceException
-
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
-