Last modified: December 2024

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

xsnsmaxg

Context: models

Synopsis

The XSPEC nsmaxg model: neutron star with a magnetic atmosphere.

Syntax

xsnsmaxg

The xsnsmaxg model is an additive model component.

Description

The model is described at [1] .


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.logTeff  thawed            6          5.5          6.9          K
   mdl.M_ns     thawed          1.4          0.5            3       Msun
   mdl.R_ns     thawed           10            5           30         km
   mdl.dist     thawed            1         0.01          100        kpc
   mdl.specfile frozen         1200 -3.40282e+38  3.40282e+38           
   mdl.norm     thawed            1            0        1e+24           

ATTRIBUTES

The attributes for this object are:

Attribute Definition
LogTeff The log of Teff, the unredshifted surface effective temperature.
M_ns The neutron star gravitational mass, in units of the solar mass.
R_ns The neutron star radius, in km.
dist The distance to the neutron star, in kpc.
specfile Which model to use: see [1] for more details.
norm The normalization: see [1] for more details.

References

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
xsnsmax, xsnsx