Defining models



next up previous contents
Next: Fitting Up: An overview of Previous: Reading data

Defining models

XSPEC allows users to fit data with models constructed from individual components. These components may be either additive or multiplicative, with multiplicative being used for components such as absorption. Multiplicative components can act on individual components, on groups of components, or on the entire model. The model command defines the model to be used and prompts for the starting values of its parameters. The user also can set the allowed range of the parameter. One parameter can be fixed to be a multiple of another.

The value of an individual parameter can be changed with the command newpar. Note that newpar 0 will print out the current parameter values. Parameters can be fixed at their current value with the freeze command and allowed to vary freely with the thaw command. Individual components can be added or subtracted from the model using addcomp and delcomp.



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