From 2a7371762487909097963f621364e06e2ab655d9 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 3 Jan 2022 17:32:59 -0500 Subject: added some doc strings --- qolab/hardware/basic.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qolab/hardware/basic.py b/qolab/hardware/basic.py index 387c4b2..03d98c6 100644 --- a/qolab/hardware/basic.py +++ b/qolab/hardware/basic.py @@ -3,7 +3,15 @@ from qolab.file_utils import get_next_data_file from qolab.tsdb import tsdb_append_metric_for_class_setter_or_getter class BasicInstrument: + """ This is the most basic instrument class """ def __init__(self, config={}, device_nickname=None, tsdb_ingester=None): + """ + device_nickname - used to separate similar instruments, + also used as a tag in Time Series DB (TSDB) logging, + if not set we fallbacl to 'Device type' + tsdb_ingester - used to log to TSDB if not set, the log entry is skipped + config - used to add or override default entries + """ self.config = {} self.config['Device type'] = 'Basic Instrument' self.config['Device model'] = 'Model is unset' -- cgit v1.2.3