Last modified: December 2022

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

xscarbatm

Context: models

Synopsis

The XSPEC carbatm model: Nonmagnetic carbon atmosphere of a neutron star.

Syntax

xscarbatm

The xscarbatm model is an additive model component.

Description

The model is described at [1] . The set_xsxset and get_xsxset functions are used to set and query the XSPEC XSET "CARBATM" parameter.


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.T        thawed            2            1            4         MK
   mdl.NSmass   thawed          1.4          0.6          2.8       Msun
   mdl.NSrad    thawed           10            6           23         km
   mdl.norm     thawed            1            0        1e+24           

ATTRIBUTES

The attributes for this object are:

Attribute Definition
T Effective temperature, in MK.
NSmass Neutron star mass, in M_sol.
NSrad Neutron star radius, in km.
norm The normalization of the model: see [1] for an explanation of the units.

References

XSPEC version

CIAO 4.15 comes with support for version 12.12.1c of the XSPEC models. This can be checked with the following:

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

Bugs

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

See Also

models
xshatm