mvpa2.featsel.helpers.ElementSelector¶
![Inheritance diagram of ElementSelector](../_images/inheritance-06ef916053c82bca215162f5c8fb63a35da1eeb3.png)
-
class
mvpa2.featsel.helpers.
ElementSelector
(mode='discard', **kwargs)¶ Base class to implement functors to select some elements based on a sequence of values.
Notes
Available conditional attributes:
ndiscarded+
: Store number of discarded elements.
(Conditional attributes enabled by default suffixed with
+
)Attributes
descr
Description of the object if any mode
Methods
__call__
(seq)Parameters: reset
()Parameters: mode : {‘discard’, ‘select’}
Decides whether to
select
or todiscard
features.enable_ca : None or list of str
Names of the conditional attributes which should be enabled in addition to the default ones
disable_ca : None or list of str
Names of the conditional attributes which should be disabled
descr : str
Description of the instance
Attributes
descr
Description of the object if any mode
Methods
__call__
(seq)Parameters: reset
()-
mode
¶