BaseParam
- class sherpa.astro.io.xstable.BaseParam(name: str, initial: float, delta: float, hardmin: float, hardmax: float, softmin: float | None = None, softmax: float | None = None)[source] [edit on github]
Bases:
object
Represent a parameter.
The absolute DELTA value is used by XSPEC but ignored by Sherpa. The sign of DELTA is used (by both Sherpa and XSPEC) to decide if the parameter should be frozen (DELTA is negative) or not by default.
Attributes Summary
The "soft" maximum.
The "soft" minimum.
The parameter name.
The default value for the parameter.
The delta value for fitting.
The minimum value for the parameter.
The maximum value for the parameter.
Attributes Documentation
- name: str
The parameter name.
This must be unique and ideally a valid attribute name in Python, although the latter is not enforced.