stoner_measurement.instruments.current_source.CurrentSweepConfiguration

class stoner_measurement.instruments.current_source.CurrentSweepConfiguration(start: float = 0.0, stop: float = 0.0, points: int = 0, spacing: CurrentSweepSpacing = CurrentSweepSpacing.LIN, values: tuple[float, ...] | None = None, delay: float | tuple[float, ...] = 0.0, count: int = 1)[source]

Bases: object

Configuration for a current-source sweep.

Variables:
  • start (float) – Sweep start value in amps. Ignored for list sweeps.

  • stop (float) – Sweep stop value in amps. Ignored for list sweeps.

  • points (int) – Number of sweep points. For list sweeps this is inferred from len(values) by the driver; ignored when values is provided.

  • spacing (CurrentSweepSpacing) – Point-spacing mode. Defaults to LIN.

  • values (tuple[float, ...] | None) – Explicit source values for LIST sweeps. Ignored for linear and logarithmic sweeps.

  • delay (float) – Source settling delay between sweep points in seconds.

  • count (int) – Number of sweep repetitions. Defaults to 1.

Notes

Default start, stop, and points values are placeholders. For list sweeps supply values and omit start/stop/points.

count: int = 1
delay: float | tuple[float, ...] = 0.0
points: int = 0
spacing: CurrentSweepSpacing = 'LIN'
start: float = 0.0
stop: float = 0.0
values: tuple[float, ...] | None = None