def _get_extended_metadata(h5group):
meta = dict()<EOL>try:<EOL><INDENT>psd = h5group['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>from gwpy.frequencyseries import FrequencySeries<EOL>meta['<STR_LIT>'] = FrequencySeries(<EOL>psd[:], f0=<NUM_LIT:0>, df=psd.attrs['<STR_LIT>'], name='<STR_LIT>')<EOL><DEDENT>for key in META_COLUMNS - {'<STR_LIT>'}:<EOL><INDENT>try:<EOL><INDENT>value = h5group[key][:]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>meta[key] = value<EOL><DEDENT><DEDENT>return meta<EOL>
Extract the extended metadata for a PyCBC table in HDF5

    This method packs non-table-column datasets in the given h5group into
    a metadata `dict`

    Returns
    -------
    meta : `dict`
       the metadata dict