Last modified: December 2018

AHELP for CIAO 4.12 Sherpa v1


Context: models


gaussian smoothing. XSpec convolution model *Experimental*.


Gaussian smoothing with a variable width, which varies as the Index power of the energy. The width at 6 keV is set with the SigAt6keV parameter.

dC(E) = n(E) exp [ -0.5 * ((E-X)/S(E))^2 ] A(X) dX

n(E) = 1.0 / sqrt( e * pi * S(E)^2 )

S(E) = SigAt6keV (E/6)^Index

xsgsmooth Parameters

Number Name Description
1 SigAt6keV The sigma for the gaussian at 6 keV (in keV)
2 Index Power of energy for sigma variation

Loading the X-Spec convolution models

Please see ahelp xsconvolve for information on how to load the model.


XSpec version

This information is taken from the XSpec User's Guide. Version 12.10.0e of the XSpec models is supplied with CIAO 4.11.


sherpa> from sherpa_contrib.xspec.xsconvolve import load_xsgsmooth
sherpa> load_xsgsmooth("gsm")
sherpa> set_source(gsm(
sherpa> gsm.index = 1.5
sherpa> gsm.sigat6kev = 0.5

The powerlaw is convolved by a gaussian whose sigma varies as Energy^1.5 and is 0.5 keV at 6 keV.

About Contributed Software

This script is not an official part of the CIAO release but is made available as "contributed" software via the CIAO scripts page. Please see this page for installation instructions - such as how to ensure that the parameter file is available.


For a list of known bugs and issues with the XSPEC models, please visit the XSPEC bugs page.

See Also

list_model_components, list_models, load_xscflux, load_xsclumin, load_xscpflux, load_xsireflect, load_xskdblur, load_xskdblur2, load_xskerrconv, load_xslsmooth, load_xspartcov, load_xsrdblur, load_xsreflect, load_xsrfxconv, load_xsrgsxsrc, load_xssimpl, load_xsvashift, load_xsvmshift, load_xsxilconv, load_xszashift, load_xszmshift, models, tablemodel, xs, xsconvolve