fakeit



next up previous contents
Next: Examples: Up: XSPEC commands Previous: exit

fakeit

Produce PHA files with simulated data.
XSPEC> fakeit [<file spec>...]
where <file spec> =:: [<file number>] <file name>... is similar to the syntax used in the backgrnd, çorfile, and response command.

The fakeit command is used to create a number of artificial PHA files, where the current model is folded through response curves and then added to a background file. Photon statistics can be included optionally. The integration time, area, background scaling, and correction norm are requested for each file. By default, the background, response, correction file, and numerical information are taken from the currently-defined data. If the argument line is empty, then it is assumed that the number of fakeit files produced is equal to the current number of data sets. The file names input as arguments are PHA files to be used as background. In these cases, their default response files and numerical data are used as the defaults when creating the associated fake data file. If none is given as an argument, then the user is prompted for the response file to be used and the default numerical data is set to 1., except the correction norm, which is set to zero. For each file, the user will be prompted for a PHA file name. Poisson counting statistics are applied optionally when the data are created.

After the PHA files are created, they are read in automatically as the current datafiles. The ignore status is completely reset.





Keith Arnaud
Fri Nov 18 16:30:43 EST 1994