[Numpy-discussion] Python memory management issues using Linux. Maybe Numpy related.

2011-05-21 Thread Jeffrey Spencer
I have had issues with Linux (Ubuntu 10.04 x86_64) not releasing memory back to the OS. I have code here the exhibits the issue: http://stackoverflow.com/questions/5975255/memory-allocated-to-python-in-the-os-is-never-released-back-in-linux-even-after-g Then I read at http://pushingtheweb.com/20

Re: [Numpy-discussion] How can Import DATA from a Fortran file

2011-05-21 Thread Aradenatorix Veckhom Vacelaevus
Hi: Mmm you're right, but now I'm in a hurry, and it's urgent to finish the visualization, so I could solve my problem now importing data in MS Excel and it worked! Of course I wanna do myself with a script for future cases, but now I have what I need. Thanks everybody for your helping, see you s

Re: [Numpy-discussion] How can Import DATA from a Fortran file

2011-05-21 Thread Olivier Delalleau
There are free file hosting services you can google up. -=- Olivier 2011/5/20 Aradenatorix Veckhom Vacelaevus > Hi again: > > Thanks Olivier, I understood you only wanna show me a way for solve my > problem. I'm reading about the options in python for files and stuff. I > think is better to wri

Re: [Numpy-discussion] Conversion from structured dtype to object changed in Numpy 1.6.0.

2011-05-21 Thread Mark Dickinson
On Sat, May 21, 2011 at 9:25 PM, Mark Wiebe wrote: > On Thu, May 19, 2011 at 6:59 AM, Pauli Virtanen wrote: >> >> Thu, 19 May 2011 12:36:22 +0100, Mark Dickinson wrote: >> [clip] >> from numpy import array >> x = array((1.2, 2.3), dtype=[('field1', float), ('field2', float)]) >> x.

Re: [Numpy-discussion] Conversion from structured dtype to object changed in Numpy 1.6.0.

2011-05-21 Thread Mark Wiebe
On Thu, May 19, 2011 at 6:59 AM, Pauli Virtanen wrote: > Thu, 19 May 2011 12:36:22 +0100, Mark Dickinson wrote: > [clip] > from numpy import array > x = array((1.2, 2.3), dtype=[('field1', float), ('field2', float)]) > x.astype(object) > > array(1.2, dtype=object) > > > > Was this

Re: [Numpy-discussion] Broken numpy install

2011-05-21 Thread Milan Mitrovic
Ah! Thats what I needed... There were some older numpy eggs lying arround there... That fixed it! Thank you very much! If you are coming to Zurich any time soon you have a beer waiting :) Cheers, Milan ___ NumPy-Discussion mailing list NumPy-Discussion

Re: [Numpy-discussion] Broken numpy install

2011-05-21 Thread Ralf Gommers
On Sat, May 21, 2011 at 1:28 PM, Milan Mitrovic wrote: > I have the following: > > python-2.7.1-macosx10.3.dmg > numpy-1.6.0-py2.7-python.org-macosx10.3.dmg > scipy-0.9.0-py2.7-python.org-macosx10.3.dmg > matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg > > I just installed in that order, an

Re: [Numpy-discussion] Broken numpy install

2011-05-21 Thread Milan Mitrovic
I have the following: python-2.7.1-macosx10.3.dmg numpy-1.6.0-py2.7-python.org-macosx10.3.dmg scipy-0.9.0-py2.7-python.org-macosx10.3.dmg matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg I just installed in that order, and tried again... same error. _

Re: [Numpy-discussion] Broken numpy install

2011-05-21 Thread Ralf Gommers
On Sat, May 21, 2011 at 1:04 PM, Milan Mitrovic wrote: > Ok :) > > I just installed all three packages from the dmg files... and it still > fails. same error message. Which python (32bit/64bit) and which > matplotlib to use? > > If you still get the same error then python is not picking up your ne

Re: [Numpy-discussion] Broken numpy install

2011-05-21 Thread Milan Mitrovic
Ok :) I just installed all three packages from the dmg files... and it still fails. same error message. Which python (32bit/64bit) and which matplotlib to use? Thanks again Milan ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.s

[Numpy-discussion] finding longest contiguous array slices

2011-05-21 Thread Ben Elliston
Hi all. I have a 3-d array of booleans (5 x 5 x 1000, say) and would like to return a 5 x 5 of array slices containing the longest contiguous sequence of True values along the z axis. Any tricks that I am missing that will make this easy? Thanks, Ben _

Re: [Numpy-discussion] Broken numpy install

2011-05-21 Thread Ralf Gommers
On Sat, May 21, 2011 at 12:40 PM, Milan Mitrovic wrote: > Hello everyone, > > I have a problem with my numpy installation. I installed numpy, scipy > and matplotlib from source, about one year ago (the macports install > wouldn't work for me). This worked fine untill I had some problems two > day

[Numpy-discussion] Broken numpy install

2011-05-21 Thread Milan Mitrovic
Hello everyone, I have a problem with my numpy installation. I installed numpy, scipy and matplotlib from source, about one year ago (the macports install wouldn't work for me). This worked fine untill I had some problems two days ago (as it later turned out, completely unrelated to numpy) but my