pyhf.readxml.process_measurements#

pyhf.readxml.process_measurements(toplvl: xml.etree.ElementTree.ElementTree, other_parameter_configs: Sequence[pyhf.typing.Parameter] | None = None) list[pyhf.typing.Measurement][source]#

For a given XML structure, provide a parsed dictionary adhering to defs.json/#definitions/measurement.

Parameters:
  • toplvl (xml.etree.ElementTree) – The top-level XML document to parse.

  • other_parameter_configs (list) – A list of other parameter configurations from other non-top-level XML documents to incorporate into the resulting measurement object.

Returns:

A measurement object.

Return type:

dict