pytweezer.analysis.data_average module

class pytweezer.analysis.data_average.DataAverage(name)[source]

Bases: object

The data average analysis script is subscribed to a certain datastream. It waits until it receives n_average datasets on this screen, then averages and publishes them.

datastreams: set the datastreams from which the average is taken n_average: number of datasets to average filter: experiment property from head after which the average is filtered

Behaviour:
The average will be reset whenever
  • n_average is reached

  • the data format changes

  • the filter VALUE changes

run()[source]
pytweezer.analysis.data_average.main_run(name)[source]