In article
CAPJVwBkLww7-ysZB76LMRZ+mmbyN_5T=ym_vu1pjgakrlbq...@mail.gmail.com,
Nathaniel Smith n...@pobox.com wrote:
OPTION 1 FOR @:
Precedence: same as *
Associativity: left
My shorthand name for it: same-left (yes, very creative)
This means that if you don't use parentheses, you get:
In article 8e95a257-3f06-43b7-8407-95916d284...@mac.com,
William Ray Wing w...@mac.com wrote:
On Sep 15, 2013, at 9:04 PM, Charles R Harris charlesr.har...@gmail.com
wrote:
Hi All,
Numpy 1.8 is about ready for an rc1, which brings up the question of which
binary builds so put up
In article
cabl7cqg5vv_vnp0hbdx+ys6gt0npwqehth3mwb6j65ow9+1...@mail.gmail.com,
Ralf Gommers ralf.gomm...@gmail.com wrote:
On Mon, Sep 16, 2013 at 2:45 AM, josef.p...@gmail.com wrote:
On Sun, Sep 15, 2013 at 9:04 PM, Charles R Harris
charlesr.har...@gmail.com wrote:
Hi All,
Numpy
In article
CAH6Pt5o32Otdhk2Ms5Cy5Zo=mn48h8x2wbswk92etub4mmr...@mail.gmail.com,
Matthew Brett matthew.br...@gmail.com wrote:
Hi,
On Thu, Aug 22, 2013 at 12:14 PM, Russell E. Owen ro...@uw.edu wrote:
In article
cabl7cqjacxp2grtt8hvmayajrm0xmtn1qt71wkdnbgq7dlu...@mail.gmail.com,
Ralf
In article
cabl7cqjacxp2grtt8hvmayajrm0xmtn1qt71wkdnbgq7dlu...@mail.gmail.com,
Ralf Gommers ralf.gomm...@gmail.com wrote:
Hi all,
Building binaries for releases is currently quite complex and
time-consuming. For OS X we need two different machines, because we still
provide binaries for OS
In article 51faa3ab.6020...@stsci.edu,
Michael Droettboom md...@stsci.edu wrote:
On behalf of a veritable army of super coders, I'm pleased to announce
the release of matplotlib 1.3.0.
Downloads
Downloads are available here:
In article loom.20121129t124459-...@post.gmane.org,
denis denis-bz...@t-online.de wrote:
Trying to install numpy 1.6.2 on a mac osx 10.7.4 from this .dmg
9323135 numpy-1.6.2-py2.7-python.org-macosx10.3.dmg
gives
numpy 1.6.2 can't be installed on this disk.
numpy requires
In article 1342393528.28368.3.ca...@esdceeprjpstudent1.mit.edu,
Paul Natsuo Kishimoto m...@paul.kishimoto.name wrote:
On Sat, 2012-07-14 at 17:45 -0500, Travis Oliphant wrote:
Hey all,
We are nearing a code-freeze for NumPy 1.7. Are there any
last-minute changes people are wanting
In article
cagy4rcxxl8pos5zcwa4thcg0dhkyesoepjso4z05sz_pqjv...@mail.gmail.com,
David Cournapeau courn...@gmail.com wrote:
On Sat, Feb 18, 2012 at 10:50 PM, Sturla Molden stu...@molden.no wrote:
 In an ideal world, we would have a better language than C++ that can
