Last modified: December 2018

URL: http://cxc.harvard.edu/sherpa/ahelp/load_xszashift.html
AHELP for CIAO 4.11 Sherpa v1

load_xszashift

Context: models

Synopsis

Redshift an additive model. XSpec convolution model *Experimental*.

Description

This convolution model redshifts an additive model. It takes the calculated model and shifts energies by 1/(1+z) then applies an additional 1/(1+z) factor to the model values.

xszashift Parameters

Number Name Description
1 Redshift Redshift

Loading the X-Spec convolution models

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

Notes

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.


Example

sherpa> from sherpa_contrib.xspec.xsconvolve import load_xszashift
sherpa> load_xszashift("zas")
sherpa> set_source(xsphabs.gal * zas(xspowerlaw.pl + xsgaussian.gl))
sherpa> zas.redshift = 0.25

The power-law and gaussian components are redshifted and then an absorption model is applied.


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.


Bugs

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

See Also

models
list_model_components, list_models, load_xscflux, load_xsclumin, load_xscpflux, load_xsgsmooth, 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_xszmshift, models, tablemodel, xs, xsconvolve