mvpa2.base.state.IndexedCollectable

Inheritance diagram of IndexedCollectable
class mvpa2.base.state.IndexedCollectable(index=None, *args, **kwargs)

Collectable with position information specified with index

Derived classes will have specific semantics:

  • ConditionalAttribute: conditional storage
  • Parameter: attribute with validity ranges.

IndexedAttributes instances are to be automagically grouped into corresponding collections for each class by StateCollector metaclass, i.e. it would be done on a class creation (i.e. not per each instance). Upon instance creation those collection templates will be copied for the instance.

Attributes

is_set
name
value

Methods

reset() Simply reset the flag
Parameters:

value : arbitrary (see derived implementations)

The actual value of this attribute.

**kwargs

Passed to Collectable

Attributes

is_set
name
value

Methods

reset() Simply reset the flag
is_set
reset()

Simply reset the flag