mvpa2.generators.base.FeatureAttributesCollection¶
-
class
mvpa2.generators.base.
FeatureAttributesCollection
(items=None, length=None)¶ Container for attributes of features
Methods
clear
(() -> None. Remove all items from D.)fromkeys
(...)v defaults to None. get
((k[,d]) -> D[k] if k in D, ...)has_key
((k) -> True if D has a key k, else False)items
(() -> list of D’s (key, value) pairs, ...)iteritems
(() -> an iterator over the (key, ...)iterkeys
(() -> an iterator over the keys of D)itervalues
(...)keys
(() -> list of D’s keys)pop
((k[,d]) -> v, ...)If key is not found, d is returned if given, otherwise KeyError is raised popitem
(() -> (k, v), ...)2-tuple; but raise KeyError if D is empty. setdefault
((k[,d]) -> D.get(k,d), ...)values
(() -> list of D’s values)viewitems
(...)viewkeys
(...)viewvalues
(...)Parameters: length : int
When adding items to the collection, they are checked if the have this length.
Methods
clear
(() -> None. Remove all items from D.)fromkeys
(...)v defaults to None. get
((k[,d]) -> D[k] if k in D, ...)has_key
((k) -> True if D has a key k, else False)items
(() -> list of D’s (key, value) pairs, ...)iteritems
(() -> an iterator over the (key, ...)iterkeys
(() -> an iterator over the keys of D)itervalues
(...)keys
(() -> list of D’s keys)pop
((k[,d]) -> v, ...)If key is not found, d is returned if given, otherwise KeyError is raised popitem
(() -> (k, v), ...)2-tuple; but raise KeyError if D is empty. setdefault
((k[,d]) -> D.get(k,d), ...)values
(() -> list of D’s values)viewitems
(...)viewkeys
(...)viewvalues
(...)