mvpa2.featsel.base.
mask2slice
Convert a boolean mask vector into an equivalent slice (if possible).
mask: boolean array
The mask.
slice or boolean array
If possible the boolean mask is converted into a slice. If this is not possible the unmodified boolean mask is returned.
slice
mvpa2.featsel.base.accepts_dataset_as_samples
mvpa2.featsel.base.split_by_sample_attribute