3 Apr
2008
3 Apr
'08
1:08 a.m.
On 03/04/2008, Andrew Straw <strawman@astraw.com> wrote:
I second the pytables recommendation, but if your simulations are in C and want to avoid additional dependencies, you might simply just want to write binary data direct to disk in your own format. Numpy's memmap function can then use them directly if your data are in same-length rows. Note that the term "rows" does not hint at what is actually possible. For example, an n-dimensional array can be one "column" of each such "row".
If you follow this route, you may want to take a look at the new NumPy .npy format. Regards Stéfan