mvpa2.base.param.IndexedCollectable

Inheritance diagram of IndexedCollectable

class mvpa2.base.param.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.

Methods

Parameters:

value : arbitrary (see derived implementations)

The actual value of this attribute.

**kwargs :

Passed to Collectable

Methods

is_set
reset()

Simply reset the flag