Class NXDetectorSnapper

java.lang.Object
gda.device.detector.NXDetectorSnapper
All Implemented Interfaces:
DetectorSnapper

public class NXDetectorSnapper extends Object implements DetectorSnapper
  • Constructor Details

  • Method Details

    • getFileWriter

      public NXFileWriterPlugin getFileWriter()
    • getCollectionStrategy

      public NXCollectionStrategyPlugin getCollectionStrategy()
    • isDisableCallbacks

      public boolean isDisableCallbacks()
    • setDisableCallbacks

      public void setDisableCallbacks(boolean disableCallbacks)
    • prepareForAcquisition

      public void prepareForAcquisition(double collectionTime) throws Exception
      Description copied from interface: DetectorSnapper
      Sets the collection time for the next collection (implicitly a single image collection).
      Specified by:
      prepareForAcquisition in interface DetectorSnapper
      Parameters:
      collectionTime -
      Throws:
      Exception
    • getAcquireTime

      public double getAcquireTime() throws Exception
      Description copied from interface: DetectorSnapper
      Return the acquisition time resulting from the last configured collection time. This will depend on the collection strategy.
      Specified by:
      getAcquireTime in interface DetectorSnapper
      Returns:
      acquisition time in seconds
      Throws:
      Exception
    • getAcquirePeriod

      public double getAcquirePeriod() throws Exception
      Description copied from interface: DetectorSnapper
      Return the acquisition period resulting from the last configured collection time. This will depend on the collection strategy.
      Specified by:
      getAcquirePeriod in interface DetectorSnapper
      Returns:
      acquisition time in seconds
      Throws:
      Exception
    • acquire

      public String[] acquire() throws Exception
      Acquire and return a list of resulting files.
      Specified by:
      acquire in interface DetectorSnapper
      Returns:
      list of all resulting files.
      Throws:
      Exception