Function: tch_pseudovoigt
Reference
Home
List of PyCrysFML08 Dictionaries
List of PyCrysFML08 Functions
USE
tch_pseudovoigt returns the value of the pseudovoigt function, where the parameter fwhm is computed from hg and hl by using the Tom-Cox-Hasting formula.
function call
r = tch_pseudovoigt(x : float,hg: float,hl: float)
Variable | Type | Description |
---|---|---|
x | float | Value at which the function is evaluated. |
hg | float | Function parameter. Together with hl is used to compute fwhm from Tomson-Cox-Hasting formula. |
hl | float | Function parameter. Together with hg is used to compute fwhm from Tomson-Cox-Hasting formula. |
r | tuple | The tuple returned by the function. r[0] : int, error code. If non-zero, an error has occurred. r[1] : str, error message. r[2]: float, value of the function at x. |
examples