neurodsp.sim.update.ParamIter

class neurodsp.sim.update.ParamIter(params, update, values, component=None)[source]

Object for iterating across parameter updates.

Parameters:
paramsdict

Parameter definition to create iterator with.

updatestr

Name of the parameter to update.

values1d array

Values to iterate across.

componentstr, optional

Which component to update the parameter in. Only used if the parameter definition is for a multi-component simulation.

Attributes:
indexint

Index of current location through the iteration.

yieldergenerator

Generator for sampling the sig iterations.

__init__(params, update, values, component=None)[source]

Initialize parameter iteration object.

Methods

__init__(params, update, values[, component])

Initialize parameter iteration object.

Attributes

base

Alias in base parameters as property attribute.

property base

Alias in base parameters as property attribute.

Examples using neurodsp.sim.update.ParamIter

Managing Simulation Parameters

Managing Simulation Parameters