Home | Trees | Indices | Help |
---|
|
a custom dictionary of Parameters. All keys must be strings, and valid Python symbol names, and all values must be Parameters. Custom methods: --------------- add() add_many()
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Initialize an ordered dictionary. The signature is the same as regular dictionaries, but keyword arguments are not recommended because their insertion order is arbitrary.
|
od[i]=y
|
convenience function for adding a Parameter: with p = Parameters() p.add(name, value=XX, ....) is equivalent to p[name] = Parameter(name=name, value=XX, .... |
convenience function for adding a list of Parameters: Here, you must provide a sequence of tuples, each containing at least the name. The order in each tuple is the following: name, value, vary, min, max, expr with p = Parameters() p.add_many( (name1, val1, True, None, None, None), (name2, val2, True, 0.0, None, None), (name3, val3, False, None, None, None), (name4, val4)) |
Allow easy access to the parameter attributes like value ect. fx. all values can be reached with Parameters.value |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:57 2016 | http://epydoc.sourceforge.net |