Package org.eclipse.scanning.sequencer
Class SubscanModerator
java.lang.Object
org.eclipse.scanning.sequencer.SubscanModerator
This class takes a position iterator and it is a compound generator,
attempts to remove the inner scans which subscan devices such as Malcolm will take care of
from the compound generator and return the outer scans.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the point generator for the over the inner points of the scan.intReturns the point generator for the outer points of the scan.intint
-
Constructor Details
-
SubscanModerator
- Throws:
ScanningException
-
-
Method Details
-
getScanModel
-
getOuterPointGenerator
Returns the point generator for the outer points of the scan. The outer iterable will not benullnormally. Even if all of the scan is deal with by malcolm the outer scan will still be a static generator of one point. If there are no subscan devices, then the outer scan is the full scan.- Returns:
- an iterator over the outer scan
-
getInnerPointGenerator
Returns the point generator for the over the inner points of the scan. For any scan that contains a malcolm device the inner point generator will not benull, even if all of the scan is dealt with outside the malcolm device. Note that this method is only used in dummy mode, for example by aDummyMalcolmDevice. The real malcolm device is passed the point generator for the whole scan. The malcolm device will itself determine what part of the scan it is responsible for (i.e. in python).- Returns:
- an iterator over the inner scan
-
getOuterModels
-
getInnerModels
-
getInnerScanSize
public int getInnerScanSize() -
getOuterScanSize
public int getOuterScanSize() -
getTotalScanSize
public int getTotalScanSize()
-