Re: [Numpy-discussion] Initial implementation of histogram_discrete()

2009-11-14 Thread David Warde-Farley
On 14-Nov-09, at 10:57 AM, Bruce Southey wrote: > Is it just that bincount does not count negative numbers? > If so, then I would strongly argue that is insufficient for creating > new function. Rather you need to provide a suitable patch to fix > bincount or replace bincount with a better version

Re: [Numpy-discussion] Import error in builds of 7726

2009-11-14 Thread Chris
David Cournapeau gmail.com> writes: > I am afraid I don't see where the problem may come from. I used the > exact same build script as you, on the same version of mac os x, and I > don't see the problem. Is there anything non standard in your > environment that you can think of ? > Not that I ca

[Numpy-discussion] November 20 Webinar: Interpolation with NumPy/SciPy

2009-11-14 Thread Amenity Applewhite
Having trouble viewing this email? Click here Friday, November 20: Interpolation with NumPy/SciPy Dear Amenity, It's time for our mid-month Scientific Computing with Python webinar! This month's topic is sure to prove very useful for data analysts: Interpolation with NumPy and SciPy. In m

[Numpy-discussion] Adding the new polynomial/chebyshev modules.

2009-11-14 Thread Charles R Harris
Hi All, I would like some advise on the best way to add the new functions. I've added a new package polynomial, and that package contains four new modules: chebyshev, polynomial, polytemplate, polyutils. The question is whether or not to include all of the functions in these packages in the __init

Re: [Numpy-discussion] numpy distutils and distribute

2009-11-14 Thread Darren Dale
On Sat, Nov 14, 2009 at 10:42 AM, Gökhan Sever wrote: > On Sat, Nov 14, 2009 at 9:29 AM, Darren Dale wrote: >> >> Please excuse the cross-post. I have installed distribute-0.6.8 and >> numpy-svn into my ~/.local/lib/python2.6/site-packages (using "python >> setup.py install --user"). I am now try

Re: [Numpy-discussion] Initial implementation of histogram_discrete()

2009-11-14 Thread Bruce Southey
On Sat, Nov 14, 2009 at 6:40 AM, wrote: > On Sat, Nov 14, 2009 at 7:10 AM,   wrote: >> On Sat, Nov 14, 2009 at 6:53 AM, Priit Laes wrote: >>> Ühel kenal päeval, R, 2009-11-13 kell 13:36, kirjutas Ernest Adrogué: 13/11/09 @ 09:41 (+0200), thus spake Priit Laes: > Does anyone have a scen

Re: [Numpy-discussion] numpy distutils and distribute

2009-11-14 Thread Gökhan Sever
On Sat, Nov 14, 2009 at 9:29 AM, Darren Dale wrote: > Please excuse the cross-post. I have installed distribute-0.6.8 and > numpy-svn into my ~/.local/lib/python2.6/site-packages (using "python > setup.py install --user"). I am now trying to install Enthought's > Enable from a fresh svn checkout

[Numpy-discussion] numpy distutils and distribute

2009-11-14 Thread Darren Dale
Please excuse the cross-post. I have installed distribute-0.6.8 and numpy-svn into my ~/.local/lib/python2.6/site-packages (using "python setup.py install --user"). I am now trying to install Enthought's Enable from a fresh svn checkout on ubuntu karmic: $ python setup.py develop --user [...] buil

Re: [Numpy-discussion] Initial implementation of histogram_discrete()

2009-11-14 Thread josef . pktd
On Sat, Nov 14, 2009 at 7:10 AM, wrote: > On Sat, Nov 14, 2009 at 6:53 AM, Priit Laes wrote: >> Ühel kenal päeval, R, 2009-11-13 kell 13:36, kirjutas Ernest Adrogué: >>> 13/11/09 @ 09:41 (+0200), thus spake Priit Laes: >>> > Does anyone have a scenario where one would actually have both negative

Re: [Numpy-discussion] Initial implementation of histogram_discrete()

2009-11-14 Thread josef . pktd
On Sat, Nov 14, 2009 at 6:53 AM, Priit Laes wrote: > Ühel kenal päeval, R, 2009-11-13 kell 13:36, kirjutas Ernest Adrogué: >> 13/11/09 @ 09:41 (+0200), thus spake Priit Laes: >> > Does anyone have a scenario where one would actually have both negative >> > and positive numbers (integers) in the li

Re: [Numpy-discussion] Initial implementation of histogram_discrete()

2009-11-14 Thread Priit Laes
Ühel kenal päeval, R, 2009-11-13 kell 13:36, kirjutas Ernest Adrogué: > 13/11/09 @ 09:41 (+0200), thus spake Priit Laes: > > Does anyone have a scenario where one would actually have both negative > > and positive numbers (integers) in the list? > > Yes: when you have a random variable that is the

Re: [Numpy-discussion] Howto document constants?

2009-11-14 Thread Ralf Gommers
On Sat, Nov 14, 2009 at 3:54 AM, Charles R Harris wrote: > > Also, do we have a way to document static class methods? Class attributes? > > Class attributes can be documented in the class docstring as described here: http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines#documenting-classes.

[Numpy-discussion] numpy distutils and fcompiler error again

2009-11-14 Thread Nadav Horesh
I encountered again the error "AttributeError: fcompiler" this time when tried to install scikits.image-0.2.2. The full log from "python setup.py instal" is: Warning: Assuming default configuration (scikits/{setup_scikits,setup}.py was not found) Appending scikits configuration to Ignoring att

Re: [Numpy-discussion] Howto document constants?

2009-11-14 Thread Ralf Gommers
On Sat, Nov 14, 2009 at 4:30 AM, Pierre GM wrote: > > On Nov 13, 2009, at 9:54 PM, Charles R Harris wrote: > > > Hi All, > > > > The documentation documentation says to document constants like > functions. So if a module defines a constant is it documented like so: > > > > myconstant = 1 > > """B