Package gda.device.detector
Interface FluorescenceDetectorMcaProvider
- All Superinterfaces:
Findable
- All Known Implementing Classes:
FluorescenceDetectorMcaProviderImpl
Interface for simple class that returns MCA data from a
class.
FluorescenceDetector.
The getMCAData(String, double) method returns an array of MCA count data, only if a scan/script is not running.
This is intended to provided MCA data for the client side
invalid reference
FluorescenceDetectorCompositeController
-
Method Summary
Modifier and TypeMethodDescriptionbooleandouble[][]getMCAData(String detectorName, double time) Return MCA data on the named Fluorescence detector by callingFluorescenceDetector.getMCAData(double).
-
Method Details
-
getMCAData
Return MCA data on the named Fluorescence detector by callingFluorescenceDetector.getMCAData(double). If a scan/script is running, an empty array will be returned and no calls will be made to the detector.- Parameters:
time-detector-- Returns:
- double[][] of MCA counts
- Throws:
DeviceException
-
canGetMcaData
boolean canGetMcaData()- Returns:
- True if MCA data can be retrieved from a detector (i.e. true if script/scan are not running)
-