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_PLUGIN_DIR

Default directory user plugins are loaded from, may be overridden by the 'plugin_dir' config value

loaded_plugin_files

Plugin files that were loaded into the global namespace

laser

EKSPLA OPO laser

osci

Gage CompuScope oscilloscope

setup_db

Setup-info database, initialized by init() from settings.setup_info_db.

sample_db

Sample database, initialized by init() from settings.sample_db.

Functions

add_sample

Add a sample to the sample database.

connect_device

Connect one of the global devices interactively, and store the selection in the config file.

finalize_measurement

Finalize, archive and copy a finished measurement.

full_shutdown

Turn off all devices.

get_sample

Resolve a sample argument to the value recorded as sample metadata with a measurement.

get_setup_info

Get a setup info entry from the setup-info database.

help

init

measure_transient

Measure a transient surface photovoltage with the connected devices.

reload

Reload all plugins from the plugin directories into the global namespace.

scan_wavelength

Measure a transient at each of the given wavelengths.

Classes

SpvInteractiveSettings

Settings for the interactive shell, loaded from and saved to the config file.