spvctrl.spvctrl_interactive#
Run measurements in an interactive terminal session.
To run the interactive utility:
`
ipython -i spvctrl_interactive.py
`
With dummy devices (for testing):
`
ipython -i spvctrl_interactive.py -- --dummy-devices
`
Module attributes
Default directory user plugins are loaded from, may be overridden by the 'plugin_dir' config value |
|
Plugin files that were loaded into the global namespace |
|
EKSPLA OPO laser |
|
Gage CompuScope oscilloscope |
|
Setup-info database, initialized by init() from settings.setup_info_db. |
|
Sample database, initialized by init() from settings.sample_db. |
Functions
Add a sample to the sample database. |
|
Connect one of the global devices interactively, and store the selection in the config file. |
|
Finalize, archive and copy a finished measurement. |
|
Turn off all devices. |
|
Resolve a sample argument to the value recorded as sample metadata with a measurement. |
|
Get a setup info entry from the setup-info database. |
|
Measure a transient surface photovoltage with the connected devices. |
|
Reload all plugins from the plugin directories into the global namespace. |
|
Measure a transient at each of the given wavelengths. |
Classes
Settings for the interactive shell, loaded from and saved to the config file. |