Package uk.ac.gda.server.ncd.subdetector
Interface INcdSubDetector
- All Superinterfaces:
Configurable,Device,Findable,gda.observable.IObservable
- All Known Subinterfaces:
IHaveExtraNames
- All Known Implementing Classes:
NcdEigerDetector,NcdPilatusAD,NcdPilatusADP2,NcdPressureCell,NcdScalerDetector,NcdSubDetector,NcdTetrammDetector,NcdTimesDetector,NcdWireDetector,NcdXmapDetector,SingleScalerWithScalingAndOffset
A class to represent a physical detector for NCD.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault voiddefault voidatScanStart(ScanInformation info) voidclear()int[]intdoubleGet the size of pixels in x (for 1d detectors) or x and y (for 2d detectors)A unique identifier for this sub-detectorvoidsetDataDimensions(int[] detectorSize) default voidvoidstart()voidstop()voidwriteout(int frames, NXDetectorData dataTree) add detector data for frames to the returned data typeMethods 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, deleteIObservers
-
Field Details
-
descriptionLabel
- See Also:
-
SERIAL_NUMBER_LABEL
- See Also:
-
-
Method Details
-
clear
- Throws:
DeviceException
-
start
- Throws:
DeviceException
-
stop
- Throws:
DeviceException
-
getDetectorType
String getDetectorType() -
getSerialNumber
String getSerialNumber()A unique identifier for this sub-detector- Returns:
- String serial number
-
writeout
add detector data for frames to the returned data type- Parameters:
frames-dataTree-- Throws:
DeviceException
-
getMemorySize
- Throws:
DeviceException
-
getSupportedDimensions
- Throws:
DeviceException
-
setDataDimensions
- Throws:
DeviceException
-
getDataDimensions
- Throws:
DeviceException
-
getPixelSize
Get the size of pixels in x (for 1d detectors) or x and y (for 2d detectors)- Returns:
- pixel size in metres
- Throws:
DeviceException
-
atScanStart
- Throws:
DeviceException
-
atScanStart
- Throws:
DeviceException
-
atScanEnd
- Throws:
DeviceException
-
setTimer
- Throws:
DeviceException
-
getDetectorProperties
- Throws:
DeviceException
-