PYME.IO.QueueSpooler module¶
- class PYME.IO.QueueSpooler.Spooler(filename, frameSource, frameShape, complevel=6, complib='zlib', **kwargs)¶
Bases:
Spooler
Create a new spooler.
- Parameters
- scopePYME.Acquire.microscope.microscope object
The microscope providing the data
- filenamestring
The file into which to spool
- frameSourcedispatch.Signal object
A source of frames we can subscribe to. It should implement a “connect” method allowing us to register a callback and then call the callback with the frame data in a “frameData” kwarg.
- protocolPYME.Acquire.protocol.TaskListProtocol object
The acquisition protocol
- guiUpdateCallbackfunction
a function to call when the spooling GUI needs updating
- FlushBuffer()¶
- OnFrame(sender, frameData, **kwargs)¶
Callback which should be called on every frame