# 4.6.3.2.9. eqcorrscan.core.match_filter.write_catalog

`eqcorrscan.core.match_filter.``write_catalog`(detections, fname, format='QUAKEML')

  Write events contained within detections to a catalog file.

  Parameters: | detections (list) list of eqcorrscan.core.match_filter.Detection fname (str) Name of the file to write to format (str) File format to use, see obspy.core.event.Catalog.write for supported formats.