Class TfgFFoverI0

All Implemented Interfaces:
Detector, NexusDetector, Device, Scannable, Configurable, Findable, gda.observable.IObservable, Serializable

public class TfgFFoverI0 extends DetectorBase implements NexusDetector
Returns FF/I0 for an detector / ion chamber combination. Note this does not operate any hardware so should be used with other detectors in scans
See Also:
  • Constructor Details

    • TfgFFoverI0

      public TfgFFoverI0()
  • Method Details

    • configure

      public void configure()
      Description copied from class: ConfigurableBase
      Default implementation for classes that do not have to do any specific configuration.
      Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.
      Specified by:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
    • readout

      public NexusTreeProvider readout() throws DeviceException
      Description copied from interface: NexusDetector
      Returns the latest data collected as well as general detector information
      Specified by:
      readout in interface Detector
      Specified by:
      readout in interface NexusDetector
      Returns:
      the data collected
      Throws:
      DeviceException
    • getI0

      public Double getI0() throws DeviceException
      Throws:
      DeviceException
    • collectData

      public void collectData() throws DeviceException
      Description copied from interface: Detector
      Tells the detector to begin to collect a set of data, then returns immediately. Should cause the hardware to start collecting immediately: if there is any delay then detectors used in the same scan would collect over different times when beam conditions may differ.
      Specified by:
      collectData in interface Detector
      Throws:
      DeviceException
    • createsOwnFiles

      public boolean createsOwnFiles() throws DeviceException
      Description copied from interface: Detector
      Returns a value which indicates whether the detector creates its own files. If it does (return true) the readout() method returns the name of the latest file created as a string. If it does not (return false) the readout() method will return the data directly.
      Specified by:
      createsOwnFiles in interface Detector
      Returns:
      true if readout() returns filenames
      Throws:
      DeviceException
    • getDescription

      public String getDescription() throws DeviceException
      Specified by:
      getDescription in interface Detector
      Overrides:
      getDescription in class DetectorBase
      Returns:
      A description of the detector.
      Throws:
      DeviceException
    • getDetectorID

      public String getDetectorID() throws DeviceException
      Specified by:
      getDetectorID in interface Detector
      Overrides:
      getDetectorID in class DetectorBase
      Returns:
      A identifier for this detector.
      Throws:
      DeviceException
    • getDetectorType

      public String getDetectorType() throws DeviceException
      Specified by:
      getDetectorType in interface Detector
      Overrides:
      getDetectorType in class DetectorBase
      Returns:
      The type of detector.
      Throws:
      DeviceException
    • getStatus

      public int getStatus() throws DeviceException
      Description copied from interface: Detector
      Returns the current collecting state of the device.
      Specified by:
      getStatus in interface Detector
      Returns:
      BUSY if the detector has not finished the requested operation(s), IDLE if in an completely idle state and STANDBY if temporarily suspended.
      Throws:
      DeviceException
    • getXspress

      public NexusDetector getXspress()
    • setXspress

      public void setXspress(NexusDetector xspress)
    • getXspressSystemName

      public String getXspressSystemName()
    • setXspressSystemName

      public void setXspressSystemName(String xspressSystemName)
    • getCounterTimer

      public Detector getCounterTimer()
    • setCounterTimer

      public void setCounterTimer(Detector i0CounterTimer)
    • getScalerName

      public String getScalerName()
    • setScalerName

      public void setScalerName(String scalerName)
    • setI0_channel

      public void setI0_channel(int i0_channel)
    • getI0_channel

      public int getI0_channel()
    • getOutputName

      public String getOutputName()
    • setOutputName

      public void setOutputName(String outputName)
    • getFFDataName

      public Object getFFDataName()
    • setFFDataName

      public void setFFDataName(String ffDataName)
    • getDetector

      public NexusDetector getDetector()
    • setDetector

      public void setDetector(NexusDetector detector)