2.11. ParameterSet¶
2.11.1. Synopsis¶
2.11.1.1. Functions¶
- def __eq__ (rhs)
- def __mgetitem__ ()
- def __ne__ (rhs)
- def get_parameters ()
- def get_subsets ()
2.11.1.3. Properties¶
- property display_name [read-only] of str
- property keyframes [read-only] of list of 2-value tuples
- property name_components [read-only] of list of str
- property parameters [read-only] of list of Parameter
- property script_name [read-only] of str
- property subsets [read-only] of list of ParameterSet
2.11.2. Detailed Description¶
Parameter set instance associated with some data object of the project.
- class mocha.project.ParameterSet(ParameterSet)¶
- ParameterSet.__mgetitem__()¶
If the key is string value object, returns child parameter set or parameter given its name. If the key is a sequence of string values, traverses it down the hierarchy tree and returns the last parameter/-set item. Note: can be chained.
- ParameterSet.get_parameters()¶
Return type: list of Parameter
- ParameterSet.get_subsets()¶
Return type: list of ParameterSet
- ParameterSet.isNull()¶
Return type: PySide2.QtCore.bool
- ParameterSet.__ne__(rhs)¶
Return type: PySide2.QtCore.bool
- ParameterSet.__eq__(rhs)¶
Return type: PySide2.QtCore.bool
- ParameterSet.name_components¶
Type: list of str Access: read-only Provides access to the full parameter set name list.
- ParameterSet.parameters¶
Type: list of Parameter Access: read-only Provides access to list of the parameters.
- ParameterSet.subsets¶
Type: list of ParameterSet Access: read-only Provides access to list of the parameter subsets.
- ParameterSet.keyframes¶
Type: list of 2-value tuples Access: read-only Provides access to list of unique keyframes for the parameter set.
- ParameterSet.display_name¶
Type: str Access: read-only Provides access to a display name.
- ParameterSet.script_name¶
Type: str Access: read-only Provides access to a script name.