pylhe.write_lhe_string

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

Return the LHE file as a string.

Deprecated since version 0.9.1: Instead of write_lhe_string() use write_lhe_file_string(). write_lhe_string() will be removed in a future version of pylhe.