ParameterLoader

About the ParameterLoader 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 ParameterLoader

Class documentation

class WaveBlocksND.ParameterLoader[source]
load_from_dict(adict)[source]

Construct a ParameterProvider instance from a common python key-value dict.

Parameters:adict – A plain python dict with key-value pairs.
Returns:A ParameterProvider instance.
load_from_file(filepath)[source]

Read the parameters from a configuration file.

Parameters:filepath – Path to the configuration file.
Returns:A ParameterProvider instance.