[pymvpa] Multiple datasets in one hdf5 file

Michael Hanke michael.hanke at gmail.com
Thu Jan 10 19:26:47 UTC 2013

On Thu, Jan 10, 2013 at 8:01 PM, Yaroslav Halchenko
<debian at onerussian.com>wrote:

> should be as simple as storing one since you can store (theoretically)
> any structure, so just try
> h5save('/tmp/out.h5', [ds1, ds2])
> and then load as
> ds1, ds2 = h5load('/tmp/out.h5')

Or use a dict and access them by name:

h5save('test.df5', dict(one=5, two=6))

d = h5load('test.df5')

GPG key:  1024D/3144BE0F Michael Hanke
Jabber: michael.hanke at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20130110/bffbd5bb/attachment.html>

More information about the Pkg-ExpPsy-PyMVPA mailing list