Re: [Numpy-discussion] [ANN] Python for Scientific Computing conference in Boulder, CO; April'15

2014-10-28 Thread Jean-Baptiste Marquette
Le 28 oct. 2014 à 19:09, Fernando Perez a écrit : > a colleague from NCAR in Boulder just sent me this link about a conference > they are organizing in the spring: > Wrong year on the web page: April 13 - 17, 2014 Cheers, JB ___ NumPy-Discussio

Re: [Numpy-discussion] EuroSciPy 2014 Call for Abstracts

2014-03-05 Thread Jean-Baptiste Marquette
Le 5 mars 2014 à 20:43, Ralf Gommers a écrit : > Hmm, that's why one shouldn't send emails like these at the end of a long > day. Dates are correct except for 2013-->2014. « It's only those who do nothing that make no mistakes, I suppose. » Joseph Conrad (An Outcast of the Islands, 1896, p

Re: [Numpy-discussion] EuroSciPy 2014 Call for Abstracts

2014-03-05 Thread Jean-Baptiste Marquette
Hi Ralf, > EuroSciPy 2014, the Seventh Annual Conference on Python in Science, takes > place in Cambridge, UK on 27 - 30 August 2013. The conference features two > days of tutorials followed by two days of scientific talks. The day after the > main conference, developer sprints will be organize

Re: [Numpy-discussion] Simple way to launch python processes?

2011-12-07 Thread Jean-Baptiste Marquette
You should consider the powerful multiprocessing package. Have a look on this piece of code: import glob import os import multiprocessing as multi import subprocess as sub import time NPROC = 4 Python = '/Library/Frameworks/EPD64.framework/Versions/Current/bin/python' Xterm = '/usr/X11/bin/xterm

Re: [Numpy-discussion] ANN: SciPy 0.10.0 released

2011-11-14 Thread Jean-Baptiste Marquette
Le 13 nov. 2011 à 20:19, Ralf Gommers a écrit : > I am pleased to announce the availability of SciPy 0.10.0. Hi all, Thanks for this great job. I've run nosetests on my Mac (64-bit 10.7.2 build on EPD) which fails on the following test: test_definition (test_basic.TestDoubleIFFT) ... FAIL tes

Re: [Numpy-discussion] what to use in buildbot config for numpy testing

2011-09-08 Thread Jean-Baptiste Marquette
There is much more simple: the command nosetests numpy Of course, nosetests needs to be installed... Cheers JB Le 7 sept. 2011 à 23:44, Chris Kees a écrit : > Hi Derek, > > Thanks! I forgot that python would exit with 0 even if numpy.test() > fails. That could have taken a while to realize. >

Re: [Numpy-discussion] A question about dtype syntax

2011-09-01 Thread Jean-Baptiste Marquette
Hi Warren & Pierre, > Notice that your array is actually a 2D structured array with shape (n, 1). > Try reshaping it to (n,) or apply np.squeeze before calling savetxt. Thanks to both of you, I made huge progress to understand how numpy arrays work. I use PyDev under Eclipse, and the debugger

Re: [Numpy-discussion] A question about dtype syntax

2011-08-31 Thread Jean-Baptiste Marquette
Hi Pierre, > > On Aug 31, 2011, at 3:40 PM, Jean-Baptiste Marquette wrote: >> Traceback (most recent call last): >> File "/Users/marquett/workspace/Distort/src/StatsSep.py", line 44, in >> >>np.savetxt(Table, StatsAll, delimiter=' ',

Re: [Numpy-discussion] A question about dtype syntax

2011-08-31 Thread Jean-Baptiste Marquette
te-packages/numpy/lib/npyio.py", line 979, in savetxt fh.write(asbytes(format % tuple(row) + newline)) TypeError: not enough arguments for format string I struggled with various unsuccessful fmt syntaxes, and the numpy doc is very discrete about that topic: fmt : string or sequence of strings

Re: [Numpy-discussion] A question about dtype syntax

2011-08-31 Thread Jean-Baptiste Marquette
Hi Pierre, Thanks for the guess. Unfortunately, I got the same error: [('bs3000k.cat', 280.60341, -7.09118, 9480, 0.2057, 0.14)] Traceback (most recent call last): File "/Users/marquett/workspace/Distort/src/StatsSep.py", line 40, in StatsAll = np.array(np.asarray(Stats), dtype=('a15, f8,