write_mcheader

lstchain.io.io.write_mcheader(mcheader, output_filename, obs_id=None, filters=Filters(complevel=1, complib='blosc:zstd', shuffle=True, bitshuffle=False, fletcher32=True, least_significant_digit=None), metadata=None)

Write the mcheader from an event container to a HDF5 file

Parameters:
output_filename: str