StartStopOptions#

class StartStopOptions(start, stop, count=None, step=None)#

Bases: SweepOptions

Range generation options.

Values are generated over the interval from start to stop. For linear sweep range the number of generated values can be based either on count or step. In case count is empty and step is not, step is used for calculating count. For exponential sweep range only count is used.

Module: exa.common.control.sweep.option.start_stop_options

Attributes

count

Number of values to generate.

step

Size of spacing between values.

start

Starting value of interval.

stop

Stopping value of interval.

Methods

Parameters:
start: int | float | complex#

Starting value of interval.

stop: int | float | complex#

Stopping value of interval.

count: int = None#

Number of values to generate. Must be non-negative. If count and step are empty, the default value of count is exa.common.control.sweep.option.constants.DEFAULT_COUNT.

step: int | float | complex = None#

Size of spacing between values. Must be non-zero. If both count and step are not empty, only count is used