Peripheral service modules
Peripheral services such as InfluxDB, notification push, the image network server, the Web Hub and the XSUB/XPUB proxy.
Service list
| Module | Function |
|---|---|
influxdb | InfluxDB client wrapper: hardware status writes (data2db) and historical queries (query_data); can run as an RPC service |
notifications | Notification push: configuration service, push_message push, post_to_mattermost compatibility entry point |
image_network_server | Image network service: flushes the latest frame of each image stream to a Web figure |
webhub | Server entry point of the Web remote control platform (quatm.web; takes host/port from the Servers section of configfile) |
xsub_xpub | XSUB/XPUB forwarding server (run_server) |
experiment_status | Experiment status monitoring / early-warning notifications |
propertylogger / datalogger / imagelogger | Property tree persistence and monitoring of active data/image streams (see Configuration system) |
Usage
from quatm.servers.notifications import push_message
push_message("Experiment finished") # Sent through enabled push services (never raises)