or D.reject for all bad trials, ~D.reject for all good trials... Laurence =========================================== Laurence Hunt, DPhil Student Centre for Functional MRI of the Brain (FMRIB), University of Oxford [log in to unmask] Phone: (+44)1865-(2)22738 =========================================== On 12 Nov 2010, at 16:55, Vladimir Litvak wrote: > ind = D.pickconditions('conditionlabel'); > > should give you indices of trials for a particular condition that have > not been rejected