XScompth

class sherpa.astro.xspec.XScompth(name='compth')[source]

Bases: sherpa.astro.xspec.XSAdditiveModel

The XSPEC compth model: Paolo Coppi’s hybrid (thermal/non-thermal) hot plasma emission models.

The model is described at [1].

Note

Deprecated in Sherpa 4.10.0

The AbHe parameter has been renamed Ab_met to match the XSPEC definition. The name AbHe can still be used to access the parameter, but this name will be removed in a future release.

theta
showbb
kT_bb

The temperature of the blackbody if greater than 0. When less than zero then the absolute value is used as the T_max parameter of the XSdispkpn model. The units are in eV.

RefOn
tau_p

The Thomson scattering depth.

radius

The size of the scattering region in cm.

g_min

The minimum Lorentz factor of the pairs.

g_max

The maximum Lorentz factor of the pairs.

G_inj

If less than zero then the non-thermal spectrum is assumed mono-energetic at g_max, otherwise a power law is used from g_min to g_max.

pairinj

If zero then accelerated particles are electrons from thermal pool. If one then accelerated particles are electrons and positrons.

cosIncl

The cosine of the inclination angle of the reflecting material to the line of sight.

Refl

The fraction of the scattering region’s emission intercepted by reflecting material.

Fe_abund

The iron abundance with respect to solar.

Ab_met

The abundance of the other metals with respect to solar.

T_disk

The temperature of the reflecting disk, in K.

xi

The ionization parameter of the reflector.

Beta

The power-law index with radius of disk reflection emissivity.

Rin

The inner radius of the reflecting material, in units of GM/c^2.

Rout

The outer radius of the reflecting material, in units of GM/c^2.

redshift

The redshift of the source.

norm

The normalization of the model: see [1] for more details.

See also

XSeqpair, XSeqtherm

Notes

The precision of the numerical integration can be changed by using the set_xsxset function to set the value of the EQPAIR_PRECISION keyword, which defines the fractional precision. The default is 0.01 (1%).

References

[1](1, 2) https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XSmodelEqpair.html

Attributes Summary

thawedparhardmaxes
thawedparhardmins
thawedparmaxes
thawedparmins
thawedpars
version_enabled

Methods Summary

apply(outer, \*otherargs, \*\*otherkwargs)
calc(pars, xlo, \*args, \*\*kwargs)
get_center()
guess(dep, \*args, \*\*kwargs)
reset()
set_center(\*args, \*\*kwargs)
startup()
teardown()

Attributes Documentation

thawedparhardmaxes
thawedparhardmins
thawedparmaxes
thawedparmins
thawedpars
version_enabled = True

Methods Documentation

apply(outer, *otherargs, **otherkwargs)
calc(pars, xlo, *args, **kwargs)
get_center()
guess(dep, *args, **kwargs)
reset()
set_center(*args, **kwargs)
startup()
teardown()