Re: [Numpy-discussion] [help needed] associativity and precedence of '@'

2014-03-17 Thread Russell E. Owen
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:

Re: [Numpy-discussion] Binary releases

2013-09-16 Thread Russell E. Owen
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

Re: [Numpy-discussion] Binary releases

2013-09-16 Thread Russell E. Owen
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

Re: [Numpy-discussion] OS X binaries for releases

2013-08-23 Thread Russell E. Owen
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

Re: [Numpy-discussion] OS X binaries for releases

2013-08-22 Thread Russell E. Owen
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

Re: [Numpy-discussion] ANN: matplotlib 1.3.0 released

2013-08-01 Thread Russell E. Owen
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:

Re: [Numpy-discussion] install numpy 1.6.2 .dmg on macosx 10.7, check for python 2.7

2012-11-29 Thread Russell E. Owen
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

Re: [Numpy-discussion] Code Freeze for NumPy 1.7

2012-07-16 Thread Russell E. Owen
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

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-28 Thread Russell E. Owen
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

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-21 Thread Russell E. Owen
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

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-21 Thread Russell E. Owen
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

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-20 Thread Russell E. Owen
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

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-20 Thread Russell E. Owen
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

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-12 Thread Russell E. Owen
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

[Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-09 Thread Russell E. Owen
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

Re: [Numpy-discussion] wanted: decent matplotlib alternative

2011-10-13 Thread Russell E. Owen
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

Re: [Numpy-discussion] Efficient way to load a 1Gb file?

2011-09-01 Thread Russell E. Owen
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

Re: [Numpy-discussion] Efficient way to load a 1Gb file?

2011-08-15 Thread Russell E. Owen
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 =

Re: [Numpy-discussion] Efficient way to load a 1Gb file?

2011-08-11 Thread Russell E. Owen
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

[Numpy-discussion] Efficient way to load a 1Gb file?

2011-08-10 Thread Russell E. Owen
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

Re: [Numpy-discussion] numpy.sqrt behaving differently on MacOS Lion

2011-07-27 Thread Russell E. Owen
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])

Re: [Numpy-discussion] Problems with numpy binary for Python2.7 + OS X 10.6

2011-07-25 Thread Russell E. Owen
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

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-06 Thread Russell E. Owen
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

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-05 Thread Russell E. Owen
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

Re: [Numpy-discussion] numpy build: automatic fortran detection

2011-06-13 Thread Russell E. Owen
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

[Numpy-discussion] numpy build: automatic fortran detection

2011-06-09 Thread Russell E. Owen
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

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Russell E. Owen
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

[Numpy-discussion] Question about numpy.random, especially .poisson

2011-04-18 Thread Russell E. Owen
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

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 1

2011-03-29 Thread Russell E. Owen
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

Re: [Numpy-discussion] Request for a bit more info on structured arrays in the basics page

2011-03-10 Thread Russell E. Owen
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

[Numpy-discussion] Request for a bit more info on structured arrays in the basics page

2011-03-04 Thread Russell E. Owen
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,)),

Re: [Numpy-discussion] updated 1.5.1 release schedule

2010-11-08 Thread Russell E. Owen
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:

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-15 Thread Russell E. Owen
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

[Numpy-discussion] numpy mac binary for Python 2.7: which version is it for?

2010-10-05 Thread Russell E. Owen
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

[Numpy-discussion] numpy macosx10.5 binaries: compatible with 10.4?

2009-09-22 Thread Russell E. Owen
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

[Numpy-discussion] record array question

2009-07-15 Thread Russell E. Owen
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

Re: [Numpy-discussion] record array question

2009-07-15 Thread Russell E. Owen
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

Re: [Numpy-discussion] Advice on converting Numarray C extension?

2009-06-30 Thread Russell E. Owen
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

[Numpy-discussion] Advice on converting Numarray C extension?

2009-06-29 Thread Russell E. Owen
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

Re: [Numpy-discussion] Advice on converting Numarray C extension?

2009-06-29 Thread Russell E. Owen
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

Re: [Numpy-discussion] Advice on converting Numarray C extension?

2009-06-29 Thread Russell E. Owen
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

[Numpy-discussion] Please add Mac binary for numpy 1.3.0 and Python 2.6

2009-06-18 Thread Russell E. Owen
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

Re: [Numpy-discussion] numpy Mac binary for Python 2.6

2009-04-21 Thread Russell E. Owen
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

Re: [Numpy-discussion] numpy Mac binary for Python 2.6

2009-04-17 Thread Russell E. Owen
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

Re: [Numpy-discussion] numpy Mac binary for Python 2.6

2009-04-17 Thread Russell E. Owen
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

[Numpy-discussion] numpy Mac binary for Python 2.6

2009-04-16 Thread Russell E. Owen
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

Re: [Numpy-discussion] survey of freely available software for the solution of linear algebra problems

2009-04-13 Thread Russell E. Owen
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

Re: [Numpy-discussion] A basic question about swig and Numeric

2008-09-25 Thread Russell E. Owen
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

Re: [Numpy-discussion] Recommendations for using numpy ma?

2008-07-16 Thread Russell E. Owen
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

[Numpy-discussion] Recommendations for using numpy ma?

2008-07-15 Thread Russell E. Owen
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,

[Numpy-discussion] numpy masked array oddity

2008-05-05 Thread Russell E. Owen
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

Re: [Numpy-discussion] Moving away from svn ?

2008-01-04 Thread Russell E. Owen
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.

Re: [Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray = numpy.array typemap to share?

2007-09-05 Thread Russell E. Owen
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,

Re: [Numpy-discussion] NumPy 1.0.3 for OS-X

2007-05-29 Thread Russell E Owen
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., @

Re: [Numpy-discussion] numpy endian question

2007-04-27 Thread Russell E. Owen
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.

Re: [Numpy-discussion] numpy endian question

2007-04-27 Thread Russell E. Owen
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

[Numpy-discussion] Compact way of performing array math with specified result type?

2007-04-27 Thread Russell E. Owen
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

[Numpy-discussion] numpy endian question

2007-04-26 Thread Russell E. Owen
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

Re: [Numpy-discussion] Questions about converting to numpy

2007-04-26 Thread Russell E. Owen
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

Re: [Numpy-discussion] Distributing prebuilt numpy and other extensions

2007-02-21 Thread Russell E. Owen
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,

Re: [Numpy-discussion] Different results from repeated calculation

2007-01-29 Thread Russell E. Owen
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