integrator.watcherv0 module#

class integrator.watcherv0.HDF5AcquisitionEventHandlerv0(logger=None)#

Bases: watchdog.events.LoggingEventHandler

on_moved(event)#

Called when a file or a directory is moved or renamed.

Parameters

event (DirMovedEvent or FileMovedEvent) – Event representing file/directory movement.

on_created(event)#

Called when a file or directory is created.

Parameters

event (DirCreatedEvent or FileCreatedEvent) – Event representing file/directory creation.

on_deleted(event)#

Called when a file or directory is deleted.

Parameters

event (DirDeletedEvent or FileDeletedEvent) – Event representing file/directory deletion.

on_modified(event)#

Called when a file or directory is modified.

Parameters

event (DirModifiedEvent or FileModifiedEvent) – Event representing file/directory modification.

class integrator.watcherv0.ScanMonitorIntegrator(watch_path)#

Bases: object

start_acq_watcher()#
stop_acq_watcher()#