get_xsxsect

sherpa.astro.xspec.get_xsxsect()[source] [edit on github]

Return the cross sections used by X-Spec models.

Returns:val – The value of the photoelectric absorption setting: one of ‘bcmc’, ‘obcm’, and ‘vern’.
Return type:str

See also

set_xsxsect()

Examples

>>> get_xsxsect()
'bcmc'