Changelog#
v0.12.0 (2026-10-22) - HDF5 Update#
Features added#
Data: - Added saving data in HDF5 files. Multiple datasets can be stored in the same file. - Multiple spectra can be
merged into one;merge_partsaccepts aMergeOptionsparameter.Interactive shell: - Settings are now managed by a
PrsInteractiveSettingsdataclass, with automatic renaming of legacy config keys. - Added a sample database (get_sample(),sample_db) and a setup info database. - Added user plugin loading (--no-plugins,-p/--plugin-dir,reload()). - Device connections are persisted and exited cleanly on shell close.
Significant changes#
Measurement:
prsctrl_interactivemeasurements require a series name and store data in HDF5 format.
v0.11.0 (2026-08-28) - GUI Update#
Features added#
Measurement: - Added
MeasurementParametersclass for strongly-typed measurement settings. - AddedPrsSettingsclass for pump source settings. - Added loading from parameter files. - Added properpump light calibrationfeature.Utility: Added
MeasurementSetupInfodataclass for setup information metadata.Devices: Added
device_keysmodule for device key definitions.Documentation: Added Sphinx docstrings
Significant changes#
Data: - Renamed
real-thetatotheta-corrfor corrected phase calculation. - RefactoredPrsDataas subclass ofdevctrl.data.Data. - Moved column label, color, and scale definitions to centralized_COLUMN_DATAstructure.Measurement: Major refactoring for preparing library for usage in
prsctrl_gui: - Refactored measurement settings usingSettingsClass. - Moved offset functionality tooffsetmodule. - Moved measurement time estimation totime_estimatemodule.Dependencies: - Updated Python requirement to
>=3.12. - Updateddevctrlrequirement to==1.1.0.
v0.10.0 (2025-11-07)#
Significant changes#
Data: - Refactored
PrsDataas subclass ofdevctrl.data.Data. - Changed calculations:Fixed: dont use offset in out-of-phase component
Introduced new theta_corr, as angle between in phase and out-of-phase components [-90°, 90°]
Changed keys of calculated values for more clarity: -
dI-X,dI-X_I: the in-phase change -dI-Y,dI-Y_I: out-of-phase change (previouslydI-Q,dI_I-Q) -dI,dI_I: magnitude change (previouslydIwas in-phase)
v0.9.0 (2025-07-18) - Time-based Offsets Update#
Significant changes#
Data: - Every wavelength/offset measurement must have a “timestamp_start”. - This allows for more accurate interpolation of offsets based on measurement timestamps.
v0.8.0 (2025-07-14)#
Features added#
Measurement: - Added support for dual-monochromator meausurements. - Added multiprocessing support.
Devices: Added Cleware Temperature+Humidity Sensor support.
Significant changes#
Data: - Changed offset calculation: Multiple offsets may be taken during the measurement, which can be interpolated. - Changed offset key naming. - Added sample rate in metadata.
v0.7.0 (2025-06-24) - Absorbance Update#
Features added#
Data: Added RTA (Reflectance/Transmittance/Absorbance) utility functions in
utilandplot.Scripts: - Added
save_data_rta()function. - Added lock-in buffer benchmarks inlock_in_benchmark.
Significant changes#
Data: Renamed key R, dR, dR_R to I, dI, dI_I.
v0.6.0 (2025-06-12)#
Features added#
Measurement: - Added dictionary based settings (and apply functions) in
settingsmodule. - Added power conversion functions for LED power calibration.Data: - Added
archive_dataandsave_data.
Significant changes#
Data: - Refactored device settings and measurement settings. All device settings are now stored as separate dictionaries in the metadata. - Refactored data into
data/submodulescalc,functions,plot.Interactive: Refactored device selection logic with a devices list for structured device management.
v0.5.0 (2025-06-02) - Transmisson Update#
Features added#
Data: - Added support for transmission measurements with
modekey in measurement metadata. - Added mode-aware methods for plots:get_column_name(),get_column_label(),get_column_label_with_unit().Measurement: - Added
LockInHandlerclass to handle differences between different lock-in amplifiers. - AddedMeasurementHandlerto handle measuring multiple modes.Utility: - Added color logging with
ColorFormatter. - Addedsanitize_filename,get_date_time_for_filename, andget_next_filename.
Significant changes#
Data: - Add support for transmission measurements as well (added ‘mode’ key in measurement metadata). - Enhanced data path handling.
Measurement: - Major refactor of measurement system from single function to class-based architecture with multi-mode support. - Added multithreading for parallel wavelength setting and data acquisition.
Devices: Updated device imports to use class methods instead of module functions.
Interactive: -
measure_spectrum()creates separate data objects for reflection and transmission.
v0.4.0 (2025-05-27) - Offset Update#
Features added#
Data: - Added offset calculation methods (
_get_theta_offset(),_get_dR_offset(),_get_R_offset()) - Added support for string keys (offsets) in the data dictionary.Devices: Added dummy devices support with
--dummy-devicescommand line argument.
Significant changes#
Data: - Magnitude and phase offsets are measured like any wavelength would be, and are saved next to the wavelength with key “offest_<before/after>”. - Added upgrade system to update existing data to newer prsctrl versions.
Measurement: Integrated offset measurement into the main wavelength measurement loop.
v0.3.0 (2025-05-19) - devctrl Update#
Significant changes#
Data: - Phase offset of chopper no longer included in lock-in-theta_raw. -
lock-in-Rno longer includes offset of laser without probe light. -lock-in-Rno is longer converted to peak-peak, it is now in RMS.Devices: Moved all device support to dedicated
devctrllibrary.
Bugfixes#
Data: Fixed
R_offset_voltcalculation to properly handle percent fullscale.
v0.2.0 (2025-05-15)#
Features added#
Devices: Added laser support:
prsctrl/devices/laser/.Data: Enhanced
prsctrl/utility/prsdata.pyto support energy values in eV.
Significant changes#
Data: - Renames:
theta_raw -> lock-in-theta
dR -> lock-in-R
dR = lock-in-R * cos(theta) (so equivalent to X)
Devices: Moved all device classes to
prsctrl/devices/.
Bugfixes#
Measurement: Fixed offsets not saved.
v0.1.0#
Initial version.