Re: [Numpy-discussion] Is this a known error in Ipython with numpy?

2016-04-27 Thread Elliot Hallmark
Hey Alex. Thanks. I was aware of that. However, I was simply doing `run myscript.py` on the first input line of the Ipython shell, so I did not expect this behaviour. The ipython list would be a better place to ask I guess, since the behaviour on numpy's part is to be expected. Just wondering if a

Re: [Numpy-discussion] Is this a known error in Ipython with numpy?

2016-04-27 Thread Nathan Goldbaum
On Wed, Apr 27, 2016 at 8:49 PM, Alexander Griffing wrote: > On Wed, Apr 27, 2016 at 7:48 PM, Elliot Hallmark > wrote: > > Hello, > > > > I haven't worked hard yet to create a minimal runnable (reproduce-able) > > example but I wanted to check if this sounds familiar to anyone. > > > > I have a

Re: [Numpy-discussion] Is this a known error in Ipython with numpy?

2016-04-27 Thread Alexander Griffing
On Wed, Apr 27, 2016 at 7:48 PM, Elliot Hallmark wrote: > Hello, > > I haven't worked hard yet to create a minimal runnable (reproduce-able) > example but I wanted to check if this sounds familiar to anyone. > > I have a pretty involved program that resizes arrays in place with > arr.resize. When

[Numpy-discussion] Is this a known error in Ipython with numpy?

2016-04-27 Thread Elliot Hallmark
Hello, I haven't worked hard yet to create a minimal runnable (reproduce-able) example but I wanted to check if this sounds familiar to anyone. I have a pretty involved program that resizes arrays in place with arr.resize. When I run it with python it completes and gives the expected result. Wh

Re: [Numpy-discussion] nan version of einsum

2016-04-27 Thread Chris Barber
Hi, Looks like I was a little confused. It appears that the nan* versions of functions in numpy just substitute the NaNs in a copy of the original array and so are just convenience methods. I was imagining that they were optimized and handling the NaNs at a lower level. It looks like the "bottl

Re: [Numpy-discussion] (no subject)

2016-04-27 Thread Sebastian Berg
On Mi, 2016-04-27 at 22:11 +0530, Saumyajit Dey wrote: > Hi, > > Thanks a lot for the reply. I am looking into the documentation > already. Also is there any guide as to how the source code of Numpy > is organised? > > For example, when i write > > > np.power(2,3) > what is the workflow in ter

Re: [Numpy-discussion] (no subject)

2016-04-27 Thread Saumyajit Dey
Hi, Thanks a lot for the reply. I am looking into the documentation already. Also is there any guide as to how the source code of Numpy is organised? For example, when i write np.power(2,3) ​what is the workflow in terms of functions in different modules being called?​ ​Regards, Saumyajit​ S

[Numpy-discussion] Help with bit arrays

2016-04-27 Thread Henrique Almeida
Hello, what's the current status on numpy for loading bit-arrays ? I'm currently unable to correctly load black and white (1-bit) TIFF images. Code example follows: from PIL import Image import numpy from matplotlib import pyplot img = Image.open('oi-00.tiff') a = numpy.array(img) ^ does not w

Re: [Numpy-discussion] (no subject)

2016-04-27 Thread Maniteja Nandana
Hi, Welcome! It would be a good exercise to look at the documentation and tutorial for Numpy at http://docs.scipy.org/doc/ Also the lectures at the lectures at www.scipy-lectures.org might be a interesting introduction to scientific python in numpy stack. Hope it helps. Happy learning ! Cheers