write_xstable_model

sherpa.astro.io.xstable.write_xstable_model(filename: str, hdus: BlockList, clobber: bool = False) None[source] [edit on github]

Write a XSPEC table model to disk.

Parameters:
filenamestr

The filename to create.

hdusBlockList

The output of make_xstable_model.

clobberbool, optional

If True then the output file will be over-written if it already exists, otherwise an error is raised.