Re: [Numpy-discussion] Loading a GB file into array

2007-12-01 Thread David Cournapeau
Martin Spacek wrote: Kurt Smith wrote: You might try numpy.memmap -- others have had success with it for large files (32 bit should be able to handle a 1.3 GB file, AFAIK). Yeah, I looked into numpy.memmap. Two issues with that. I need to eliminate as much disk access as possible while

Re: [Numpy-discussion] Loading a GB file into array

2007-12-01 Thread Sebastian Haase
On Dec 1, 2007 12:09 AM, Martin Spacek [EMAIL PROTECTED] wrote: Kurt Smith wrote: You might try numpy.memmap -- others have had success with it for large files (32 bit should be able to handle a 1.3 GB file, AFAIK). Yeah, I looked into numpy.memmap. Two issues with that. I need to

Re: [Numpy-discussion] Loading a GB file into array

2007-12-01 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer (el 2007-11-30 a les 19:19:38 +0100) va dir:: Well, one thing you could do is dump your data into a PyTables_ ``CArray`` dataset, which you may afterwards access as if its was a NumPy array to get slices which are actually NumPy arrays. PyTables datasets have no

Re: [Numpy-discussion] swig numpy2carray converters

2007-12-01 Thread Georg Holzmann
Hallo! * A new ARGOUTVIEW suite of typemaps is provided that allows your wrapped function to provide a pointer to internal data and that returns a numpy array encapsulating it. Thanks for integrating it ! * New typemaps are provided that correctly handle FORTRAN ordered 2D

Re: [Numpy-discussion] Loading a GB file into array

2007-12-01 Thread Hans Meine
On Samstag 01 Dezember 2007, Martin Spacek wrote: Kurt Smith wrote: You might try numpy.memmap -- others have had success with it for large files (32 bit should be able to handle a 1.3 GB file, AFAIK). Yeah, I looked into numpy.memmap. Two issues with that. I need to eliminate as much

Re: [Numpy-discussion] display numpy array as image (Giorgio F. Gilestro)

2007-12-01 Thread Hans Meine
On Freitag 30 November 2007, Joe Harrington wrote: I was misinformed about the status of numdisplay's pages. The package is available as both part of stsci_python and independently, and its (up-to-date) home page is here: http://stsdas.stsci.edu/numdisplay/ I had a look at ds9/numdisplay,

Re: [Numpy-discussion] [Swig-user] swig numpy2carray converters

2007-12-01 Thread Bill Spotz
These corrections have been committed. Thanks. On Dec 1, 2007, at 9:21 AM, Georg Holzmann wrote: * A new ARGOUTVIEW suite of typemaps is provided that allows your wrapped function to provide a pointer to internal data and that returns a numpy array encapsulating it. Thanks for