docs: def get_ids_from_folder(path, part_name):
          """
          Return all ids from the given folder, which have a corresponding beamformedSignal file.
          """
          valid_ids = set({})
  
          for xml_file in glob.glob(os.path.join(path, '*.xml')):
              idx = os.path.splitext(os.path.basename(xml_file))[0]
  
              if idx not in BAD_FILES[part_name]:
                  valid_ids.add(idx)
  
          return valid_ids