Last modified: December 2024

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

xsvcph

Context: models

Synopsis

The XSPEC vcph model: Cooling + heating model for cool core clusters

Syntax

xsvcph

The xsvcph model is an additive model component.

Description

The model is described at [1] .


Example

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

Create a component of the xsvcph 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.He       frozen            1            0         1000           
   mdl.C        frozen            1            0         1000           
   mdl.N        frozen            1            0         1000           
   mdl.O        frozen            1            0         1000           
   mdl.Ne       frozen            1            0         1000           
   mdl.Na       frozen            1            0         1000           
   mdl.Mg       frozen            1            0         1000           
   mdl.Al       frozen            1            0         1000           
   mdl.Si       frozen            1            0         1000           
   mdl.S        frozen            1            0         1000           
   mdl.Ar       frozen            1            0         1000           
   mdl.Ca       frozen            1            0         1000           
   mdl.Fe       frozen            1            0         1000           
   mdl.Ni       frozen            1            0         1000           
   mdl.Redshift frozen            0            0           50           
   mdl.switch   frozen            2            0            3           
   mdl.norm     thawed            1            0        1e+24           

ATTRIBUTES

The attributes for this object are:

Attribute Definition
peakT The peak temperature, in keV.
He, C, N, O, Ne, Na, Mg, Al, Si, S, Ar, Ca, Fe, Ni The abundance of the element, with respect to Solar.
Redshift The redshift.
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 (only usable with XSPEC 12.14.0 or later). See [1] for more details. This parameter can not be thawed.
norm The mass accretion rate, in solar mass per year.

References

Changes in CIAO

Changed in CIAO 4.17

The switch parameter default has changed from 1 to 2 to match XSPEC 12.14.0 and the maximum value is now 3.

Changed in CIAO 4.14

The default Redshift parameter value has changed from 0.1 to 0 to match XSPEC.

XSPEC version

CIAO 4.17 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
xscph, xsmkcflow