]> git.parisson.com Git - timeside.git/commit
Add HDF5 I/O for AnalyzerResultContainer, Fixes #7
authorThomas Fillon <thomas@parisson.com>
Tue, 25 Jun 2013 13:31:03 +0000 (15:31 +0200)
committerThomas Fillon <thomas@parisson.com>
Tue, 25 Jun 2013 13:31:03 +0000 (15:31 +0200)
commit77410c7c6d0ec70d1b75352b70b8d9677d62fb6e
tree9c11e7311db0a840078e33dc0b3fe9307bc2390c
parent0d0c1f55398b2ae2f91d75547d9eda7d34fe1ae5
Add HDF5 I/O for AnalyzerResultContainer, Fixes #7

- Add functions from_hdf5 and to_hdf5 to AnalyzerResultContainer.
- Add corresponding tests
- Function to_hdf5(output_file) store an entire Container in an hdf5 file using one dataset for each AnalyzerResults and using dataset attributes to store 'unit' and 'name'. The dataset Name is the AnalyzerResult 'id'.
- Function from_hdf5(input_file) load the data store in a hdf5 file and return an AnalyzerResultContainer
tests/test_AnalyzerResult.py
timeside/analyzer/core.py