Re: [Numpy-discussion] Producing a Histogram When Bins Are Known

2009-11-28 Thread Wayne Watson
Yes, the book description is here

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread Wayne Watson
How would I do that? Anne Archibald wrote: > 2009/11/28 Wayne Watson : > >> I was only illustrating a way that I would not consider, since the >> hardware has already created the pdf. I've already coded it pretty much >> as you have suggested. As I think I mention ed above, I'm a bit >> surpris

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread Anne Archibald
2009/11/28 Wayne Watson : > > I was only illustrating a way that I would not consider, since the > hardware has already created the pdf. I've already coded it pretty much > as you have suggested. As I think I mention ed above, I'm a bit > surprised numpy doesn't provide the code you suggest as part

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread Wayne Watson
David Goldsmith wrote: > On Fri, Nov 27, 2009 at 9:25 PM, Wayne Watson > mailto:sierra_mtnv...@sbcglobal.net>> > wrote: > > I actually wrote my own several days ago. When I began getting myself > more familiar with numpy, I was hoping there would be an easy to use > version in it fo

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread David Goldsmith
On Fri, Nov 27, 2009 at 9:25 PM, Wayne Watson wrote: > I actually wrote my own several days ago. When I began getting myself > more familiar with numpy, I was hoping there would be an easy to use > version in it for this frequency approach. If not, then I'll just stick > with what I have. It seems

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

2009-11-28 Thread Charles R Harris
On Sat, Nov 28, 2009 at 6:44 PM, David Cournapeau wrote: > On Sun, Nov 29, 2009 at 10:02 AM, Chris wrote: > > Chris gmail.com> writes: > >> Nothing looks out of order, but I still get the > >> Symbol not found: _npy_cexp > >> errors. > >> > > > > This problem still persists through rev 7803. Is

[Numpy-discussion] A Simple Example of histogram Using Range?

2009-11-28 Thread Wayne Watson
See Subject. I don't seem able to produce a simple example of using (Matplotlib) histogram that uses range. I tried a variety of ranges, range=(5,22), range=(0, 50.2), ... and I see no difference between any of the x values scale on the plot. Can someone provide an example that shows how it wor

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

2009-11-28 Thread David Cournapeau
On Sun, Nov 29, 2009 at 10:02 AM, Chris wrote: > Chris gmail.com> writes: >> Nothing looks out of order, but I still get the >> Symbol not found: _npy_cexp >> errors. >> > > This problem still persists through rev 7803. Is there no solution > for this? The problem is that I don't see this issue

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

2009-11-28 Thread Chris
Chris gmail.com> writes: > Nothing looks out of order, but I still get the > Symbol not found: _npy_cexp > errors. > This problem still persists through rev 7803. Is there no solution for this? I have no clue where its coming from. Thanks in advance. _

Re: [Numpy-discussion] Installing numpy under cygwin

