CenterSpanOptions#

class CenterSpanOptions(center, span, count=None, step=None, asc=None)#

Bases: SweepOptions

Range generation options.

Values are generated over the interval with the center center and the size of span. 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.center_span_options

Attributes

asc

Order of generated values.

count

Number of values to generate.

step

Size of spacing between values.

center

Value of interval center.

span

Size of the interval.

Methods

Parameters:
center: int | float | complex#

Value of interval center.

span: int | float | complex#

Size of the interval.

count: int = None#

Number of values to generate. 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.

asc: bool = None#

Order of generated values. Default to ascending