Package gda.exafs.xes
Interface IXesSpectrometerScannable
- All Superinterfaces:
Configurable,Device,Findable,gda.observable.IObservable,Scannable,ScannableMotion,ScannableMotionUnits
- All Known Implementing Classes:
JohannSpectrometer,XesSpectrometerScannable,XesSpectrometerScannableBase
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLEFields inherited from interface gda.device.ScannableMotion
FIRSTINPUTLIMITSFields inherited from interface gda.device.ScannableMotionUnits
HARDWAREUNITS, USERUNITS -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoublegetSpectrometerPositions(double convertEnergyToAngle) voidsetRadius(double radius) Set the radius of the Rowland circleMethods inherited from interface gda.factory.Configurable
configure, 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
asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString, waitWhileBusyMethods inherited from interface gda.device.ScannableMotion
a, ar, checkPositionWithinGdaLimits, checkPositionWithinGdaLimits, getLowerGdaLimits, getNumberTries, getOffset, getScalingFactor, getTolerances, getUpperGdaLimits, r, setLowerGdaLimits, setLowerGdaLimits, setNumberTries, setOffset, setScalingFactor, setTolerance, setTolerances, setUpperGdaLimits, setUpperGdaLimitsMethods inherited from interface gda.device.ScannableMotionUnits
addAcceptableUnit, getAcceptableUnits, getHardwareUnitString, getUserUnits, setHardwareUnitString, setOffset, setUserUnits
-
Method Details
-
getRadius
double getRadius()- Returns:
- Radius of the Rowland circle
-
setRadius
void setRadius(double radius) Set the radius of the Rowland circle- Parameters:
radius-
-
getSpectrometerPositions
- Parameters:
convertEnergyToAngle-- Returns:
- Map containing position of each scannable in the spectrometer for the given energy.
-
getMaxTheta
double getMaxTheta()- Returns:
- The maximum allowed Bragg angle.
-
getMinTheta
double getMinTheta()- Returns:
- The minimum allowed Bragg angle.
-
getScannables
- Returns:
- List of all scannables controlled by the spectrometer
-