The sherpa.astro.xspec.utils module¶
This module provides routines useful for the XSPEC model interface.
Classes
ModelMeta
(*args, **kwargs)Metaclass for xspec models.
Functions
include_if
(condition)Generic decorator for including xspec models conditionally.
version_at_least
(version_string)Decorator which takes a version string as an argument and enables a model only if the xspec version detected at runtime is equal or greater than the one provided to the decorator.