Re: [Numpy-discussion] Loadtxt .bz2 support

2008-10-21 Thread Charles R Harris
On Tue, Oct 21, 2008 at 1:30 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed numpy.loadtxt has support for gzipped text files, but not for > bz2'd files. Here's a 3 line patch to add bzip2 support to loadtxt. > > Ryan > > -- > Ryan May > Graduate Research Assistant > School of Meteoro

[Numpy-discussion] Timeseries scikit - dates prior to 1900

2008-10-21 Thread Bevan Jenkins
Hello, I have just stumbled into a slight issue with scikits.timeseries and dates prior to 1900. Timeseries requires dates to be >= 1900. It took me a little while to discover this because I was trying to create dates at a frequency greater than daily (e.g. hourly) which leads to python crash

[Numpy-discussion] spherical harmonic decomposition of 3dmodels

2008-10-21 Thread Paul Rudin
I'm trying to learn to use numpy/scipy, and at the moment I'm looking at implementing a spherical harmonic shape descriptor for a 3d model. Something along the lines described on page 8 of . I've made code that does the voxelization bit from some geom

[Numpy-discussion] ANN: Enthought Python Distribution - New Release

2008-10-21 Thread Travis Vaught
Greetings, Enthought, Inc. is very pleased to announce the newest release of the Enthought Python Distribution (EPD) Py2.5 v4.0.30002: http://www.enthought.com/epd This release contains updates to many of EPD's packages, including NumPy, IPython, matplotlib, VTK, etc. This is also the first

Re: [Numpy-discussion] statistical model fitting & comparison

2008-10-21 Thread Kevin Jacobs <[EMAIL PROTECTED]>
On Tue, Oct 21, 2008 at 5:01 PM, Bruce Southey <[EMAIL PROTECTED]> wrote: > I think you are on your own here as it is a huge chunk to chew! > Depending on what you really mean by linear models is also part of that > (the Wikipedia entry is amusing). Most people probably to stats > applications lik

Re: [Numpy-discussion] statistical model fitting & comparison

2008-10-21 Thread Bruce Southey
Stéfan van der Walt wrote: > Hi Joris > > 2008/10/21 Joris De Ridder <[EMAIL PROTECTED]>: > >> I'm interested in developing some general-use Python/Numpy code for >> linear model fitting and comparison. The fitting is easy enough with >> Numpy, but the automated comparison of the submodels to id

[Numpy-discussion] Loadtxt .bz2 support

2008-10-21 Thread Ryan May
Hi, I noticed numpy.loadtxt has support for gzipped text files, but not for bz2'd files. Here's a 3 line patch to add bzip2 support to loadtxt. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Index: numpy/lib/io.py =

Re: [Numpy-discussion] detecting a nan with all() or any()

2008-10-21 Thread Robert Kern
On Tue, Oct 21, 2008 at 10:30, Vasileios Gkinis <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to detect if my array for example a = array((1,2,3,nan)) > contains any nans > So when i use: > In [31]: all(a!=nan) > I get > Out[31]: True > And when i use: > In [35]: any(a==nan) > I get > Out[35]:

[Numpy-discussion] detecting a nan with all() or any()

2008-10-21 Thread Vasileios Gkinis
Hi, I would like to detect if my array for example a = array((1,2,3,nan)) contains any nans So when i use: In [31]: all(a!=nan) I get Out[31]: True And when i use: In [35]: any(a==nan) I get Out[35]: False Which looks rather wrong to me...or i am simply missing something Can somebody comment on

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread Ryan Krauss
Firefox. After turning off my firewall and antivirus software, I re-downloaded, got the correct md5sum, and everything is fine. Thanks for your help. Ryan On 10/21/08, David Cournapeau <[EMAIL PROTECTED]> wrote: > > Ryan Krauss wrote: > > OK, I was sure this couldn't be the problem since I down

Re: [Numpy-discussion] Octave-numpy bridge?

2008-10-21 Thread Ravi
On Tuesday 21 October 2008 09:27:13 joep wrote: > However, this seems what you are looking for. > > see http://www.nabble.com/Python-to-Octave-bridge-td20031139.html > > Announcing Pytave - Python to Octave extension > > Embeds the Octave language interpreter as an extension to Python, > enabling e

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread David Cournapeau
Ryan Krauss wrote: > OK, I was sure this couldn't be the problem since I downloaded it > twice and also downloaded the 1.1 superpack and had the same issue, > but here is my md5sum: > > In [9]: md5sum.md5sum('numpy-1.2.0-win32-superpack-python2.5.exe') > Out[9]: '76ebe1fb78694e31e81e3e696be1e310' >

Re: [Numpy-discussion] Numpy Compile error on Win32 with Visual Studio.Net 2003

