Package gda.hrpd.sample.scans
Class ScanSetup
java.lang.Object
gda.hrpd.sample.scans.ScanSetup
- All Implemented Interfaces:
ScanDescription
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a list of additional scannables to record data from during the scandoubleGet the time (in seconds) for each collection in this scanGet the positions of any scannables that need to be moved prior to a scandoublegetSPos()Position of sample during scanbooleanspinOn()Whether the spinner needs to be enabled for scanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.hrpd.sample.api.ScanDescription
asMap
-
Constructor Details
-
ScanSetup
public ScanSetup(double collectionTime, boolean spin, double spos, Map<Scannable, Object> initialPositions, Collection<String> backgroundScannables)
-
-
Method Details
-
getInitalPositions
Description copied from interface:ScanDescriptionGet the positions of any scannables that need to be moved prior to a scan- Specified by:
getInitalPositionsin interfaceScanDescription
-
getBackgroundScannables
Description copied from interface:ScanDescriptionGet a list of additional scannables to record data from during the scan- Specified by:
getBackgroundScannablesin interfaceScanDescription
-
getCollectionTime
public double getCollectionTime()Description copied from interface:ScanDescriptionGet the time (in seconds) for each collection in this scan- Specified by:
getCollectionTimein interfaceScanDescription
-
getSPos
public double getSPos()Description copied from interface:ScanDescriptionPosition of sample during scan- Specified by:
getSPosin interfaceScanDescription
-
spinOn
public boolean spinOn()Description copied from interface:ScanDescriptionWhether the spinner needs to be enabled for scan- Specified by:
spinOnin interfaceScanDescription
-