stoner_measurement.plugins.trace.k6221_multi_sr830.LockInEntry

class stoner_measurement.plugins.trace.k6221_multi_sr830.LockInEntry(label: str = 'LIA 1', model: LockInModel = LockInModel.SR830, resource: str = 'GPIB0::8::INSTR', filter_slope: int = 12, input_coupling: LockInInputCoupling = LockInInputCoupling.AC, line_filter: LockInLineFilter = LockInLineFilter.NONE, input_source: LockInInputSource = LockInInputSource.A_MINUS_B, sensitivity: float = 0.001, offset_pct: float = 0.0, offset_auto: bool = False, expand: LockInExpandFactor = LockInExpandFactor.X1, reserve_mode: LockInReserveMode = LockInReserveMode.NORMAL, outputs: tuple[~stoner_measurement.instruments.lockin_amplifier.LockInOutput, ...]=(LockInOutput.X, ), harmonic: int = 1, phase: float | None = 0.0, auto_sensitivity: bool = True, auto_offsets: dict[str, float]=<factory>, reset_lockin: bool = True)[source]

Bases: object

Configuration for one lock-in amplifier instance.

Variables:
  • label (str) – Human-readable name used to identify this lock-in’s channels.

  • model (LockInModel) – Concrete lock-in model used for connection and configuration.

  • resource (str) – VISA resource string for the lock-in instrument.

  • reset_lockin (bool) – Reset the instrument during connect and configure; defaults to True.

  • filter_slope (int) – Output-filter slope in dB/octave.

  • input_coupling (LockInInputCoupling) – AC or DC input coupling.

  • line_filter (LockInLineFilter) – Line-frequency notch filters to enable.

  • input_source (LockInInputSource) – Voltage or current input mode supported by the selected model.

  • sensitivity (float) – Initial input sensitivity in volts or amperes for the input mode.

  • offset_pct (float) – Output offset as a percentage of full scale (−105 to +105).

  • offset_auto (bool) – When True, calculate per-channel offsets from settled readings during Keithley6221_MultiSR830Plugin.configure().

  • expand (LockInExpandFactor) – Output expand factor.

  • reserve_mode (LockInReserveMode) – Dynamic reserve operating mode.

  • outputs (tuple[LockInOutput, ...]) – Ordered selection of outputs to record (1–4 unique values).

  • harmonic (int) – Detection harmonic (1 to _SR830_MAX_HARMONIC).

  • phase (float | None) – Reference phase offset in degrees, or None to run auto-phase after settling during configure.

  • auto_sensitivity (bool) – When True, this lock-in participates in dynamic auto-sensitivity during measurement (subject to the plugin-level master enable). A nonzero manual or automatic output offset prevents per-point sensitivity changes for this lock-in.

  • auto_offsets (dict[str, float]) – Per-channel offset percentages populated by auto_offset(). Keys are LockInOutputChannel value strings ("X", "Y", "R").

auto_offsets: dict[str, float]
auto_sensitivity: bool = True
expand: LockInExpandFactor = 1
filter_slope: int = 12
harmonic: int = 1
input_coupling: LockInInputCoupling = 'AC'
input_source: LockInInputSource = 'A_MINUS_B'
label: str = 'LIA 1'
line_filter: LockInLineFilter = 'NONE'
model: LockInModel = 'SR830'
offset_auto: bool = False
offset_pct: float = 0.0
outputs: tuple[LockInOutput, ...] = (LockInOutput.X,)
phase: float | None = 0.0
reserve_mode: LockInReserveMode = 'NORMAL'
reset_lockin: bool = True
resource: str = 'GPIB0::8::INSTR'
sensitivity: float = 0.001
to_json() → dict[str, Any][source]

Return a JSON-friendly representation of this entry.