Package uk.ac.diamond.daq.mapping.impl
Class MappingScanDefinition
java.lang.Object
uk.ac.diamond.daq.mapping.impl.MappingScanDefinition
- All Implemented Interfaces:
IScanDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets 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 scannablesinthashCode()voidsetDefaultOuterScannables(List<String> scannables) Sets the list of default outer scannables (seeIScanDefinition.getDefaultOuterScannables()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.toString()
-
Constructor Details
-
MappingScanDefinition
public MappingScanDefinition()
-
-
Method Details
-
getMappingScanRegion
Description copied from interface:IScanDefinitionGets the mapping scan region to be used in the mapping scan. Includes the shape, shape parameters, pattern and pattern parameters.- Specified by:
getMappingScanRegionin interfaceIScanDefinition- Returns:
- mappingScanRegion
-
setMappingScanRegion
Description copied from interface:IScanDefinitionSets the mapping scan region to be used in the mapping scan. Includes the shape, shape parameters, pattern and pattern parameters.- Specified by:
setMappingScanRegionin interfaceIScanDefinition- Parameters:
mappingScanRegion-
-
getOuterScannables
Description copied from interface:IScanDefinitionGets 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.- Specified by:
getOuterScannablesin interfaceIScanDefinition- Returns:
- outerScannables the outer scannables
-
setOuterScannables
Description copied from interface:IScanDefinitionSets 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, useIScanDefinition.setPermittedOuterScannables(List)if you want to restrict the scannables that the user can choose.- Specified by:
setOuterScannablesin interfaceIScanDefinition- Parameters:
outerScannables-
-
getPermittedOuterScannables
Description copied from interface:IScanDefinitionGets 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.
- Specified by:
getPermittedOuterScannablesin interfaceIScanDefinition- Returns:
- the permitted outer scannables for this beamline
-
setPermittedOuterScannables
Description copied from interface:IScanDefinitionSets the permitted outer scannables for this beamline. SeeIScanDefinition.getPermittedOuterScannables()- Specified by:
setPermittedOuterScannablesin interfaceIScanDefinition- Parameters:
scannables-
-
getDefaultOuterScannables
Description copied from interface:IScanDefinitionGets the list of outer scannables that will be shown by default (on first use or when the client is reset)- Specified by:
getDefaultOuterScannablesin interfaceIScanDefinition- Returns:
- the default outer scannables
-
setDefaultOuterScannables
Description copied from interface:IScanDefinitionSets the list of default outer scannables (seeIScanDefinition.getDefaultOuterScannables()- Specified by:
setDefaultOuterScannablesin interfaceIScanDefinition- Parameters:
scannables- the default outer scannables
-
hashCode
public int hashCode() -
equals
-
toString
-