Re: [Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-05 Thread Damian Eads
Gregory, Matthew wrote: > Hi list, > > I'm a definite newbie to numpy, but finding the library to be incredibly > useful. > > I'm trying to calculate a weighted majority using numpy functions. I > have two sets of image stacks (one is values, the other weights) that I > read into 3D numpy arrays

[Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-05 Thread Gregory, Matthew
Hi list, I'm a definite newbie to numpy, but finding the library to be incredibly useful. I'm trying to calculate a weighted majority using numpy functions. I have two sets of image stacks (one is values, the other weights) that I read into 3D numpy arrays. Assuming I read in a 100 row x 100 co

Re: [Numpy-discussion] preparing to tag NumPy 1.0.5 on Wednesday

2008-03-05 Thread Charles R Harris
On Wed, Mar 5, 2008 at 10:08 PM, David Cournapeau < [EMAIL PROTECTED]> wrote: > On Wed, 2008-03-05 at 21:10 -0700, Charles R Harris wrote: > > > > > > On Wed, Mar 5, 2008 at 6:26 PM, David Cournapeau <[EMAIL PROTECTED]> > > wrote: > > On Tue, Mar 4, 2008 at 2:21 AM, Jarrod Millman > >

Re: [Numpy-discussion] preparing to tag NumPy 1.0.5 on Wednesday

2008-03-05 Thread David Cournapeau
On Wed, 2008-03-05 at 21:10 -0700, Charles R Harris wrote: > > > On Wed, Mar 5, 2008 at 6:26 PM, David Cournapeau <[EMAIL PROTECTED]> > wrote: > On Tue, Mar 4, 2008 at 2:21 AM, Jarrod Millman > <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I would like to

Re: [Numpy-discussion] preparing to tag NumPy 1.0.5 on Wednesday

2008-03-05 Thread Charles R Harris
On Wed, Mar 5, 2008 at 6:26 PM, David Cournapeau <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 2:21 AM, Jarrod Millman <[EMAIL PROTECTED]> > wrote: > > Hello, > > > > I would like to tag the 1.0.5 release on Wednesday night and announce > > the release by Monday (3/10). If you have anythi

Re: [Numpy-discussion] preparing to tag NumPy 1.0.5 on Wednesday

2008-03-05 Thread Charles R Harris
On Wed, Mar 5, 2008 at 6:26 PM, David Cournapeau <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 2:21 AM, Jarrod Millman <[EMAIL PROTECTED]> > wrote: > > Hello, > > > > I would like to tag the 1.0.5 release on Wednesday night and announce > > the release by Monday (3/10). If you have anythi

Re: [Numpy-discussion] preparing to tag NumPy 1.0.5 on Wednesday

2008-03-05 Thread David Cournapeau
On Tue, Mar 4, 2008 at 2:21 AM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to tag the 1.0.5 release on Wednesday night and announce > the release by Monday (3/10). If you have anything that you would > like to get in before then, please do it now. It would also be grea

Re: [Numpy-discussion] bug report ?

2008-03-05 Thread Revaz Yves
> PyArray_FromDims is backward compatible Numeric API which did not > support 64-bit correctly. > > PyArray_SimpleNew is the equivalent that accepts 64-bit dimensions > information and is what you should be using. > ok, excellent ! thanks for the answer. yves > -Travis O. > > __

Re: [Numpy-discussion] bug report ?

2008-03-05 Thread Travis E. Oliphant
Revaz Yves wrote: > Matthieu Brucher wrote: > >> Hi, >> >> What type is pos->dimensions in your case ? It may be long (64bits >> long) instead of the expected int (32bits) or something like that ? >> >> > yes, > pos->dimensions is a 64bits long > while PyArray_FromDims expects 32bits int.

Re: [Numpy-discussion] bug report ?

2008-03-05 Thread Revaz Yves
Matthieu Brucher wrote: > Hi, > > What type is pos->dimensions in your case ? It may be long (64bits > long) instead of the expected int (32bits) or something like that ? > yes, pos->dimensions is a 64bits long while PyArray_FromDims expects 32bits int. Why is it so ? > Matthieu > > 2008/2/8,

Re: [Numpy-discussion] preparing to tag NumPy 1.0.5 on Wednesday

2008-03-05 Thread Charles R Harris
On Mon, Mar 3, 2008 at 2:13 PM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: > > > > > > On Mon, Mar 3, 2008 at 10:21 AM, Jarrod Millman <[EMAIL PROTECTED] > > > wrote: > > > > Hello, > > > > I would like to tag the 1.0.5 release on Wedn