- qspec.models. VoigtCEC ( )[source]
-
A series of $n + 1$
Voigtpeak functions, e.g., to model side peaks from charge-exchange collisions (CEC)$$ f(x, \Gamma, \sigma, x_\mathrm{cec}, p_\mathrm{cec}) = \sum\limits_{k = 0}^n p_\mathrm{cec}^k\mathrm{Voigt} (x - k x_\mathrm{cec}, \Gamma, \sigma), $$with the parameters
Gamma($\Gamma$),sigma($\sigma$),shift($x_\mathrm{cec}$),ratio($p_\mathrm{cec}$) andn($n$, fixed by default).- Attributes:
-
- descriptionstr
A description of the model hierarchy, e.g.,
"Offset.Summed[0].Hyperfine.Voigt".- dxfloat
A hint for an x-axis step size for a smooth display of the model.
- errorstr
An error message if there is an issue with the model parameters (not implemented).
- fixeslist[fix_type]
The fix states of the parameters, see
Model.set_fix.- linkslist[bool]
Whether the parameters are linked to the parameters with the same name in a
Linkedmodel.- modelModel | None
The submodel.
- nameslist[str]
The names of the parameters.
- pdict[str, int]
A map of the parameter names to their indexes.
- sizeint
The number of parameters required by the model.
- typestr
The name of the model type.
- valslist[float]
The current values of the parameters.