mvpa2.base.state.ParameterCollection¶
-
class
mvpa2.base.state.ParameterCollection(items=None, name=None)¶ Container of Parameters for a stateful object.
Attributes
listingReturn a list of registered ca along with the documentation Methods
clear()copy(*args, **kwargs)Create a copy of a collection. fromkeys(S[,v])v defaults to None. get(k[,d])has_key(k)is_set([key])If item (or any in the present or listed) was set items()iteritems()iterkeys()itervalues()keys()pop(k[,d])If key is not found, d is returned if given, otherwise KeyError is raised popitem()2-tuple; but raise KeyError if D is empty. reset([key])Reset the conditional attribute defined by keyreset_value(key[, missingok])Reset all parameters to default values setdefault(k[,d])update(source[, copyvalues, memo])Parameters: values()viewitems()viewkeys()viewvalues()which_set()Return list of keys which were set Initialize the Collection
Parameters: items : dict of IndexedCollectable’s
items to initialize with
name : str
name of the collection (as seen in the owner, e.g. ‘ca’)
Attributes
listingReturn a list of registered ca along with the documentation Methods
clear()copy(*args, **kwargs)Create a copy of a collection. fromkeys(S[,v])v defaults to None. get(k[,d])has_key(k)is_set([key])If item (or any in the present or listed) was set items()iteritems()iterkeys()itervalues()keys()pop(k[,d])If key is not found, d is returned if given, otherwise KeyError is raised popitem()2-tuple; but raise KeyError if D is empty. reset([key])Reset the conditional attribute defined by keyreset_value(key[, missingok])Reset all parameters to default values setdefault(k[,d])update(source[, copyvalues, memo])Parameters: values()viewitems()viewkeys()viewvalues()which_set()Return list of keys which were set -
reset_value(key, missingok=False)¶ Reset all parameters to default values
-

