Interface FluorescenceDetector

All Superinterfaces:
Findable
All Known Subinterfaces:
Xspress3, Xspress3Mini, XspressFluorescenceDetector
All Known Implementing Classes:
NexusXmapFluorescenceDetectorAdapter, XmapFluorescenceDetector, Xspress2Detector, Xspress3BufferedDetector, Xspress3Detector, Xspress3MiniDetector, Xspress3MiniSingleChannelDetector, Xspress4BufferedDetector, Xspress4Detector, Xspress4OdinDetector

public interface FluorescenceDetector extends Findable
  • Method Details

    • getMCAData

      double[][] getMCAData(double time) throws DeviceException
      Perform a 'snapshot' data collection and return the MCA data. No file writing is involved.
      Parameters:
      time - The collection time in milliseconds
      Returns:
      the MCA data as a double array: [detector element][MCA channel]
      Throws:
      DeviceException
    • getNumberOfElements

      int getNumberOfElements()
      Returns:
      The number of detector elements (sometimes also called channels but this risks confusion with the channels which make up the MCA)
    • getMCASize

      int getMCASize()
      Returns:
      The number of channels in the MCA (Multi-Channel Analyser)
    • getMaxNumberOfRois

      int getMaxNumberOfRois()
      Returns:
      The maximum number of ROIs per channel
    • applyConfigurationParameters

      void applyConfigurationParameters(FluorescenceDetectorParameters parameters) throws Exception
      Configure the detector using the given parameters
      Parameters:
      parameters -
      Throws:
      Exception
    • getConfigurationParameters

      FluorescenceDetectorParameters getConfigurationParameters()
      Returns:
      The current detector configuration
    • isWriteHDF5Files

      boolean isWriteHDF5Files()
      Returns:
      true if detector creates an HDF5 file during a scan. This is normally created by Epics via the HDF plugin of the area detector.
    • setWriteHDF5Files

      void setWriteHDF5Files(boolean writeHdfFiles)
      Set to true to configure the detector to write an HDF5 file during a scan.
      Parameters:
      writeHdfFiles -
    • getDeadtimeCorrectionFactors

      double[] getDeadtimeCorrectionFactors() throws DeviceException
      Returns:
      An array of 'deadtime correction' factor values (one for each element of the detector)
      Throws:
      DeviceException