Class ParametrisedHklScannable
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.scannable.ScannableMotionBase
gda.device.scannable.scannablegroup.ScannableMotionWithScannableFieldsBase
uk.ac.diamond.daq.diffcalc.gda.scannables.HklScannable
uk.ac.diamond.daq.diffcalc.gda.scannables.ParametrisedHklScannable
- All Implemented Interfaces:
INeXusInfoWriteable,Device,Scannable,ContinuouslyScannableViaController,ScannableMotion,Configurable,Findable,gda.observable.IObservable
- Direct Known Subclasses:
CircHklScannable,ConicHklScannable,ConicIndexScannable,ConicThScannable
-
Nested Class Summary
Nested classes/interfaces inherited from class gda.device.scannable.scannablegroup.ScannableMotionWithScannableFieldsBase
ScannableMotionWithScannableFieldsBase.ScannableField -
Field Summary
FieldsFields inherited from class uk.ac.diamond.daq.diffcalc.gda.scannables.HklScannable
diffcalcContextFields inherited from class gda.device.scannable.ScannableMotionBase
numberTries, toleranceFields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLEFields inherited from interface gda.device.ScannableMotion
FIRSTINPUTLIMITS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninthklToParameters(List<Double> hkl) parametersToHkl(List<Double> paramList) voidrawAsynchronousMoveTo(Object params) [Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.[Consider abstract] Read the position in its internal (user) representation.voidsetCachedBeamlinePositionIndices(List<Integer> cachedBeamlinePositionIndices) voidsetCachedParams(List<Double> cachedParams) voidsetHklTolerance(Double tolerance) voidsetNumberCachedParams(int numberCachedParams) Methods inherited from class uk.ac.diamond.daq.diffcalc.gda.scannables.HklScannable
configure, getDiffcalcContext, isBusy, setDiffcalcContext, simulateMoveToMethods inherited from class gda.device.scannable.scannablegroup.ScannableMotionWithScannableFieldsBase
__getattr__, addChildToMove, asynchronousMoveFieldTo, asynchronousMoveTo, atCommandFailure, atScanEnd, atScanStart, completePartialMoveTarget, createScannableForEachField, getContinuousMoveController, getFieldPosition, getFieldScannable, getPositionAtScanStart, getPositionWhileMovingContinuousely, isAutoCompletePartialMoveToTargets, isOperatingContinously, isTargeting, isUsePositionAtScanStartWhenCompletingPartialMoves, setAutoCompletePartialMoveToTargets, setChildTarget, setContinuousMoveController, setExtraNames, setInputNames, setMembers, setOperatingContinuously, setPositionAtScanStart, setUsePositionAtScanStartWhenCompletingPartialMoves, stop, waitWhileBusyMethods inherited from class gda.device.scannable.ScannableMotionBase
a, addPositionValidator, ar, checkPositionValid, checkPositionWithinGdaLimits, checkPositionWithinGdaLimits, completeInstantiation, externalToInternal, generateScannableLimitsReport, getAdditionalPositionValidators, getAttribute, getFirstInputLimits, getInputLimits, getInputLimits, getLimitsComponent, getLowerGdaLimits, getNumberTries, getOffset, getScalingFactor, getTolerances, getUpperGdaLimits, internalToExternal, isAt, moveTo, r, rawIsBusy, removePositionValidator, setAdditionalPositionValidators, setLimitsComponent, setLowerGdaLimits, setLowerGdaLimits, setNumberTries, setOffset, setOffsetAndScalingComponent, setScalingFactor, setTolerance, setTolerances, setUpperGdaLimits, setUpperGdaLimits, toFormattedString, writeNeXusInformation, writeNeXusInformationLimitsMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanLineEnd, atScanLineStart, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, toString, validateScannable, valueUnavailableString, waitWhileBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanLineEnd, atScanLineStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, moveTo, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, toFormattedString
-
Field Details
-
OUTPUT_FORMAT
- See Also:
-
-
Constructor Details
-
ParametrisedHklScannable
public ParametrisedHklScannable()
-
-
Method Details
-
rawGetPosition
Description copied from class:ScannableBase[Consider abstract] Read the position in its internal (user) representation.- Overrides:
rawGetPositionin classHklScannable- Returns:
- the value represented by this Scannable
- Throws:
DeviceException- See Also:
-
rawAsynchronousMoveTo
Description copied from class:ScannableBase[Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.- Overrides:
rawAsynchronousMoveToin classHklScannable- 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
-
getNumberCachedParams
public int getNumberCachedParams() -
setNumberCachedParams
public void setNumberCachedParams(int numberCachedParams) -
getCachedBeamlinePositionIndices
-
setCachedBeamlinePositionIndices
-
getHklTolerance
-
setHklTolerance
-
getCachedParams
-
setCachedParams
-