next up previous contents
Next: Structure of the Up: Spectral Analysis Previous: Notes on IPC

Model Spectra for Spectral-Fitting Program

 

For on-line information type: cl> help using_spectral

The models provided are:

For detailed information on model parameters, please refer to the science specifications in xspectraldoc$spectral.(tex,dvi).

The spectral model and its parameters are passed to the fitting tasks as:

More than one absorption and more than one spectral model can be combined in the following ways:

absorption1(params)*model1(params)+absorption2(params)*model2(params)...

or

absorption(params)*(model1(params)+model2(params)... +modelN(params))

Some basic rules for writing a model description:

NOTE: When different spectral models with different units for the normalization are combined, the relative normalization of the second model can be quite large.

For example: ray(1:2,c,100)+pow(11:13,1:2)

specifies a power-law model with a flux of approximately 1% of the flux in the Raymond model.

See cl> help models_spectral for more information on syntax.

Note: The program fit starts at the midpoint of the parameter range specified, then changes the parameters to determine the direction in which is decreasing and heads in that direction to find the parameter values that give the minimum . If the initial parameter range is large, only part of the parameter space may be tested, and the program can settle into a secondary minimum. The real minimum can be missed. Choose parameter limits carefully.

Examples:

  1. abs(20:21)*pow(1:2)

    to describe a power law model spectrum, with energy index varying between 1 and 2, and a galactic absorption varying between 10 and 10 cm.

  2. abs(20:21,23,1.0)*(pow(1:2)+pow(log(0.5):log(0.6),1.5)

    for two power law models, and one absorption applied to both of them. The galactic absorption can vary between 10 and 10 cm, the intrinsic absorption is fixed at 10, for an object at z=1. The energy index of the first power law model can vary between 1 and 2, with the best fit normalization calculated by the program. The second power law has a fixed index of 1.5, and its normalization is allowed to vary between 50 and 60 % of the first one.

  3. abs(20:21)*pow(1:2)+abs(21:22)*pow(0.1,2:3)

    to describe two power law models, each with galactic absorption in two different ranges.



next up previous contents
Next: Structure of the Up: Spectral Analysis Previous: Notes on IPC



Belinda Wilkes
Wed Jul 5 04:38:15 EDT 1995