Package gda.scan

Class StaticScan

java.lang.Object
gda.scan.ScanBase
gda.scan.StaticScan
All Implemented Interfaces:
NestableScan, Scan, ScanChild, Serializable

public class StaticScan extends ScanBase
This 'scan' does not move anything but does instruct detectors to collect data, it calls getPosition() or readout() once and saves the data to a normal scan file.
See Also:
  • Constructor Details

  • Method Details

    • doCollection

      public void doCollection() throws Exception
      Description copied from interface: Scan
      The method in which the work of the scan is performed. This method assumes that the data handler has already been created and the baton claimed.
      Specified by:
      doCollection in interface Scan
      Specified by:
      doCollection in class ScanBase
      Throws:
      Exception
    • getDimension

      public int getDimension()
      Description copied from class: ScanBase
      default implementation. Classes that derive from ScanBase which want to support the reporting of scan dimensions -@see getDimensions need to override this method
      Specified by:
      getDimension in interface Scan
      Overrides:
      getDimension in class ScanBase
      Returns:
      the number of points of this scan object - the whole scan execution can be a hierarchy of parent scan objects and layers of child scan objects
      See Also: