Package gda.device.detector.analyser
Interface IEpicsMCASimple
- All Superinterfaces:
Analyser,Configurable,Detector,Device,Findable,IEpicsMCA,gda.observable.IObservable,Scannable
- All Known Implementing Classes:
DummyEpicsMcaForXmap,EpicsMCASimple
An interface to devices that support the EPICS MCA record
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptiongetNthRegionOfInterest(int regionIndex) Get specified region of interestdoublegetRoiCount(int index) Counts for the specified channeldoublegetRoiNetCount(int index) Net counts for the specified ROIvoidsetCalibration(EpicsMCACalibration calibrate) sets calibration fields for MCAvoidSet PV for the MCAvoidsetRegionsOfInterest(EpicsMCARegionOfInterest[] epicsMcaRois) Set the regions of interest for the MCAMethods inherited from interface gda.device.Analyser
addRegionOfInterest, clear, deleteRegionOfInterest, getCalibrationParameters, getData, getElapsedParameters, getNumberOfChannels, getNumberOfRegions, getPresets, getRegionsOfInterest, getRegionsOfInterestCount, getSequence, setCalibration, setData, setNumberOfChannels, setNumberOfRegions, setPresets, setRegionsOfInterest, setSequence, startAcquisition, stopAcquisitionMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Detector
collectData, createsOwnFiles, endCollection, getCollectionTime, getDataDimensions, getDescription, getDetectorID, getDetectorType, getFileStructure, getStatus, prepareForCollection, readout, setCollectionTime, waitWhileBusyMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.device.detector.analyser.IEpicsMCA
clearWaitForCompletion, eraseStartAcquisition, getDwellTime, setDwellTimeMethods 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
-
Method Details
-
getNthRegionOfInterest
Get specified region of interest- Parameters:
regionIndex- Index of the ROI required- Returns:
- a representation of the ROI
- Throws:
DeviceException
-
setRegionsOfInterest
Set the regions of interest for the MCA- Parameters:
epicsMcaRois- The ROIs to set- Throws:
DeviceException
-
setCalibration
sets calibration fields for MCA- Parameters:
calibrate- The calibration fields- Throws:
DeviceException
-
getRoiCount
Counts for the specified channel- Parameters:
index- Index of the channel- Returns:
- counts for this channel
- Throws:
DeviceException
-
getRoiNetCount
Net counts for the specified ROI- Parameters:
index- Index of the ROI required- Returns:
- Counts for this ROI
- Throws:
DeviceException
-
setMcaPV
Set PV for the MCA- Parameters:
mcaPV-
-