Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Kevin Dunn
> Message: 5 > Date: Sun, 28 Mar 2010 00:24:01 + > From: Andrea Gavana > Subject: [Numpy-discussion] Interpolation question > To: Discussion of Numerical Python > Message-ID: >         > Content-Type: text/plain; charset=ISO-8859-1 > > Hi All, > >    I have an interpolation problem and I am h

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Brennan Williams
Andrea Gavana wrote: > On 29 March 2010 00:34, Robert Kern wrote: > >> On Sun, Mar 28, 2010 at 18:30, Andrea Gavana wrote: >> >>> Hi Friedrich & All, >>> >>> On 28 March 2010 23:51, Friedrich Romstedt wrote: >>> 2010/3/28 Andrea Gavana : > Example 1 >

Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 42, Issue 85

2010-03-28 Thread Kevin Dunn
On Sun, Mar 28, 2010 at 20:12, Kevin Dunn wrote: >> Date: Sun, 28 Mar 2010 00:24:01 + >> From: Andrea Gavana >> Subject: [Numpy-discussion] Interpolation question >> To: Discussion of Numerical Python >> Message-ID: >>         >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Hi All, >>

Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 42, Issue 85

2010-03-28 Thread Kevin Dunn
> Date: Sun, 28 Mar 2010 00:24:01 + > From: Andrea Gavana > Subject: [Numpy-discussion] Interpolation question > To: Discussion of Numerical Python > Message-ID: >         > Content-Type: text/plain; charset=ISO-8859-1 > > Hi All, > >    I have an interpolation problem and I am having some di

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
On 29 March 2010 00:34, Robert Kern wrote: > On Sun, Mar 28, 2010 at 18:30, Andrea Gavana wrote: >> Hi Friedrich & All, >> >> On 28 March 2010 23:51, Friedrich Romstedt wrote: >>> 2010/3/28 Andrea Gavana : Example 1 # o2 and o3 are the number of production wells, split into 2 #

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Brennan Williams
Andrea Gavana wrote: > Hi Friedrich & All, > > On 28 March 2010 23:51, Friedrich Romstedt wrote: > >> 2010/3/28 Andrea Gavana : >> >>> Example 1 >>> >>> # o2 and o3 are the number of production wells, split into 2 >>> # different categories >>> # inj is the number of injection wells >>> # f

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Robert Kern
On Sun, Mar 28, 2010 at 18:30, Andrea Gavana wrote: > Hi Friedrich & All, > > On 28 March 2010 23:51, Friedrich Romstedt wrote: >> 2010/3/28 Andrea Gavana : >>> Example 1 >>> >>> # o2 and o3 are the number of production wells, split into 2 >>> # different categories >>> # inj is the number of inje

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
Hi Friedrich & All, On 28 March 2010 23:51, Friedrich Romstedt wrote: > 2010/3/28 Andrea Gavana : >> Example 1 >> >> # o2 and o3 are the number of production wells, split into 2 >> # different categories >> # inj is the number of injection wells >> # fomts is the final oil recovery >> >> rbf = Rbf

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
Hi Brennan & All, On 28 March 2010 23:36, Brennan Williams wrote: > Andrea Gavana wrote: >> Let's see a couple of practical examples (I can share the data if >> someone is interested). >> >> > Definitely interested in helping solve this one so feel free to email > the data (obviously not 1,000 Ecl

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Friedrich Romstedt
2010/3/28 Andrea Gavana : > Example 1 > > # o2 and o3 are the number of production wells, split into 2 > # different categories > # inj is the number of injection wells > # fomts is the final oil recovery > > rbf = Rbf(oilPlateau, gasPlateau, gasInjPlateau, o2, o3, inj, fomts) > > op = [50380] > gp

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Brennan Williams
Andrea Gavana wrote: > Hi All, > > On 28 March 2010 22:14, Pierre GM wrote: > >> On Mar 28, 2010, at 4:47 PM, Andrea Gavana wrote: >> >>> HI All, >>> >>> On 28 March 2010 19:22, Robert Kern wrote: >>> On Sun, Mar 28, 2010 at 03:26, Anne Archibald wrote:

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
HI Brennan, On 28 March 2010 22:50, Brennan Williams wrote: > Andrea Gavana wrote: >> HI All, >> >> On 28 March 2010 19:22, Robert Kern wrote: >> >>> On Sun, Mar 28, 2010 at 03:26, Anne Archibald >>> wrote: >>> On 27 March 2010 20:24, Andrea Gavana wrote: > Hi All, > >    

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
Hi All, On 28 March 2010 22:14, Pierre GM wrote: > On Mar 28, 2010, at 4:47 PM, Andrea Gavana wrote: >> HI All, >> >> On 28 March 2010 19:22, Robert Kern wrote: >>> On Sun, Mar 28, 2010 at 03:26, Anne Archibald >>> wrote: On 27 March 2010 20:24, Andrea Gavana wrote: > Hi All, > >>>

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Brennan Williams
Andrea Gavana wrote: > HI All, > > On 28 March 2010 19:22, Robert Kern wrote: > >> On Sun, Mar 28, 2010 at 03:26, Anne Archibald >> wrote: >> >>> On 27 March 2010 20:24, Andrea Gavana wrote: >>> Hi All, I have an interpolation problem and I am having some difficu

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
Hi All, On 28 March 2010 22:14, Pierre GM wrote: > On Mar 28, 2010, at 4:47 PM, Andrea Gavana wrote: >> HI All, >> >> On 28 March 2010 19:22, Robert Kern wrote: >>> On Sun, Mar 28, 2010 at 03:26, Anne Archibald >>> wrote: On 27 March 2010 20:24, Andrea Gavana wrote: > Hi All, > >>>

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread josef . pktd
On Sun, Mar 28, 2010 at 4:47 PM, Andrea Gavana wrote: > HI All, > > On 28 March 2010 19:22, Robert Kern wrote: >> On Sun, Mar 28, 2010 at 03:26, Anne Archibald >> wrote: >>> On 27 March 2010 20:24, Andrea Gavana wrote: Hi All,    I have an interpolation problem and I am having so

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Pierre GM
On Mar 28, 2010, at 4:47 PM, Andrea Gavana wrote: > HI All, > > On 28 March 2010 19:22, Robert Kern wrote: >> On Sun, Mar 28, 2010 at 03:26, Anne Archibald >> wrote: >>> On 27 March 2010 20:24, Andrea Gavana wrote: Hi All, I have an interpolation problem and I am having some

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
HI All, On 28 March 2010 19:22, Robert Kern wrote: > On Sun, Mar 28, 2010 at 03:26, Anne Archibald > wrote: >> On 27 March 2010 20:24, Andrea Gavana wrote: >>> Hi All, >>> >>>    I have an interpolation problem and I am having some difficulties >>> in tackling it. I hope I can explain myself cl

