Re: [Numpy-discussion] broadcasting with numpy.interp

2010-11-24 Thread Friedrich Romstedt
2010/11/16 greg whittier : > I'd like to be able to speed up the following code. > > def replace_dead(cube, dead): >   # cube.shape == (320, 640, 1200) >   # dead.shape == (320, 640) >   # cube[i,j,:] are bad points to be replaced via interpolation if > dead[i,j] == True > >    bands = np.arange(0,

Re: [Numpy-discussion] Give Mark Wiebe numpy commit rights.

2010-11-24 Thread Charles R Harris
On Wed, Nov 24, 2010 at 12:25 PM, Pauli Virtanen wrote: > On Wed, 24 Nov 2010 12:13:19 -0700, Charles R Harris wrote: > > I'd like to give Mark Wiebe commit rights. > > No objections from me, we do need more capable hands on the C side. > > Though it would be nice for someone (me?) to comment on

Re: [Numpy-discussion] Give Mark Wiebe numpy commit rights.

2010-11-24 Thread Pauli Virtanen
On Wed, 24 Nov 2010 12:13:19 -0700, Charles R Harris wrote: > I'd like to give Mark Wiebe commit rights. No objections from me, we do need more capable hands on the C side. Though it would be nice for someone (me?) to comment on the half-float addition before considering pushing it. > That do

[Numpy-discussion] Give Mark Wiebe numpy commit rights.

2010-11-24 Thread Charles R Harris
Hi All, I'd like to give Mark Wiebe commit rights. That does bring up the question of commit rights proliferation, so along with that I'd like to suggest time limits on commit rights, something along the lines of "no commits for a year, lose rights". It's nothing punitive, it's just a matter of k

Re: [Numpy-discussion] How to export a CObject from NumPy to my own module?

2010-11-24 Thread Christopher Barker
On 11/24/10 9:35 AM, NumPyStudent wrote: > > Well, I believe I should problably use the PyArray_API instead > (http://www.velocityreviews.com/forums/t358140-re-dynamically-loaded-libraries.html), > since it seems it's implemented in NumPy for this exact reason(?). > Can anyone point me in the direc

Re: [Numpy-discussion] How to export a CObject from NumPy to my own module?

2010-11-24 Thread Robert Kern
On Wed, Nov 24, 2010 at 11:35, NumPyStudent wrote: > > Well, I believe I should problably use the PyArray_API instead > (http://www.velocityreviews.com/forums/t358140-re-dynamically-loaded-libraries.html), > since it seems it's implemented in NumPy for this exact reason(?). > Can anyone point me i

Re: [Numpy-discussion] How to export a CObject from NumPy to my own module?

2010-11-24 Thread NumPyStudent
Well, I believe I should problably use the PyArray_API instead (http://www.velocityreviews.com/forums/t358140-re-dynamically-loaded-libraries.html), since it seems it's implemented in NumPy for this exact reason(?). Can anyone point me in the direction of a good step-step guide og using this api t

Re: [Numpy-discussion] N dimensional dichotomy optimization

2010-11-24 Thread Charles R Harris
On Tue, Nov 23, 2010 at 3:37 AM, Sebastian Walter < sebastian.wal...@gmail.com> wrote: > On Tue, Nov 23, 2010 at 11:17 AM, Gael Varoquaux > wrote: > > On Tue, Nov 23, 2010 at 11:13:23AM +0100, Sebastian Walter wrote: > >> I'm not familiar with dichotomy optimization. > >> Several techniques have