get_xsxset

sherpa.astro.xspec.get_xsxset(name)[source]

Return the X-Spec model setting.

Parameters:name (str) – The name of the setting (converted to upper case before being sent to X-Spec). There is no check that the name is valid.
Returns:val – Returns the value set by a previous call to set_xsxset or the empty string, if not set.
Return type:str

See also

set_xsxset()
Set a X-Spec model setting.

Notes

Due to the way X-Spec model settings work, get_xsxset will only return a value if it has previously been set with a call to set_xsxset. There is no way to retrive the default value of a setting.