Last modified: December 2025

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/xsbcph.html
AHELP for CIAO 4.18 Sherpa

xsbcph

Context: models

Synopsis

The XSPEC bcph model: Cooling + heating model for cool core clusters.

Syntax

xsbcph

The xsbcph model is an additive model component.

Description

The model is described at [1] .


Example

>>> create_model_component("xsbcph", "mdl")
>>> print(mdl)

Create a component of the xsbcph model and display its default parameters. The output is:

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.peakT    thawed          2.2          0.1          100        keV
   mdl.Abund    frozen            1            0         1000           
   mdl.Redshift frozen          0.1            0           50           
   mdl.Velocity frozen            0            0        10000       km/s
   mdl.switch   frozen            2            0            3           
   mdl.norm     thawed            1            0        1e+24           

PARAMETERS

The parameters for this function are:

Parameter Definition
peakT The peak temperature in keV.
Abund Abundance relative to solar.
Redshift The redshift of the plasma.
Velocity The gaussian sigma for the velocity broadening (in km/s) which is only used when switch > 1.
switch If 0, the mekal code is run to evaluate the model; if 1 then interpolation of the mekal data is used; if 2 then interpolation of APEC data is used; if 3 then SPEX data. See [1] for more details. This parameter can not be thawed.
norm The mass accretion rate (solar mass per year).

References

[1]

Changes in CIAO

Changed in CIAO 4.18

The default Redshift parameter has been changed from 0 to 0.1 to match version 12.14.1 of XSPEC.

Added in CIAO 4.17

XSPEC version

CIAO 4.18 comes with support for version 12.14.0k of the XSPEC models. This can be checked with the following:

% python -c 'from sherpa.astro import xspec;
print(xspec.get_xsversion())'
12.14.0k

Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

models
xsbcoolflow, xsbvcph