2009-11-28 Thread Olivia Cheronet
Thank you. This time the building of Numpy worked with no error message. However, when I now try to import Numpy in Python, there is a problem with lapack_lite (see below). Thanks again! Olivia $ python Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14) [GCC 3.4.4 (cygming special, gdc 0.12,

Re: [Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Charles R Harris
On Sat, Nov 28, 2009 at 12:32 PM, Christoph Gohlke wrote: > Commenting out the declaration in line 16 of decriptor.h works. > > OK, I went ahead and committed this change. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.s

[Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Christoph Gohlke
Commenting out the declaration in line 16 of decriptor.h works. Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Charles R Harris
On Sat, Nov 28, 2009 at 12:21 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Sat, Nov 28, 2009 at 12:07 PM, Christoph Gohlke wrote: > >> Changing *_datetime_strings[] to **_datetime_strings in descriptor.h >> results in the following compiler error: >> >> numpy\core\src\multiarr

Re: [Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Charles R Harris
On Sat, Nov 28, 2009 at 12:07 PM, Christoph Gohlke wrote: > Changing *_datetime_strings[] to **_datetime_strings in descriptor.h > results in the following compiler error: > > numpy\core\src\multiarray\descriptor.c(472) : error C2372: > '_datetime_strings' : redefinition; different types of indir

[Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Christoph Gohlke
Changing *_datetime_strings[] to **_datetime_strings in descriptor.h results in the following compiler error: numpy\core\src\multiarray\descriptor.c(472) : error C2372: '_datetime_strings' : redefinition; different types of indirection numpy\core\src\multiarray\descriptor.h(16) : see declaratio

Re: [Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Charles R Harris
On Sat, Nov 28, 2009 at 11:27 AM, Christoph Gohlke wrote: > The current numpy sources from svn trunk (r7772 or newer) and the 1.4.x > branch fail to build with Visual Studio 2008 with the following compiler > error: > > numpy\core\src\multiarray\descriptor.h(16) : error C2133: > '_datetime_string

[Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

2009-11-28 Thread Christoph Gohlke
The current numpy sources from svn trunk (r7772 or newer) and the 1.4.x branch fail to build with Visual Studio 2008 with the following compiler error: numpy\core\src\multiarray\descriptor.h(16) : error C2133: '_datetime_strings' : unknown size A quick fix is to specify the size of the _dateti

Re: [Numpy-discussion] numpy 1.3.0 eggs with python2.6 seem broken on osx, and linux

2009-11-28 Thread David Cournapeau
On Sat, Nov 28, 2009 at 10:42 PM, René Dudfield wrote: > > yeah, I completely understand the unfortunate packaging situation (eg, some > of my packages do not work with this install method). > > Here is a simple package requiring numpy.  It uses buildout > (http://www.buildout.org/).  To help eas

Re: [Numpy-discussion] numpy 1.3.0 eggs with python2.6 seem broken on osx, and linux

2009-11-28 Thread René Dudfield
On Sat, Nov 28, 2009 at 11:16 AM, David Cournapeau wrote: > On Sat, Nov 28, 2009 at 6:34 PM, René Dudfield wrote: > > Hi, > > > > the other day I tried installing numpy with easy_install, and did not > have > > much luck with python2.6. > > What problem exactly do you have ? > > Since 1.3.0, the

Re: [Numpy-discussion] Producing a Histogram When Bins Are Known

2009-11-28 Thread josef . pktd
On Sat, Nov 28, 2009 at 6:18 AM, Sebastian wrote: > > > On Sat, Nov 28, 2009 at 1:01 AM, wrote: >> >> On Fri, Nov 27, 2009 at 9:44 PM, Wayne Watson >> wrote: >> > Joseph, >> > That got it by the fig problem but there is yet another one. value is >> > not defined on the very long line: >> > range

Re: [Numpy-discussion] Producing a Histogram When Bins Are Known

2009-11-28 Thread Sebastian
On Sat, Nov 28, 2009 at 1:01 AM, wrote: > On Fri, Nov 27, 2009 at 9:44 PM, Wayne Watson > wrote: > > Joseph, > > That got it by the fig problem but there is yet another one. value is > > not defined on the very long line: > > range = ... > >Wayne > > (values is the data array, ... no idea ab

Re: [Numpy-discussion] numpy 1.3.0 eggs with python2.6 seem broken on osx, and linux

2009-11-28 Thread David Cournapeau
On Sat, Nov 28, 2009 at 6:34 PM, René Dudfield wrote: > Hi, > > the other day I tried installing numpy with easy_install, and did not have > much luck with python2.6. What problem exactly do you have ? Since 1.3.0, the release process for numpy uses virtualenv internally to build the installers,

[Numpy-discussion] numpy 1.3.0 eggs with python2.6 seem broken on osx, and linux

2009-11-28 Thread René Dudfield
Hi, the other day I tried installing numpy with easy_install, and did not have much luck with python2.6. To reproduce, try installing with easy_install-2.6, or with buildout. The work around is to just install it in another way (eg, dmg or with setup.py install). cheers, __