Package uk.ac.diamond.daq.mapping.api
Interface IScanDefinition
- All Known Implementing Classes:
MappingScanDefinition
public interface IScanDefinition
-
Method Summary
Modifier and TypeMethodDescriptionGets the list of outer scannables that will be shown by default (on first use or when the client is reset)Gets the mapping scan region to be used in the mapping scan.Gets the list of outer scannables including their parameters for use outside the mapping scan.Gets the list of beamline scannables that the user may choose as outer scannablesvoidsetDefaultOuterScannables(List<String> scannables) Sets the list of default outer scannables (seegetDefaultOuterScannables()voidsetMappingScanRegion(IMappingScanRegion mappingScanRegion) Sets the mapping scan region to be used in the mapping scan.voidsetOuterScannables(List<IScanModelWrapper<IAxialModel>> outerScannables) Sets the list of outer scannables including their parameters for use outside the mapping scan.voidsetPermittedOuterScannables(List<String> scannables) Sets the permitted outer scannables for this beamline.
-
Method Details
-
getMappingScanRegion
IMappingScanRegion getMappingScanRegion()Gets the mapping scan region to be used in the mapping scan. Includes the shape, shape parameters, pattern and pattern parameters.- Returns:
- mappingScanRegion
-
setMappingScanRegion
Sets the mapping scan region to be used in the mapping scan. Includes the shape, shape parameters, pattern and pattern parameters.- Parameters:
mappingScanRegion-
-
getOuterScannables
List<IScanModelWrapper<IAxialModel>> getOuterScannables()Gets the list of outer scannables including their parameters for use outside the mapping scan. e.g change temperature and at each temperature take a map. This list allows complex scan to be built containing many outer loops. Should never benull.- Returns:
- outerScannables the outer scannables
-
setOuterScannables
Sets the list of outer scannables including their parameters for use outside the mapping scan. e.g change temperature and at each temperature take a map. This list allows complex scan to be built containing many outer loops.
This function should not be used to configure outer scannables in Spring, as it will be overwritten at runtime. Instead, usesetPermittedOuterScannables(List)if you want to restrict the scannables that the user can choose.- Parameters:
outerScannables-
-
getPermittedOuterScannables
Gets the list of beamline scannables that the user may choose as outer scannablesIf the list is empty, the user is free to choose any scannable available on the beamline.
- Returns:
- the permitted outer scannables for this beamline
-
setPermittedOuterScannables
Sets the permitted outer scannables for this beamline. SeegetPermittedOuterScannables()- Parameters:
scannables-
-
getDefaultOuterScannables
Gets the list of outer scannables that will be shown by default (on first use or when the client is reset)- Returns:
- the default outer scannables
-
setDefaultOuterScannables
Sets the list of default outer scannables (seegetDefaultOuterScannables()- Parameters:
scannables- the default outer scannables
-