Re: [Numpy-discussion] Masked Array Usage Problems

2010-04-10 Thread josef . pktd
On Sun, Apr 11, 2010 at 1:00 AM, Lane Brooks wrote: > > On Apr 10, 2010, at 5:17 AM, josef.p...@gmail.com wrote: > >> On Sat, Apr 10, 2010 at 3:49 AM, Lane Brooks wrote: >>> I am trying out masked arrays for the first time and having some >>> problems. I have a 2-D image as dtype=numpy.int16 >>>

Re: [Numpy-discussion] Masked Array Usage Problems

2010-04-10 Thread Lane Brooks
On Apr 10, 2010, at 5:17 AM, josef.p...@gmail.com wrote: > On Sat, Apr 10, 2010 at 3:49 AM, Lane Brooks wrote: >> I am trying out masked arrays for the first time and having some >> problems. I have a 2-D image as dtype=numpy.int16 >> >> I create a mask of all False to not mask out any pixels. >

Re: [Numpy-discussion] Masked Array Usage Problems

2010-04-10 Thread josef . pktd
On Sat, Apr 10, 2010 at 3:49 AM, Lane Brooks wrote: > I am trying out masked arrays for the first time and having some > problems. I have a 2-D image as dtype=numpy.int16 > > I create a mask of all False to not mask out any pixels. > > I calculate the mean of the image original image and it comes

[Numpy-discussion] Masked Array Usage Problems

2010-04-10 Thread Lane Brooks
I am trying out masked arrays for the first time and having some problems. I have a 2-D image as dtype=numpy.int16 I create a mask of all False to not mask out any pixels. I calculate the mean of the image original image and it comes out ~597. I calculate the mean of the masked array and it co