def _match_declarations(self, decls, block, snap, cur_version, version):
        all_found = True
        deps_dict = {}
        names_total = set()
        block_name = block.ID.block_name

        for decl in decls:
            matchable_names = snap.keys()
            renames = {}
            if cur_version:
                renames = block.get_renames(cur_version.time, version.time)
                matchable_names.extend(renames.keys())  # Adding old names so decls matches

            names = decl.match([block_name + name for name in matchable_names])
            names = set([n if n.cell_name in snap.keys()
                         else (block_name + renames[n.cell_name]) for n in names])  # Apply renames
            if names:
                # In case of renames here we will have a mismatch between declaration and cell_name
                # it will be corrected by client by updating declaration when it detects such
                # mismatch
                deps_dict[decl] = names
                names_total.update(names)
            else:
                all_found = False
                break
        return all_found, names_total, deps_dict
Check that the spectral estimators are normalized in the
dataset/ETHPy150Open biicode/bii-server/find/finder_service.py/FindService._match_declarations--crossover with--dataset/ETHPy150Open nipy/nitime/nitime/algorithms/tests/test_spectral.py/test_periodogram_spectral_normalization