feynml.interface.hepmc.hepmc_to_feynml
- feynml.interface.hepmc.hepmc_to_feynml(hepmc_file: str, creator='pyfeyn2', tool='pyfeyn2.interface.hepmc', title='', description='') FeynML [source]
Convert a HepMC file to a FeynML object.
- Parameters:
hepmc_file – The path to the HepMC file.
creator – The creator of the file.
tool – The tool used to create the file.
title – The title of the file.
description – The description of the file.
- Returns:
A FeynML object.