Interface IEpicsMCASimple

All Superinterfaces:
Analyser, Configurable, Detector, Device, Findable, IEpicsMCA, gda.observable.IObservable, Scannable
All Known Implementing Classes:
DummyEpicsMcaForXmap, EpicsMCASimple

public interface IEpicsMCASimple extends IEpicsMCA
An interface to devices that support the EPICS MCA record
  • Method Details

    • getNthRegionOfInterest

      EpicsMCARegionOfInterest getNthRegionOfInterest(int regionIndex) throws DeviceException
      Get specified region of interest
      Parameters:
      regionIndex - Index of the ROI required
      Returns:
      a representation of the ROI
      Throws:
      DeviceException
    • setRegionsOfInterest

      void setRegionsOfInterest(EpicsMCARegionOfInterest[] epicsMcaRois) throws DeviceException
      Set the regions of interest for the MCA
      Parameters:
      epicsMcaRois - The ROIs to set
      Throws:
      DeviceException
    • setCalibration

      void setCalibration(EpicsMCACalibration calibrate) throws DeviceException
      sets calibration fields for MCA
      Parameters:
      calibrate - The calibration fields
      Throws:
      DeviceException
    • getRoiCount

      double getRoiCount(int index) throws DeviceException
      Counts for the specified channel
      Parameters:
      index - Index of the channel
      Returns:
      counts for this channel
      Throws:
      DeviceException
    • getRoiNetCount

      double getRoiNetCount(int index) throws DeviceException
      Net counts for the specified ROI
      Parameters:
      index - Index of the ROI required
      Returns:
      Counts for this ROI
      Throws:
      DeviceException
    • setMcaPV

      void setMcaPV(String mcaPV)
      Set PV for the MCA
      Parameters:
      mcaPV -