next up previous contents
Next: Gsmooth Up: Convolution Model Components Previous: Convolution Model Components

cflux: calculate flux

A convolution model to calculate the flux of other model components. For example :

suppose the model is   :

                             phabs*(pow + gauss)

then

                             cflux*phabs*(pow + gauss)

with the normalization of the power-law model fixed to a non-zero value gives the flux and error on the entire model.

                             phabs*cflux*(pow + gauss)

again with the normalization of the power-law fixed to a non-zero value gives the unabsorbed flux and error. Finally,

                             phabs*(pow + cflux*gauss)

with the normalizaton of the gaussian fixed to a non-zero value gives the flux and error on the gaussian component. It is important to ensure that the energy range over which the model is calculated (which is determined by the response matrix in use) covers the energy range for which the flux is calculated. If the model to which the cflux is applied integrates to zero then a divide-by-zero error will occur resulting in NaN values for the fit statistic.

Parameters are :

par1= Emin

Minimum energy over which flux is calculated.

par2= Emax

Maximum energy over which flux is calculated.

par3=lg10Flux

log (base 10) flux in erg/cm2/s


 

next up previous contents
Next: Gsmooth Up: Convolution Model Components Previous: Convolution Model Components