mvpa2.misc.plot.get_samples_by_attr

mvpa2.misc.plot.get_samples_by_attr(dataset, attr, values, sort=True)

Return indices of samples given a list of attributes