pyhf.writexml.build_measurement# pyhf.writexml.build_measurement(measurementspec, modifiertypes)[source]# Build the XML measurement specification for a given measurement adhering to defs.json/#definitions/measurement. Parameters: measurementspec (dict) – The measurements specification from a Workspace. modifiertypes (dict) – A mapping from modifier name (str) to modifier type (str). Returns: The XML measurement specification. Return type: xml.etree.cElementTree.Element