Class ParametrisedHklScannable

All Implemented Interfaces:
INeXusInfoWriteable, Device, Scannable, ContinuouslyScannableViaController, ScannableMotion, Configurable, Findable, gda.observable.IObservable
Direct Known Subclasses:
CircHklScannable, ConicHklScannable, ConicIndexScannable, ConicThScannable

public abstract class ParametrisedHklScannable extends HklScannable
  • Field Details

  • Constructor Details

    • ParametrisedHklScannable

      public ParametrisedHklScannable()
  • Method Details

    • rawGetPosition

      public Object rawGetPosition() throws DeviceException
      Description copied from class: ScannableBase
      [Consider abstract] Read the position in its internal (user) representation.
      Overrides:
      rawGetPosition in class HklScannable
      Returns:
      the value represented by this Scannable
      Throws:
      DeviceException
      See Also:
    • rawAsynchronousMoveTo

      public void rawAsynchronousMoveTo(Object params) 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 HklScannable
      Parameters:
      params - Position in its internal/hardware representation. e.g. with units and offsets removed
      Throws:
      DeviceException
      See Also:
    • parametersToHkl

      protected abstract List<List<Double>> parametersToHkl(List<Double> paramList) throws DeviceException
      Throws:
      DeviceException
    • hklToParameters

      protected abstract List<Double> hklToParameters(List<Double> hkl)
    • getNumberCachedParams

      public int getNumberCachedParams()
    • setNumberCachedParams

      public void setNumberCachedParams(int numberCachedParams)
    • getCachedBeamlinePositionIndices

      public List<Integer> getCachedBeamlinePositionIndices()
    • setCachedBeamlinePositionIndices

      public void setCachedBeamlinePositionIndices(List<Integer> cachedBeamlinePositionIndices)
    • getHklTolerance

      public Double getHklTolerance()
    • setHklTolerance

      public void setHklTolerance(Double tolerance)
    • getCachedParams

      public List<Double> getCachedParams()
    • setCachedParams

      public void setCachedParams(List<Double> cachedParams)