LinearSweep

Contents

LinearSweep#

class LinearSweep(parameter, options)#

Bases: Sweep

Generates evenly spaced parameter values based on options.

  • If options is instance of StartStopOptions, then start and stop options are used for interval

  • If options is instance of CenterSpanOptions, then the start and stop of the interval are calculated from center and span values

Raises:

ValueError – Error is raised if options is inconsistent.

Parameters:

Module: exa.common.control.sweep.linear_sweep

Attributes

parameter

The Sweep represents changing the values of this Parameter.

options

Range specification where the values are derived from.

Methods