fooof.sim.params.Stepper¶
- class fooof.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.
Methods
__init__
(start, stop, step)Initialize a Stepper object.
Examples using fooof.sim.params.Stepper
¶
Aperiodic Parameters
Plot Power Spectra
Simulation Parameters