prsctrl.version.version#

version = '0.10'#

Versions 0.1: 0.2:

Renames:
  • theta_raw -> lock-in-theta

  • dR -> lock-in-R

  • dR = lock-in-R * cos(theta) (so equivalent to X)

0.3:

Phase offset of chopper no longer included in lock-in-theta_raw lock-in-R no longer includes offset of laser without probe light lock-in-R no is longer converted to peak-peak, it is now in RMS

0.4:

Magnitude and phase offsets are measured like any wavelength would be, and are saved next to the wavelength with key “offest_<before/after>”

0.5:

Add support for transmission measurements as well (added ‘mode’ key in measurement metadata)

0.6:

Refactored device settings and measurement settings. All device settings are now stored as separate dictionaries in the metadata.

0.7:

Renamed key R, dR, dR_R to I, dI, dI_I

0.8:

Changed offset calculation: Multiple offsets may be taken during the measurement, which can be interpolated.

0.9:

Every wavelength/offset measurement must have a “timestamp_start”. This allows for more accurate interpolation of offsets based on measurement timestamps.

0.10:

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 (previously dI-Q, dI_I-Q) - dI, dI_I: magnitude change (previously dI was in-phase)