- qspec.models. LorentzQI ( )[source]
-
A Lorentzian peak function, normalized to its maximum
$$ f(x, \Gamma) = \frac{\Gamma^2}{(2x)^2 + \Gamma^2}, $$with the parameter
Gamma(the FWHM $\Gamma$). A dispersive term for the consideration of quantum interference (QI) effects is available throughLorentzQI.evaluate_qi$$ f_\mathrm{qi}(x, x_\mathrm{qi}, \Gamma) = \mathrm{Re}\left[\frac{2\Gamma^2} {(2x + \mathrm{i}\Gamma)(2(x - x_\mathrm{qi}) - \mathrm{i}\Gamma)}\right]. $$This model needs to be implemented in another model that combines
evaluatewithevaluate_qi, seeHyperfineQI.- 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.