Class BeamDimensions

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

public class BeamDimensions extends ScannableBase
This class holds the beam dimensions, useful for defining scan paths in terms of beam overlap.
  • Constructor Details

    • BeamDimensions

      public BeamDimensions()
  • Method Details

    • setX

      public void setX(double x)
      Set beam size in dimension of fast axis
      Parameters:
      x - in same units of fast axis
    • setY

      public void setY(double y)
      Set beam size in dimension of slow axis
      Parameters:
      y - in same units of slow axis
    • getPosition

      public Object getPosition() throws DeviceException
      Description copied from class: ScannableBase
      Returns the current position of the Scannable. Called by ConcurentScan at the end of the point. Reads an internal (hardware) position from rawGetPosition, converts this to an external (user) position and returns it.
      Specified by:
      getPosition in interface Scannable
      Overrides:
      getPosition in class ScannableBase
      Returns:
      Current position with an element for each input and extra field. null if their are no fields.
      Throws:
      DeviceException
    • isBusy

      public boolean isBusy() throws DeviceException
      Description copied from interface: Scannable
      Check if the Scannable is moving/operating.
      Returns:
      true - if operation carried out by moveTo has not completed yet
      Throws:
      DeviceException
    • rawAsynchronousMoveTo

      public void rawAsynchronousMoveTo(Object position) throws DeviceException
      Description copied from class: ScannableBase
      [Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.
      Overrides:
      rawAsynchronousMoveTo in class ScannableBase
      Parameters:
      position - Position in its internal/hardware representation. e.g. with units and offsets removed
      Throws:
      DeviceException
      See Also: