Class DatasetFitter
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.detector.nexusprocessor.DatasetProcessorBase
gda.device.detector.nexusprocessor.DatasetFitter
- All Implemented Interfaces:
DatasetProcessor,Configurable,Findable,org.springframework.beans.factory.InitializingBean
public class DatasetFitter
extends DatasetProcessorBase
implements org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<String> protected Collection<String> voidintProcesses the given dataset, returning aGDANexusDetectorDatacontaining theINexusTrees nodes describing the datasets to be added to the nexus tree.voidsetDimensions(int dimensions) voidMethods inherited from class gda.device.detector.nexusprocessor.DatasetProcessorBase
getExtraNames, getOutputFormat, isEnabled, setEnableMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
configure, isConfigureAtStartup, isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.device.detector.nexusprocessor.DatasetProcessor
atScanEnd, atScanStart, getName, stop
-
Field Details
-
NAMES_PER_DIM
-
-
Constructor Details
-
DatasetFitter
public DatasetFitter()
-
-
Method Details
-
getPrefix
-
setPrefix
-
getDimensions
public int getDimensions() -
setDimensions
public void setDimensions(int dimensions) -
process
public GDANexusDetectorData process(String detName, String dataName, org.eclipse.january.dataset.Dataset dataset) throws Exception Description copied from interface:DatasetProcessorProcesses the given dataset, returning aGDANexusDetectorDatacontaining theINexusTrees nodes describing the datasets to be added to the nexus tree.- Specified by:
processin interfaceDatasetProcessor- Parameters:
detName- name of detectordataName- name of dataset to processdataset- dataset to process- Returns:
- a
GDANexusDetectorDatawith t - Throws:
Exception
-
_getExtraNames
- Specified by:
_getExtraNamesin classDatasetProcessorBase
-
_getOutputFormat
- Specified by:
_getOutputFormatin classDatasetProcessorBase
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-