pylhe.write_lhe_file

pylhe.write_lhe_file(lheinit: LHEInit, lheevents: Iterable[LHEEvent], filepath: str, gz: bool = False, rwgt: bool = True, weights: bool = False) None[source]

Write the LHE file.

Deprecated since version 0.9.1: Instead of write_lhe_file(init,events,filepath,gz,rwgt,weights)() use LHEFile(init,events).tofile(filepath,gz,rwgt,weights).