Interface StripDetector

All Superinterfaces:
Configurable, Detector, Device, EdeDetector, Findable, gda.observable.IObservable, NexusDetector, Scannable
All Known Subinterfaces:
XCHIPDetector

public interface StripDetector extends EdeDetector
Interface for strip detectors on the EDE beamline.

They should return their data as a Nexus file chunk with extraNames columns which are summations of different regions across the strip.

There can be ignored channels at each end of the strip.

The detector is in charge of its own timing for the experiment. The timing information is supplied by a EdeScanParameters object.

  • Field Details

  • Method Details

    • loadParameters

      void loadParameters(EdeScanParameters newParameters) throws DeviceException
      Set up the time frames as defined by the supplied object.

      The time frames are started by the start method.

      Parameters:
      newParameters -
      Throws:
      DeviceException
    • loadTemplateParameters

      void loadTemplateParameters() throws DeviceException
      Reload the last scan as defined by the last call to loadParameters;
      Throws:
      DeviceException
    • getLoadedParameters

      EdeScanParameters getLoadedParameters()
      Return the scan that would be run by the next call to collectData or start, or that is underway.
      Returns:
      EdeScanParameters
    • start

      void start() throws DeviceException
      Start the time frame sequence supplied by the last call of loadParameters().
      Throws:
      DeviceException
    • getNumberChannels

      int getNumberChannels()
      Returns:
      the size of the mca produced by the detector i.e. the number of strips
    • setBias

      void setBias(Double biasVoltage) throws DeviceException
      Sets the bias voltage. If the given value is 0.0 then the bias will be switched off. If non-zero then the bias will be switched on if necessary and then applied.
      Throws:
      DeviceException
    • getBias

      Double getBias() throws DeviceException
      Returns:
      the current bias voltage or 0.0 if bias switched off
      Throws:
      DeviceException - - thrown if there is a problem reading the current status
    • getMaxBias

      Double getMaxBias()
      Returns:
      Double - the highest acceptable bias voltage
    • getMinBias

      Double getMinBias()
      Returns:
      Double - the lowest acceptable bias voltage
    • setExcludedStrips

      void setExcludedStrips(Integer[] excludedStrips) throws DeviceException
      The numbers of the strips which should be excluded when returning the data and creating region totals.

      NB: these strips are still to be accounted for by the set/getChannelBiases methods.

      Parameters:
      excludedStrips -
      Throws:
      DeviceException
    • getExcludedStrips

      Integer[] getExcludedStrips()
    • fireSoftTrig

      void fireSoftTrig() throws DeviceException
      Send the software trigger continue command.
      Throws:
      DeviceException
    • connect

      void connect() throws DeviceException
      Connect to the underlying hardware. These detectors do not connect to the hardware during their configure().
      Throws:
      DeviceException
    • disconnect

      void disconnect() throws DeviceException
      Disconnect to the underlying hardware
      Throws:
      DeviceException
    • isConnected

      boolean isConnected()
      Returns:
      true if a successful call to connect() has been made, and not subsequently disconnected.