2009/8/20 Dr. Phillip M. Feldman <pfeldman at verizon.net>: > > I have a 1-D array and would like to generate a list of indices for which a > given condition is satisfied. What is the cleanest way to do this? np.where(x > 0) Stéfan