![]() |
Multivariate Pattern Analysis in Python |
Inheritance diagram for mvpa.misc.attributes:
Module with some special objects to be used as magic attributes with dedicated containers aka. Collections.
Bases: mvpa.misc.attributes.CollectableAttribute
Container which also takes care about recomputing unique values
XXX may be we could better link original attribute to additional attribute which actually stores the values (and do reverse there as well).
For now lets do it within a single class and tune up getattr
Bases: object
Base class for any custom behaving attribute intended to become part of a collection.
Derived classes will have specific semantics:
Those CollectableAttributes are to be groupped into corresponding collections for each class by statecollector metaclass, ie it would be done on a class creation (ie not per each object)
Simply reset the flag
Bases: mvpa.misc.attributes.CollectableAttribute
Simple container intended to conditionally store the value
Simply detach the value, and reset the flag