stoner_measurement.instruments.source_meter.SourceSweepConfiguration¶
- class stoner_measurement.instruments.source_meter.SourceSweepConfiguration(start: float = 0.0, stop: float = 0.0, points: int = 0, spacing: SweepSpacing = SweepSpacing.LIN, values: tuple[float, ...] | None = None, delay: float = 0.0)[source]¶
Bases:
objectConfiguration for a source sweep.
- Variables:
start (float) – Sweep start value in source units. Ignored for list sweeps.
stop (float) – Sweep stop value in source units. Ignored for list sweeps.
points (int) – Number of sweep points. For list sweeps this is inferred from
len(values)by convenience wrappers but must be supplied explicitly when constructing this dataclass directly.spacing (SweepSpacing) – Point-spacing mode. Defaults to
LIN.values (tuple[float, ...] | None) – Explicit source values for
LISTsweeps. Ignored for linear and logarithmic sweeps.delay (float) – Source settling delay between sweep points in seconds. A value of
0.0disables the added delay.
Notes
Default
start,stop, andpointsvalues are placeholders. Callers should provide values appropriate for the selected spacing mode. For list sweeps, usevaluesand setpointstolen(values). The defaultdelayof0.0seconds disables added settling time.- spacing: SweepSpacing = 'LIN'¶