PYME.IO.FileUtils.SPAD module¶
- PYME.IO.FileUtils.SPAD.load(filename, tIntegration=0.0, tDead=0.0, nAccumulation=1.0, darkFile=None, clip=True)¶
load a series, and perform dead time and dark-count correction.
- PYME.IO.FileUtils.SPAD.loadDark(filename)¶
Loads dark count information from a specified file. Note that this is referred to as flat-field information within the acquisition gui, but as it is subtracted in subsequent processing, this nomenclature is potentially misleading.
- PYME.IO.FileUtils.SPAD.loadRaw(filename)¶
Loads a series of frames from a spad output file. Despite the .txt extension the data files are in fact pure binary data. Frames are concatenated one after the other in the file. Frame size is assumed to be 32x32 pixels and the data type assumed to be unsigned short.