Re: [Numpy-discussion] StringIO test failure with Python3.1.2

2010-03-27 Thread Charles R Harris
On Wed, Mar 24, 2010 at 12:41 PM, Pauli Virtanen pav...@iki.fipav%2...@iki.fi wrote: Wed, 24 Mar 2010 13:35:51 -0500, Bruce Southey wrote: [clip] elif isinstance(item, collections.Callable): File /usr/local/lib/python3.1/abc.py, line 121, in __instancecheck__ subclass =

Re: [Numpy-discussion] numpy.array(arr.flat) mutates arr if arr.flags.fortran: bug?

2010-03-27 Thread Zachary Pincus
You should open a ticket for this. http://projects.scipy.org/numpy/ticket/1439 On Mar 26, 2010, at 11:26 AM, Charles R Harris wrote: On Wed, Mar 24, 2010 at 1:13 PM, Zachary Pincus zachary.pin...@yale.edu wrote: Hello, I assume it is a bug that calling numpy.array() on a flatiter of

Re: [Numpy-discussion] f2py: could not crack entity declaration

2010-03-27 Thread Kevin Jacobs jac...@bioinformed.com
On Fri, Mar 26, 2010 at 7:07 PM, David Warde-Farley d...@cs.toronto.eduwrote: On 26-Mar-10, at 4:25 PM, David Warde-Farley wrote: That said, I gave that wrapper a whirl and it crashed on me... I noticed you added an 'njd' argument to the wrapper for elnet, did you modify the elnet

Re: [Numpy-discussion] numpy.trapz() doesn't respect subclass

2010-03-27 Thread Ryan May
On Mon, Mar 22, 2010 at 8:14 AM, Ryan May rma...@gmail.com wrote: On Sun, Mar 21, 2010 at 11:57 PM,  josef.p...@gmail.com wrote: On Mon, Mar 22, 2010 at 12:49 AM, Ryan May rma...@gmail.com wrote: Hi, I found that trapz() doesn't work with subclasses:

Re: [Numpy-discussion] numpy.trapz() doesn't respect subclass

2010-03-27 Thread josef . pktd
On Sat, Mar 27, 2010 at 1:00 PM, Ryan May rma...@gmail.com wrote: On Mon, Mar 22, 2010 at 8:14 AM, Ryan May rma...@gmail.com wrote: On Sun, Mar 21, 2010 at 11:57 PM,  josef.p...@gmail.com wrote: On Mon, Mar 22, 2010 at 12:49 AM, Ryan May rma...@gmail.com wrote: Hi, I found that trapz()

Re: [Numpy-discussion] numpy.trapz() doesn't respect subclass

2010-03-27 Thread Ryan May
On Sat, Mar 27, 2010 at 11:12 AM, josef.p...@gmail.com wrote: On Sat, Mar 27, 2010 at 1:00 PM, Ryan May rma...@gmail.com wrote: On Mon, Mar 22, 2010 at 8:14 AM, Ryan May rma...@gmail.com wrote: On Sun, Mar 21, 2010 at 11:57 PM,  josef.p...@gmail.com wrote: On Mon, Mar 22, 2010 at 12:49 AM,

[Numpy-discussion] Dealing with roundoff error

2010-03-27 Thread Mike Sarahan
Hi all, I have run into some roundoff problems trying to line up some experimental spectra. The x coordinates are given in intervals of 0.1 units. I read the data in from a text file using np.loadtxt(). I think Robert's post here explains why the problem exists:

[Numpy-discussion] Interpolation question

2010-03-27 Thread Andrea Gavana
Hi All, I have an interpolation problem and I am having some difficulties in tackling it. I hope I can explain myself clearly enough. Basically, I have a whole bunch of 3D fluid flow simulations (close to 1000), and they are a result of different combinations of parameters. I was planning to

Re: [Numpy-discussion] Interpolation question

2010-03-27 Thread josef . pktd
On Sat, Mar 27, 2010 at 8:24 PM, Andrea Gavana andrea.gav...@gmail.com wrote: Hi All,    I have an interpolation problem and I am having some difficulties in tackling it. I hope I can explain myself clearly enough. Basically, I have a whole bunch of 3D fluid flow simulations (close to

Re: [Numpy-discussion] numpy.trapz() doesn't respect subclass

2010-03-27 Thread josef . pktd
On Sat, Mar 27, 2010 at 2:31 PM, Ryan May rma...@gmail.com wrote: On Sat, Mar 27, 2010 at 11:12 AM,  josef.p...@gmail.com wrote: On Sat, Mar 27, 2010 at 1:00 PM, Ryan May rma...@gmail.com wrote: On Mon, Mar 22, 2010 at 8:14 AM, Ryan May rma...@gmail.com wrote: On Sun, Mar 21, 2010 at 11:57 PM,

Re: [Numpy-discussion] numpy.trapz() doesn't respect subclass

2010-03-27 Thread Ryan May
On Sat, Mar 27, 2010 at 8:23 PM, josef.p...@gmail.com wrote: Matrices have been part of numpy for a long time and your patch would break backwards compatibility in a pretty serious way. Yeah, and I should admit that I realize that makes this particular patch a no-go. However, that to me

Re: [Numpy-discussion] numpy.trapz() doesn't respect subclass

2010-03-27 Thread josef . pktd
On Sat, Mar 27, 2010 at 11:37 PM, Ryan May rma...@gmail.com wrote: On Sat, Mar 27, 2010 at 8:23 PM,  josef.p...@gmail.com wrote: Matrices have been part of numpy for a long time and your patch would break backwards compatibility in a pretty serious way. Yeah, and I should admit that I realize