write_rmf

sherpa.astro.io.write_rmf(filename: str, dataset: DataRMF, clobber: bool = False) None[source] [edit on github]

Write out a RMF.

Added in version 4.16.0.

Parameters:
  • filename (str) – The name of the file.

  • dataset – The data to write out.

  • clobber (bool, optional) – If True then the output file will be over-written if it already exists, otherwise an error is raised.

See also

read_rmf