Sorry if this is a newbie question, but I'm pretty new to Python and HDF5. I am using h5py, numpy and Python 2.7. I have data from different files that need to be imported into a single HDF5 file. Data from each file must be stored in a different group. Each of these groups should contain 1) raw data from a file in the form of an mxn matrix, and 2) a raster image generated from normalized source data.
I can perform part 1 and can normalize the data, but I cannot write this normalized data to a bitmap, because I do not know how to add a bitmap to a group. There seems to be a simple and straightforward way to do this, but I read the documentation and did not find it. How to do it in h5py, and if it is not possible to do it with h5py, what should I use for this?
Thanks!!
source share