Implement reading amplitude from hdf5