be spit out as C for
In article
CABL7CQi_jQZgHa5rL8aSsb_PEmAPTNXyUyQutgQtz=_ljux...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Tue, Dec 20, 2011 at 10:52 PM, Russell E. Owen ro...@uw.edu wrote:
In article rowen-74bafa.11292712122...@news.gmane.org,
Russell E. Owen ro...@uw.edu wrote
In article
CABL7CQi_jQZgHa5rL8aSsb_PEmAPTNXyUyQutgQtz=_ljux...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Tue, Dec 20, 2011 at 10:52 PM, Russell E. Owen ro...@uw.edu wrote:
In article rowen-74bafa.11292712122...@news.gmane.org,
Russell E. Owen ro...@uw.edu wrote
In article
cafxk4brjwx_whsh7v_b62ug+3q2ctqvewgctf-p-atfe4hq...@mail.gmail.com,
Olivier Delalleau sh...@keba.be wrote:
2011/12/12 Russell E. Owen ro...@uw.edu
In article
cabl7cqjezmtswcupj0kgfjz4xc4arrwn24bi3svzjwcc2t9...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote
In article rowen-74bafa.11292712122...@news.gmane.org,
Russell E. Owen ro...@uw.edu wrote:
In article
cabl7cqjezmtswcupj0kgfjz4xc4arrwn24bi3svzjwcc2t9...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Fri, Dec 9, 2011 at 8:02 PM, Russell E. Owen ro...@uw.edu wrote
In article
cabl7cqjezmtswcupj0kgfjz4xc4arrwn24bi3svzjwcc2t9...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Fri, Dec 9, 2011 at 8:02 PM, Russell E. Owen ro...@uw.edu wrote:
I'm trying to build numpy 1.6.1 on Scientific Linux 5 but the unit tests
claim the wrong
I'm trying to build numpy 1.6.1 on Scientific Linux 5 but the unit tests
claim the wrong version of fortran was used. I thought I knew how to
avoid that, but it's not working.
I don't have atlas (this needs to run on a lot of
similar-but-not-identical machines). I believe blas and lapack were
In article 8739ew90ry@falma.de, Christoph Groth c...@falma.de
wrote:
Hello,
Is it just me who thinks that matplotlib is ugly and a pain to use? So
far I haven't found a decent alternative usable from within python. (I
haven't tried all the packages out there.) I'm mostly interested
In article
781af0c6-b761-4abb-9798-938558253...@astro.physik.uni-goettingen.de,
Derek Homeier de...@astro.physik.uni-goettingen.de wrote:
On 11.08.2011, at 8:50PM, Russell E. Owen wrote:
It seems a shame that loadtxt has no argument for predicted length,
which would allow preallocation
In article
ca+rwobwjyy_abjijnxepkseraeom608uimywffgag-6xdgs...@mail.gmail.com,
Torgil Svensson torgil.svens...@gmail.com wrote:
Try the fromiter function, that will allow you to pass an iterator
which can read the file line by line and not preload the whole file.
file_iterator =
In article
CANm_+Zqmsgo8Q+Oz_0RCya-hJv4Q7PqynDb=lzrgvbtxgy3...@mail.gmail.com,
Anne Archibald aarch...@physics.mcgill.ca wrote:
There was also some work on a semi-mutable array type that allowed
appending along one axis, then 'freezing' to yield a normal numpy
array (unfortunately I'm not
A coworker is trying to load a 1Gb text data file into a numpy array
using numpy.loadtxt, but he says it is using up all of his machine's 6Gb
of RAM. Is there a more efficient way to read such text data files?
-- Russell
___
NumPy-Discussion mailing
In article
cabl7cqj4i6stf_qjndvch66fsfc5bjq9etpx3ukczaxyyuw...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Wed, Jul 27, 2011 at 7:17 PM, Ilan Schnell ischn...@enthought.comwrote:
MacOS Lion:
numpy.sqrt([complex(numpy.nan, numpy.inf)])
array([ nan+infj])
In article 4e2dcb72.3070...@hkl.hms.harvard.edu,
Ian Stokes-Rees ijsto...@hkl.hms.harvard.edu wrote:
As best I can tell, I have Python 2.7.2 for my system Python:
[ijstokes@moose ~]$ python -V
Python 2.7.2
[ijstokes@moose ~]$ which python
In article
cabl7cqhnnjkzk9xnrlvdarsdknwrm4ev0mxdurjsaxq73eb...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Tue, Jul 5, 2011 at 11:41 PM, Russell E. Owen ro...@uw.edu wrote:
In article BANLkTi=LXiTcrv1LgMtP=p9nF8eMr8=+h...@mail.gmail.com,
Ralf Gommers ralf.gomm
In article BANLkTi=LXiTcrv1LgMtP=p9nF8eMr8=+h...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
https://sourceforge.net/projects/numpy/files/NumPy/1.6.1rc2/
Will there be a Mac binary for 32-bit pythons (one that is compatible
with older versions of MacOS X)? At present I
In article banlktikodians0ujrdkpudffo8agpnx...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Thu, Jun 9, 2011 at 11:46 PM, Russell E. Owen ro...@uw.edu wrote:
What would it take to automatically detect which flavor of fortran to
use to build numpy on linux?
You
What would it take to automatically detect which flavor of fortran to
use to build numpy on linux?
The unit tests are clever enough to detect a mis-build (though
surprisingly that is not done as part of the build process), so surely
it can be done.
Even if there is no interest in putting this
In article BANLkTinvVxwmo7t7itxxwZRtp4UY=1e...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
Hi,
I am pleased to announce the availability of the second release
candidate of NumPy 1.6.0.
...
Sources and binaries can be found at
I stumbled across code that looks like this:
imageArr = # a 2-d array of floats
noiseArr = numpy.random.poisson(imageArr)
This works fine in numpy 1.5.1 and seems to do what I would hope: return
an array of random ints whose expectation of interval is set by the
corresponding element of the
In article
AANLkTi=eeg8kl7639imrtl-ihg1ncqyolddsid5tf...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
Hi,
I am pleased to announce the availability of the first beta of NumPy
1.6.0. Due to the extensive changes in the Numpy core for this
release, the beta testing phase
In article
AANLkTinuGy=aof-s-lzxbguu+sikvzxctxzrccc4n...@mail.gmail.com,
Skipper Seabold jsseab...@gmail.com wrote:
The page http://docs.scipy.org/doc/numpy/user/basics.rec.html
gives a good introduction to structured arrays. However, it says
nothing
about how to set a particular element
The page http://docs.scipy.org/doc/numpy/user/basics.rec.html
gives a good introduction to structured arrays. However, it says nothing
about how to set a particular element (all fields at once) from a
collection of data.
For instance:
stArr = numpy.zeros([4,5], dtype=[(pos, float, (2,)),
In article
aanlktimfgckbg8cprygukcvwvqzxqycykgexvx_=8...@mail.gmail.com,
Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Mon, Nov 8, 2010 at 5:16 AM, Vincent Davis vinc...@vincentdavis.net
wrote:
On Sun, Nov 7, 2010 at 1:51 AM, Ralf Gommers ralf.gomm...@googlemail.com
wrote:
In article
aanlktikgou-ics2cgnnprozcbgldxnxfd+mgbok71...@mail.gmail.com,
Friedrich Romstedt friedrichromst...@gmail.com wrote:
2010/10/15 Christopher Barker chris.bar...@noaa.gov:
On 10/15/10 10:54 AM, Russell E. Owen wrote:
I have a 10.4 Intel machine I keep around
for the sole purpose
There are two Python 2.7 installers available at python.org a 32 bit
version for MacOS X 10.3.9 and later and a 64 bit version for Mac OS X
10.5 and later.
There is one numpy 1.5.0 binary installer for Mac Python 2.7. Which Mac
python was it built for? (Or if it is compatible with both, how
All the official numpy 1.3.0 Mac binaries are labelled macosx10.5.
Does anyone know if these are backwards compatible with MacOS X 10.4 or
10.3.9?
-- Russell
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
Is it straightforward to generate a record array (preferably a standard
numpy.ndarray, not the numpy.rec variant) where some named fields
contain pairs of numbers, for example:
named field pos contains pairs of floats
named field rot contains floats
Any pointers to relevant documentation would
In article rowen-1ff89a.11051515072...@news.gmane.org,
Russell E. Owen ro...@uw.edu wrote:
Is it straightforward to generate a record array (preferably a standard
numpy.ndarray, not the numpy.rec variant) where some named fields
contain pairs of numbers, for example:
named field pos
In article
e06186140906291710s34865590p38032012f12d0...@mail.gmail.com,
Charles R Harris charlesr.har...@gmail.com wrote:
On Mon, Jun 29, 2009 at 4:17 PM, Russell E. Owen
ro...@u.washington.eduwrote:
In article
e06186140906291429m3cb339e8ge298f179d811e...@mail.gmail.com,
Charles R
I have an old Numarray C extension (or, rather, a Python package
containing a C extension) that I would like to convert to numpy
(in a way that is likely to be supported long-term).
Options I have found include:
- Use the new numpy extension. This seems likely to be fast and
future-proof. But
In article
e06186140906291429m3cb339e8ge298f179d811e...@mail.gmail.com,
Charles R Harris charlesr.har...@gmail.com wrote:
On Mon, Jun 29, 2009 at 3:03 PM, Russell E. Owen
ro...@u.washington.eduwrote:
I have an old Numarray C extension (or, rather, a Python package
containing a C
In article 4d2b04ed-4612-4244-a8b8-3ff0c8659...@stsci.edu,
Perry Greenfield pe...@stsci.edu wrote:
Hi Russell,
Have you looked at the example in our interactive data analysis
tutorial where we compute radial profiles in Python? It's not as fast
as C because of the sort, but perhaps
If you don't want to build one then you are welcome to serve one I
built. Several people have tried it and reported that it works. Contact
me for a URL.
-- Russell
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
In article 49ecf2aa.8080...@noaa.gov,
Christopher Barker chris.bar...@noaa.gov wrote:
Russell E. Owen wrote:
http://www.pymvpa.org/devguide.html
The patch at the end of this document worked.
Has anyone submitted these patches so they'll get into bdist_mpkg? I'm
guessing Ronald
In article
5b8d13220904161842k2f2f76c9v1dde62f4655c2...@mail.gmail.com,
David Cournapeau courn...@gmail.com wrote:
On Fri, Apr 17, 2009 at 4:55 AM, Russell E. Owen ro...@u.washington.edu
wrote:
Does anyone have a binary installer for numpy 1.3.0 and Python 2.6?
I've been able
In article
5b8d13220904161842k2f2f76c9v1dde62f4655c2...@mail.gmail.com,
David Cournapeau courn...@gmail.com wrote:
It is a bug of bdist_mpkg on leopard (the error message is a bit
misleading - if you look at the code, you will see it calls for a
command line utility which does not
Does anyone have a binary installer for numpy 1.3.0 and Python 2.6?
I've been able to install from source and all tests passed, but I prefer
official binaries because I have some confidence that there are no
hidden dependencies (important for distributing self-contained apps).
I tried to build
In article web-118971...@uni-stuttgart.de,
Nils Wagner nwag...@iam.uni-stuttgart.de wrote:
http://www.netlib.org/utk/people/JackDongarra/la-sw.html
You might add Eigen:
http://eigen.tuxfamily.org/index.php?title=Main_Page
We are finding it to be a very nice package (though the name is
In article [EMAIL PROTECTED],
Michel Dupront [EMAIL PROTECTED] wrote:
Hello,
I am trying to use Numeric and swig but it seems that
there are few points that I don't understand.
The only excuse I have is that I am new to these tools.
I have a simple example that I cannot make work the
In article [EMAIL PROTECTED],
Pierre GM [EMAIL PROTECTED] wrote:
Russell,
What used to be numpy.core.ma is now numpy.oldnumeric.ma, but this latter isd
no longer supported and will disappear soon as well. Just use numpy.ma
If you really need support to ancient versions of numpy, just
I have some code that does this:
# an extra array cast is used because compressed returns what *looks*
like an array
# but is actually something else (I'm not sure exactly what)
unmaskedArr = numpy.array(
numpy.core.ma.array(
dataArr,
mask = mask self.stretchExcludeBits,
The object returned by maskedArray.compressed() appears to be a normal
numpy array (based on repr output), but in reality it has some
surprising differences:
import numpy
a = numpy.arange(10, dtype=int)
b = numpy.zeros(10)
b[1] = 1
b[3] = 1
ma = numpy.core.ma.array(a, mask=b, dtype=float)
print
In article
[EMAIL PROTECTED],
David Cournapeau [EMAIL PROTECTED] wrote:
On Jan 5, 2008 1:30 AM, Charles R Harris [EMAIL PROTECTED] wrote:
I like Mercurial and use it a lot, but I'm not convinced we have enough
developers and code to justify the pain of changing the VCS at this time.
In article [EMAIL PROTECTED],
Bill Spotz [EMAIL PROTECTED] wrote:
I have been considering adding some C++ STL support to numpy/doc/swig/
numpy.i. Probably std::vectorTYPE = PyArrayObject (and some
std::complexTYPE support as well). Is this what you had in mind?
That sounds very useful,
In article [EMAIL PROTECTED],
David L Goldsmith [EMAIL PROTECTED] wrote:
Hold on again, I think I did it: it works on my BSN Intel Mac and Chris
is about to test it on his not-so-new PPC Mac. Assuming I built a
viable product, how do I put it in the right place (i.e., @
In article [EMAIL PROTECTED],
Christopher Hanley [EMAIL PROTECTED] wrote:
Russell,
This should work as a consistent test for bigendian:
- isBigEndian = (obj.dtype.str[0] == '')
Also, I have ported numarray's numdisplay to numpy if you would like to
directly display an array in DS9.
In article [EMAIL PROTECTED],
Francesc Altet [EMAIL PROTECTED] wrote:
El dj 26 de 04 del 2007 a les 11:38 -0700, en/na Russell E. Owen va
escriure:
In converting some code from numarray to numpy I had this:
isBigendian = (arr.isbyteswapped() != numarray.isBigEndian)
The only numpy
I often find myself doing simple math on sequences of numbers (which
might or might not be numpy arrays) where I want the result (and thus
the inputs) coerced to a particular data type.
I'd like to be able to say:
numpy.divide(seq1, seq2, dtype=float)
but ufuncs don't allow on to specify a
In converting some code from numarray to numpy I had this:
isBigendian = (arr.isbyteswapped() != numarray.isBigEndian)
The only numpy version I've come up with is:
isBigEndian = (arr.dtype.descr[0][1][0] == '')
which is short but very obscure. Has anyone got a suggestion for a
clearer test? I
In article [EMAIL PROTECTED],
Robert Kern [EMAIL PROTECTED] wrote:
Christopher Barker wrote:
I can only help with one:
- Even after reading the book I'm not really clear on why one would use
numpy.float_ instead of numpy.float or float
They float and numpy.float are the same, and
In article [EMAIL PROTECTED],
Zachary Pincus [EMAIL PROTECTED] wrote:
Hello folks,
I've developed some command-line tools for biologists using python/
numpy and some custom C and Fortran extensions, and I'm trying to
figure out how to easily distribute them...
For people using linux,
On a PPC MacOS X box I don't see an error. If I append
if __name__ == __main__:
run()
to your test code and then run it I get:
repeatability #1 ... ok
repeatability #2 ... ok
repeatability #3 ... ok
--
Ran 3 tests in 0.156s
61 matches
Mail list logo