Package gda.device.detector
Class FluorescenceDetectorMcaProviderImpl
java.lang.Object
gda.factory.FindableBase
gda.device.detector.FluorescenceDetectorMcaProviderImpl
- All Implemented Interfaces:
FluorescenceDetectorMcaProvider,Findable
@ServiceInterface(FluorescenceDetectorMcaProvider.class)
public class FluorescenceDetectorMcaProviderImpl
extends FindableBase
implements FluorescenceDetectorMcaProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandouble[][]getMCAData(String detectorName, double time) Return MCA data on the named Fluorescence detector by callingFluorescenceDetector.getMCAData(double).Methods inherited from class gda.factory.FindableBase
equals, getName, hashCode, setName
-
Constructor Details
-
FluorescenceDetectorMcaProviderImpl
public FluorescenceDetectorMcaProviderImpl()
-
-
Method Details
-
getMCAData
Description copied from interface:FluorescenceDetectorMcaProviderReturn 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.- Specified by:
getMCADatain interfaceFluorescenceDetectorMcaProvider- Parameters:
time-- Returns:
- double[][] of MCA counts
- Throws:
DeviceException
-
canGetMcaData
public boolean canGetMcaData()- Specified by:
canGetMcaDatain interfaceFluorescenceDetectorMcaProvider- Returns:
- True if MCA data can be retrieved from a detector (i.e. true if script/scan are not running)
-