specparam.sim.params.Stepper

class specparam.sim.params.Stepper(start, stop, step)[source]

Object for stepping across parameter values.

Parameters:
startfloat

Start value to iterate from.

stopfloat

End value to iterate to.

stepfloat

Increment of each iteration.

Examples

Define a stepper object for center frequency values for an alpha peak:

>>> alpha_cf_steps = Stepper(8, 12.5, 0.5)
Attributes:
lenint

Length of generator range.

dataiterator

Set of specified parameters to iterate across.

__init__(start, stop, step)[source]

Initialize a Stepper object.

Methods

__init__(start, stop, step)

Initialize a Stepper object.

Examples using specparam.sim.params.Stepper

Aperiodic Parameters

Aperiodic Parameters

Plot Power Spectra

Plot Power Spectra

Simulation Parameters

Simulation Parameters