Re: [Numpy-discussion] numpy histogram normed=True (bug / confusing behavior)

2010-08-28 Thread Zbyszek Szmek
Hi, On Fri, Aug 27, 2010 at 06:43:26PM -0600, Charles R Harris wrote: On Fri, Aug 27, 2010 at 2:47 PM, Robert Kern robert.k...@gmail.com wrote: On Fri, Aug 27, 2010 at 15:32, David Huard david.hu...@gmail.com wrote: Nils and Joseph, Thanks for the bug report,

Re: [Numpy-discussion] Boolean arrays

2010-08-28 Thread Francesc Alted
2010/8/27, Robert Kern robert.k...@gmail.com: [~] |2 def kern_in(x, valid): .. mask = np.zeros(x.shape, dtype=bool) .. for good in valid: .. mask |= (x == good) .. return mask .. [~] |6 ar = np.random.randint(100, size=100) [~] |7 valid = np.arange(0, 100, 5)

[Numpy-discussion] [ANN] Reminder: Autumn School Advanced Scientific Programming in Python in Trento, It aly

2010-08-28 Thread Tiziano Zito
Reminder: Application deadline is August 31st, 2010! === Advanced Scientific Programming in Python = an Autumn School by the G-Node, the Center for Mind/Brain Sciences and the Fondazione Bruno Kessler

Re: [Numpy-discussion] numpy histogram normed=True (bug / confusing behavior)

2010-08-28 Thread Robert Kern
On Sat, Aug 28, 2010 at 04:12, Zbyszek Szmek zbys...@in.waw.pl wrote: Hi, On Fri, Aug 27, 2010 at 06:43:26PM -0600, Charles R Harris wrote:    On Fri, Aug 27, 2010 at 2:47 PM, Robert Kern robert.k...@gmail.com    wrote:      On Fri, Aug 27, 2010 at 15:32, David Huard david.hu...@gmail.com