Function: pseudovoigt
Reference
Home
List of PyCrysFML08 Dictionaries
List of PyCrysFML08 Functions
USE
pseudovoigt returns the value of the pseudovoigt function:
f = eta * lorentzian(x,fwhm) + (1 - eta) * gaussian(x,fwhm)
function call
r = pseudovoigt(x : float,fwhm : float,eta: float)
Variable | Type | Description |
---|---|---|
x | float | Value at which the function is evaluated. |
fwhm | float | Full width at half maximum. |
eta | float | Weight |
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