- sherpa.astro.ui.set_backscal(id, backscale=None, bkg_id=None)
Change the area scaling of a PHA data set.
The area scaling factor of a PHA data set is taken from the BACKSCAL keyword or column, but it can be changed once the file has been loaded.
backscale (number or array) – The scaling factor.
The function does not follow the normal Python standards for parameter use, since it is designed for easy interactive use. When called with a single un-named argument, it is taken to be the
backscaleparameter. If given two un-named arguments, then they are interpreted as the
backscaleparameters, respectively. The remaining parameters are expected to be given as named arguments.