set_xsxsect

sherpa.astro.xspec.set_xsxsect(name: str) None[source] [edit on github]

Set the cross sections used by X-Spec models.

Set the X-Spec photoelectric absorption cross-sections setting, which changes the cross-sections used by all X-Spec absorption models except for XSwabs. It is equivalent to the X-Spec xsect command [1].

Parameters:

name ({ 'bcmc', 'obcm', 'vern' }) – The options are: ‘bcmc’ from [2] with a new He cross-section based on [3]; ‘obcm’ which is, the same as ‘bcmc’, but with the He cross-section from [2], or ‘vern’ [4].

Notes

The screen output of this function is controlled by the X-Spec chatter setting (set_xschatter).

References

Examples

>>> set_xsxsect('vern')
 Cross Section Table set to vern:  Verner, Ferland, Korista, and Yakovlev 1996