In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> 
wrote:

> 
> Right. "3 < data" creates an array of 0s and 1s where the condition is 
> false and true, respectively. You don't need where() at all.
> 
> Try
> 
> mask = logical_and(3 < data, data <= 7)

Great.  That's exactly what I needed.  Thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to