2008-10-21 Thread David Cournapeau
Fadhley Salim wrote: > Can one of the Numpy experts explain what this means and how I might > be able to solve it? I'm trying to compile Numpy 1.2 - I just zipped > the tar file from Sourceforge. numpy 1.2 is not buildable with visual studio 2003, because of a compiler bug. cheers, David ___

[Numpy-discussion] Numpy Compile error on Win32 with Visual Studio.Net 2003

2008-10-21 Thread Fadhley Salim
Can one of the Numpy experts explain what this means and how I might be able to solve it? I'm trying to compile Numpy 1.2 - I just zipped the tar file from Sourceforge. Thanks! compiling C sources creating build\temp.win32-2.4\Release\numpy\random creating build\temp.win32-2.4\Release\numpy\ran

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread Ryan Krauss
OK, I was sure this couldn't be the problem since I downloaded it twice and also downloaded the 1.1 superpack and had the same issue, but here is my md5sum: In [9]: md5sum.md5sum('numpy-1.2.0-win32-superpack-python2.5.exe') Out[9]: '76ebe1fb78694e31e81e3e696be1e310' which is different. I will tr

Re: [Numpy-discussion] statistical model fitting & comparison

2008-10-21 Thread Stéfan van der Walt
Hi Joris 2008/10/21 Joris De Ridder <[EMAIL PROTECTED]>: > I'm interested in developing some general-use Python/Numpy code for > linear model fitting and comparison. The fitting is easy enough with > Numpy, but the automated comparison of the submodels to identify which > model describes best the

Re: [Numpy-discussion] Building a Win32/Python2.4 multi-version egg for Numpy

2008-10-21 Thread Robert Kern
On Tue, Oct 21, 2008 at 08:41, Fadhley Salim <[EMAIL PROTECTED]> wrote: > Is there a way to make a multi-version egg from the Numpy source code > (supplied from sourceforge). > > Ideally I'd like to create an automated process that allows me to quickly > make a Win32 egg any time a new release of N

[Numpy-discussion] Building a Win32/Python2.4 multi-version egg for Numpy

2008-10-21 Thread Fadhley Salim
Is there a way to make a multi-version egg from the Numpy source code (supplied from sourceforge). Ideally I'd like to create an automated process that allows me to quickly make a Win32 egg any time a new release of Numpy comes out so that my team can test it and adjust our project's dependancies

Re: [Numpy-discussion] Octave-numpy bridge?

2008-10-21 Thread joep
On Oct 20, 11:30 pm, David Cournapeau <[EMAIL PROTECTED]> wrote: > Ravi wrote: > > Hi all, > >   Is anyone aware of a bridge between octave & numpy? As I port stuff from > > Matlab to numpy, I noticed that most of my Matlab code has workarounds that > > allow the code to be used from octave. My c

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread David Cournapeau
Jarrod Millman wrote: > > I don't mind hosting them somewhere else. Do you have some place in mind? > I was wondering why scipy.org could not be used :) > Google Code looks like it has a 10MB file size limit: > http://code.google.com/support/bin/answer.py?answer=56621&topic=10456 > > Launchpa

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread Jarrod Millman
On Tue, Oct 21, 2008 at 2:28 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > What do we use sourceforge for now ? It seems that we only use it for > the source/installers archives, now, right ? We use sourceforge neither > for ML, Forums, bug tracking or source code control, so why using it at >

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread David Cournapeau
Jarrod Millman wrote: > > Has anyone found a good way of scripting sourceforge? > What do we use sourceforge for now ? It seems that we only use it for the source/installers archives, now, right ? We use sourceforge neither for ML, Forums, bug tracking or source code control, so why using it at

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread Jarrod Millman
On Tue, Oct 21, 2008 at 2:23 AM, Francesc Alted <[EMAIL PROTECTED]> wrote: > I normally put the MD5 information in a separate file in the same > repository. I was thinking about doing something like that, but I have been trying to minimize the number of files that I upload to sourceforge, because

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread Francesc Alted
A Tuesday 21 October 2008, Jarrod Millman escrigué: > On Mon, Oct 20, 2008 at 8:38 PM, David Cournapeau : > >This is the first time I heard of this problem. I guess you > > checked the obvious (do you have enough ram). What is your platform > > exactly ? Did you check your installer is ok ? Som

Re: [Numpy-discussion] windows install problem for 1.2

2008-10-21 Thread Jarrod Millman
On Mon, Oct 20, 2008 at 8:38 PM, David Cournapeau : >This is the first time I heard of this problem. I guess you checked > the obvious (do you have enough ram). What is your platform exactly ? > Did you check your installer is ok ? Something I should have done is to > provide for a checksum: he