Re: [Numpy-discussion] Dealing with roundoff error

2010-03-28 Thread Friedrich Romstedt
2010/3/28 Mike Sarahan : > 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 don't know your problem well enough, so the suggestion to use numpy.

[Numpy-discussion] Applying formula to all in an array which has value from previous

2010-03-28 Thread Vishal Rana
Hi, For a numpy array: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) I do some calculation with 0, 1... and get a value = 2.5, now use this value to do the repeat the same calculation with next element for example... 2.5, 2 and get a value = 3.1 3.1, 3 and get a value = 4.2 4.2, 4 and get a value = 5.1

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Robert Kern
On Sun, Mar 28, 2010 at 03:26, Anne Archibald wrote: > On 27 March 2010 20:24, Andrea Gavana 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 flui

Re: [Numpy-discussion] Why this Difference in Importing NumPy 1.2 vs 1.4?

2010-03-28 Thread PHobson
If your on windows, you can probably get rid of it through the Add/Remove Programs portion of the Conrol Panel. -- Paul Hobson Senior Staff Engineer Geosyntec Consultants Portland, OR On Mar 26, 2010, at 8:09 PM, "Wayne Watson" mailto:sierra_mtnv...@sbcglobal.net>> wrote: Thanks. How do I swit

Re: [Numpy-discussion] ufunc improvements [Was: Warnings in numpy.ma.test()]

2010-03-28 Thread Darren Dale
I'd like to use this thread to discuss possible improvements to generalize numpys functions. Sorry for double posting, but we will have a hard time keeping track of discussion about how to improve functions to deal with subclasses if they are spread across threads talking about warnings in masked a

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Andrea Gavana
On 28 March 2010 08:26, Anne Archibald wrote: > On 27 March 2010 20:24, Andrea Gavana 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 s

Re: [Numpy-discussion] Interpolation question

2010-03-28 Thread Anne Archibald
On 27 March 2010 20:24, Andrea Gavana 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 > 1000), and they are a result of

Re: [Numpy-discussion] Dealing with roundoff error

2010-03-28 Thread Anne Archibald
On 27 March 2010 19:38, Mike Sarahan wrote: > 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

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

2010-03-28 Thread Darren Dale
On Sat, Mar 27, 2010 at 10:23 PM, wrote: > subclasses of ndarray, like masked_arrays and quantities, and classes > that delegate to array calculations, like pandas, can redefine > anything. So there is not much that can be relied on if any subclass > is allowed to be used inside a function > > e.