MneExperiment
Factor.
isin
Find the index of entries matching one of the values
values
For each case True if the value is in values, else False.
index
Examples
>>> f = Factor('aabbcc') >>> f.isin(('b', 'c')) array([False, False, True, True, True, True], dtype=bool)