@with_read_hdf5<EOL>def read_hdf5_dict(h5f, names=None, group=None, **kwargs):
<EOL>if group:<EOL><INDENT>h5g = h5f[group]<EOL><DEDENT>else:<EOL><INDENT>h5g = h5f<EOL><DEDENT>if names is None:<EOL><INDENT>names = [key for key in h5g if _is_timeseries_dataset(h5g[key])]<EOL><DEDENT>out = kwargs.pop('<STR_LIT>', TimeSeriesDict)()<EOL>kwargs.setdefault('<STR_LIT>', out.EntryClass)<EOL>for name in names:<EOL><INDENT>out[name] = read_hdf5_timeseries(h5g[name], **kwargs)<EOL><DEDENT>return out<EOL>
Read a `TimeSeriesDict` from HDF5