Experiment Model¶
Experiment Model¶
Building a model for the experiment allows developers to have a clear picture of the logic of their experiments. It allows to build simple GUIs around them and to easily share the code with other users.
-
class
PythonForTheLab.Model.experiment.
Experiment
(config_file)[source]¶ Experiment to measure the IV curve of a diode
Parameters: config_file (str) – Path to the config file. Should be a YAML file, later used by load_daq()
-
do_scan
()[source]¶ Does a scan. This method blocks. See
start_scan()
for threaded scans.
-