[Numpy-discussion] Aggregate memmap

Robert Kern robert.kern at gmail.com
Sun Apr 25 10:57:05 EDT 2010


On Thu, Apr 22, 2010 at 21:57, David Huard <david.huard at gmail.com> wrote:
> Hi Matt,
> I don't think the memmap code support this. However, you can stack memmaps
> just as easily as arrays, so if you define individual memmaps for each slice
> and stack them (numpy.vstack), the resulting array will behave as a regular
> 3D array.

However, that will make a main-memory copy of everything, presumably
what he is trying to avoid.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list