PYME.Acquire.SpoolController module

Created on Sat May 28 20:42:16 2016

@author: david

class PYME.Acquire.SpoolController.SpoolController(scope, defDir='/Users/david/PYMEData/david/2017_7_14', defSeries='%(day)d_%(month)d_series')

Bases: object

Initialise the spooling controller.

Parameters:

scope : microscope instance

The currently active microscope class (see microscope.py)

defDir : string pattern

The default directory to save data to. Any keys of the form %(<key>) will be substituted using the values defined in PYME.fileUtils.nameUtils.dateDict

defSeries : string pattern

This specifies a pattern for file naming. Keys will be substituted as for defDir

Attributes

autostart_analysis

Methods

LaunchAnalysis() Launch analysis
SetProtocol([protocolName, reloadProtocol]) Set the current protocol .
SetSpoolDir(dirname) Set the directory we’re spooling into
SetSpoolMethod(method) Set the spooling method
SpoolStopped(**kwargs)
StartSpooling([fn, stack, compLevel, ...]) Start spooling
StopSpooling() GUI callback to stop spooling.
LaunchAnalysis()

Launch analysis

SetProtocol(protocolName=None, reloadProtocol=True)

Set the current protocol .

See also: PYME.Acquire.Protocols.

SetSpoolDir(dirname)

Set the directory we’re spooling into

SetSpoolMethod(method)

Set the spooling method

Parameters:

method : string

One of ‘File’, ‘Queue’, or ‘HTTP’

SpoolStopped(**kwargs)
StartSpooling(fn=None, stack=False, compLevel=2, zDwellTime=None, doPreflightCheck=True, maxFrames=9223372036854775807, compressionSettings={'quantizationOffset': 0.0, 'compression': 1, 'quantizationScale': 1.0, 'quantization': 1})

Start spooling

StopSpooling()

GUI callback to stop spooling.

autostart_analysis