Package gda.device.detector
Interface IPCODetector
- All Superinterfaces:
Configurable,Detector,Device,Findable,gda.observable.IObservable,Scannable
- All Known Implementing Classes:
PCODetector
Interface for the PCODetector
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcollectDarkSet(int numberOfDarks) Collects the number of dark images as requested.voidcollectFlatSet(int numberOfFlats, int flatSet) Collect flat images in sets as specified by the parameter and also how many images per set.creates the main file structure and returns the root of the file system.intintbooleanbooleanvoidresetAll()In addition to its own resets, this method also calls reset on all pluginsvoidsetADCMode(int mode) The ADC mode is set on the detectorvoidsetExternalTriggered(boolean externalTriggered) voidsetFilePath(File filePath) Sets the file path depending on the parameters either locally or remotely , and also either in the hdf format or tiff format.voidsetHdfFormat(boolean hdfFormat) voidsetTiffFilePathBasedOnIocOS(String demandRawFilePath) voidMethods 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.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
-
setFilePath
Sets the file path depending on the parameters either locally or remotely , and also either in the hdf format or tiff format.- Parameters:
filePath-- Throws:
Exception
-
collectDarkSet
Collects the number of dark images as requested.- Parameters:
numberOfDarks-- Throws:
Exception
-
collectFlatSet
Collect flat images in sets as specified by the parameter and also how many images per set.- Parameters:
numberOfFlats-flatSet-- Throws:
Exception
-
createMainFileStructure
creates the main file structure and returns the root of the file system.- Returns:
File- Throws:
IOException
-
isWriterBusy
- Returns:
trueif the writer is busy- Throws:
Exception
-
getController
IPCOControllerV17 getController()- Returns:
IPCOControllerV17- controller associated with the detector.F
-
getLocalFilePath
String getLocalFilePath()- Returns:
- the local file path
-
getProjectionFolderName
String getProjectionFolderName()- Returns:
- the projection folder name
-
getDarkFileNameRoot
String getDarkFileNameRoot()- Returns:
- the dark file name root
-
getFlatFileNameRoot
String getFlatFileNameRoot()- Returns:
- the flat file name root
-
getNumberOfDarkImages
int getNumberOfDarkImages()- Returns:
- number of dark images collected
-
getNumberOfFlatImages
int getNumberOfFlatImages()- Returns:
- the number of flat images collected.
-
getPlotName
String getPlotName()- Returns:
- the plot name the is associated with the detector.
-
resetAll
In addition to its own resets, this method also calls reset on all plugins- Throws:
Exception
-
collectDarkSet
- Throws:
Exception
-
isHdfFormat
boolean isHdfFormat() -
setHdfFormat
void setHdfFormat(boolean hdfFormat) -
acquireSynchronously
- Throws:
Exception
-
stopCapture
- Throws:
Exception
-
setTiffFilePathBasedOnIocOS
- Throws:
Exception
-
getTiffImageFileName
- Throws:
Exception
-
setExternalTriggered
void setExternalTriggered(boolean externalTriggered) - Parameters:
externalTriggered-
-
setADCMode
The ADC mode is set on the detector- Parameters:
mode-- Throws:
Exception
-