I was hoping that numpy doing this in a vectorised way would only load the
surrounding traces into memory for each X and Y as it needs to rather than
the whole cube. I'm using hdf5 for the storage. My example was just a short
example without using hdf5.
On 15 Sep 2017 1:16 am, "Elliot Hallmark" w
Hi,
I am trying to do a slding window on a cube (3D array) to get the average
over a block of vertical 1D arrays. I have achieved this using the
stride_tricks.asstrided but this will load the whole cube into memory at
once and is not suitable for large cubes. I have also achieved it using an
ndite