Package gda.exafs.xes

Interface IXesEnergyScannable

All Superinterfaces:
Configurable, Device, Findable, gda.observable.IObservable, Scannable, ScannableMotion, ScannableMotionUnits
All Known Implementing Classes:
XESEnergyScannable

public interface IXesEnergyScannable extends ScannableMotionUnits
  • Method Details

    • getMaterialType

      Returns:
      CrystalMaterial ordinal value for the crystal material i.e. 0 = Si, 1 = Ge (see
      invalid reference
      CrystalParameters#CrystalMaterial
      )
      Throws:
      DeviceException
    • getCrystalCut

      int[] getCrystalCut() throws DeviceException
      Returns:
      Array of crystal cut values
      Throws:
      DeviceException
    • getRadius

      double getRadius() throws DeviceException
      Returns:
      Radius of spectrometer Rowland circle.
      Throws:
      DeviceException
    • getPositionsMap

      Map<String,Double> getPositionsMap(double energy) throws DeviceException
      Calculate the positions of all the scannables in the spectrometer for the given energy (This function is called by the client on the exported XesEnergyScannable object)
      Parameters:
      energy -
      Returns:
      Map with key = scannable name, value = position.
      Throws:
      DeviceException
    • getEnergyRange

      double[] getEnergyRange() throws DeviceException
      Returns:
      Return an array containing the energy range allowed for this spectrometer [low energy, high energy]
      Throws:
      DeviceException