mvpa2.base.collections.FeatureAttributesCollection

Inheritance diagram of FeatureAttributesCollection
class mvpa2.base.collections.FeatureAttributesCollection(items=None, length=None)

Container for attributes of features

Attributes

attr_length Uniform length of all attributes in a collection

Methods

clear()
copy(*args, **kwargs) Create a copy of a collection.
fromkeys(S[,v]) v defaults to None.
get(k[,d])
has_key(k)
items()
iteritems()
iterkeys()
itervalues()
keys()
match(d[, strict]) Given a dictionary describing selection, return mask for matching items
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.
set_length_check(value)
Parameters:
setdefault(k[,d])
update(source[, copyvalues, memo])
Parameters:
values()
viewitems()
viewkeys()
viewvalues()
Parameters:

length : int

When adding items to the collection, they are checked if the have this length.

Attributes

attr_length Uniform length of all attributes in a collection

Methods

clear()
copy(*args, **kwargs) Create a copy of a collection.
fromkeys(S[,v]) v defaults to None.
get(k[,d])
has_key(k)
items()
iteritems()
iterkeys()
itervalues()
keys()
match(d[, strict]) Given a dictionary describing selection, return mask for matching items
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.
set_length_check(value)
Parameters:
setdefault(k[,d])
update(source[, copyvalues, memo])
Parameters:
values()
viewitems()
viewkeys()
viewvalues()