Param
- class sherpa.astro.io.xstable.Param(name: str, initial: float, delta: float, hardmin: float, hardmax: float, softmin: float | None = None, softmax: float | None = None, values: list[float] = <factory>, loginterp: bool = False)[source] [edit on github]
Bases:
BaseParam
Represent an interpolated parameter.
Attributes Summary
Are the values logarithmically interpolated (True) or linearly (False).
The "soft" maximum.
The "soft" minimum.
The parameter values used to create the model spectra.
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
- loginterp: bool = False
Are the values logarithmically interpolated (True) or linearly (False).
Defaults to linear interpolation.
- values: list[float]
The parameter values used to create the model spectra.
Is is required that they range from hardmin to hardmax and are in monotonically increasing order (so it can not be an empty list).
- name: str
The parameter name.
This must be unique and ideally a valid attribute name in Python, although the latter is not enforced.