On Wed, May 19, 2010 at 3:50 PM, William Carithers wrote:
> Hi David and Josef,
>
> OK, I updated to numpy-1.4.1 and scipy-0.7.2 and this problem went away.
> Thanks for your help.
>
> BTW, trying to upgrade using the .dmg files from Sourceforge didn't work.
> It
> kept saying that it needed Syste
On Wed, May 19, 2010 at 4:19 PM, wrote:
> On Wed, May 19, 2010 at 4:08 PM, Darren Dale wrote:
>> I have a question about creation of numpy arrays from a list of
>> objects, which bears on the Quantities project and also on masked
>> arrays:
>>
> import quantities as pq
> import numpy as
I want to pass 1 integer and 2 numpy array into the C function as
followings:
void update_incident_field(int k, float *a, int na, float *b, int nb) {
for (i=0; i___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/li
Hi David and Josef,
OK, I updated to numpy-1.4.1 and scipy-0.7.2 and this problem went away.
Thanks for your help.
BTW, trying to upgrade using the .dmg files from Sourceforge didn't work. It
kept saying that it needed System Python 2.6 even though Python 2.6 is
already installed. In fact, it was
We are looking for a scientific Python developer to work on the design
and implementation of AQR’s proprietary research and production
systems. In this role you will work closely with researchers and
portfolio managers to identify problems and create solutions
addressing speed, scale, and usability
On Wed, May 19, 2010 at 4:24 PM, William Carithers wrote:
> Hi Josef,
>
> I did the same test, namely opening a new window and plugging in the
> printout values by hand and polyfit worked just fine. Here's the terminal
> output:
>
import numpy as n
y = n.array([ 864., 865., 866., 867.
The polynomial module definitely postdates 1.2.1; I echo Josef's rec. that
you update if possible.
On Wed, May 19, 2010 at 1:24 PM, William Carithers wrote:
> Hi Josef,
> > I didn't know numpy will use the scipy version of linalg for this.
>
Right, that's what told me he must be using an old (an
Hi Josef,
I did the same test, namely opening a new window and plugging in the
printout values by hand and polyfit worked just fine. Here's the terminal
output:
>>> import numpy as n
>>> y = n.array([ 864., 865., 866., 867., 868.])
>>> a = n.array([ 5.24860191, 6.0217514 , 6.11434555, 6.09
On Wed, May 19, 2010 at 4:08 PM, Darren Dale wrote:
> I have a question about creation of numpy arrays from a list of
> objects, which bears on the Quantities project and also on masked
> arrays:
>
import quantities as pq
import numpy as np
a, b = 2*pq.m,1*pq.s
np.array([a, b])
On Wed, May 19, 2010 at 3:51 PM, William Carithers wrote:
> Thanks David and Josef. Replies interspersed below.
>
>
> On 5/19/10 12:24 PM, "josef.p...@gmail.com" wrote:
>
>> On Wed, May 19, 2010 at 3:18 PM, David Goldsmith
>> wrote:
>>> Charles H.: is this happening because he's calling the old
I have a question about creation of numpy arrays from a list of
objects, which bears on the Quantities project and also on masked
arrays:
>>> import quantities as pq
>>> import numpy as np
>>> a, b = 2*pq.m,1*pq.s
>>> np.array([a, b])
array([ 12., 1.])
Why doesn't that create an object array? S
Thanks David and Josef. Replies interspersed below.
On 5/19/10 12:24 PM, "josef.p...@gmail.com" wrote:
> On Wed, May 19, 2010 at 3:18 PM, David Goldsmith
> wrote:
>> Charles H.: is this happening because he's calling the old version of
>> polyfit?
>>
>> William: try using numpy.polynomial.pol
On Wed, May 19, 2010 at 3:18 PM, David Goldsmith
wrote:
> Charles H.: is this happening because he's calling the old version of
> polyfit?
>
> William: try using numpy.polynomial.polyfit instead, see if that works.
>
> DG
>
> On Wed, May 19, 2010 at 11:03 AM, William Carithers
> wrote:
>>
>> I'm
Charles H.: is this happening because he's calling the old version of
polyfit?
William: try using numpy.polynomial.polyfit instead, see if that works.
DG
On Wed, May 19, 2010 at 11:03 AM, William Carithers wrote:
> I'm trying to do a simple 2nd degree polynomial fit to two arrays of 5
> entries
I'm trying to do a simple 2nd degree polynomial fit to two arrays of 5
entries. I get a runtime error:
RuntimeError: more argument specifiers than keyword list entries (remaining
format:'|:calc_lwork.gelss') in the lstsq module inside numpy.polyfit.
Here's the code snippet:
def findPeak(self, yde
15 matches
Mail list logo