Experiments¶
Defining new experiments¶
Protocols¶
A basic Protocol is generally made up of Stage s, which are made up of Step s.
These are often compatible with AB’s software.
While the parameters for these classes default to seconds and degrees Celsius, when using numbers as input, they also use the
pint library to accept strings (or pint Quantity objects). Thus, you can use "1 hr" or "1 hour" instead of 3600,
or "59 °C" or "59 degC" for a temperature. Note that for temperature increments, pint distinguishes between a temperature
change and absolute temperature unit, so you would need to use, for example "-1 delta_degC".
QSLib also supports custom steps, which can contain arbitrary SCPI commands. For common commands, it also includes classes that allow more convenient use:
|
Modifies exposure settings. |
|
A protocol hold (for a time) command. |
|
Ramps temperature to a new setting. |
|
Sets filters for |
|
A protocol hold (for a time) and collect (set by HACFILT) command. |
|
A representation of an SCPI Command. |
Once created, there are several useful methods: