ParameterProvider

About the ParameterProvider class

The WaveBlocks Project

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 R. Bourquin @license: Modified BSD License

Inheritance diagram

Inheritance diagram of ParameterProvider

Class documentation

class WaveBlocksND.ParameterProvider[source]
compute_parameters()[source]

Compute some further parameters from the given ones.

get_parameters()[source]

Return a copy of the dict containing all parameters.

Returns:A copy of the dict containing all parameters. The dict will be copied.
get_timemanager()[source]

Return the embedded TimeManager instance.

set_parameters(params)[source]

Overwrite the dict containing all parameters with a newly provided dict with (possibly) changed parameters.

Parameters:params – A ParameterProvider instance or a dict with new parameters. The values will be deep-copied. No old values will remain.
update_parameters(params)[source]

Overwrite the dict containing all parameters with a newly provided dict with (possibly) changed parameters.

Parameters:params – A ParameterProvider instance or a dict with new parameters. The values will be deep-copied. Old values are only overwritten if we have got new values.