spvctrl.measurement.settings#
Measurement settings for transient SPV measurements.
You can use the dataclasses.asdict(<settings class>) to convert a settings object to a dictionary.
The settings follow a two-level approach:
“Easy mode”: the general parameters
MeasurementParameters.acquisition_time_sandMeasurementParameters.pulse_interval_sare optional convenience parameters. If given,TspvSettings.prepare()resolves them to concrete device settings: the target pulse interval is converted to a laser frequency divider (the actual interval is equal or larger) and the acquisition time, together with the sampling rate, is converted to a record length and segment size for the oscilloscope. The resolved values are recorded in the measurement metadata.“Expert mode”: the device-specific settings classes
OpoSettingsandGageScopeAcquisitionSettingscan be set explicitly instead (frequency divider, sampling rate, segment size, pre-trigger depth). The validation raises an error on conflicting parameters.
Module attributes
Base repetition rate of the EKSPLA laser in Hz, the actual rate is this value divided by the frequency divider |
|
Sampling rate in Hz used to resolve a sampling rate of 'max' when the oscilloscope capabilities can not be queried (e.g. dummy devices). |
|
Sampling rate in Hz (an integer number of Hz), or 'max' for the highest supported sampling rate |
Classes
Acquisition settings for the Gage CompuScope oscilloscope. |
|
General measurement parameters. |
|
Settings for the EKSPLA OPO laser. |
|
All settings for a transient surface-photovoltage-type measurement. |