powered by
Calculates the value of the pseudo-Voigt broadening function at the given wavenumbers, given the parameters of the peaks. This function is thread-safe.
mixedVoigt(location, scale_G, scale_L, amplitude, wavenum)
Vector of location parameters of the peaks (\(cm^{-1}\))
Vector of standard deviations \(\sigma_j\) of the Gaussian components.
Vector of scale parameters \(\phi_j\) of the Lorentzian components.
Vector of amplitudes of the peaks (a.u.)
Vector of wavenumbers at which to compute the function.
The value of the pseudo-Voigt function at the given wavenumbers.
Thompson, Cox & Hastings (1987) "Rietveld refinement of Debye--Scherrer synchrotron X-ray data from \(Al_2 O_3\)," J. Appl. Crystallogr. 20(2): 79--83, DOI: 10.1107/S0021889887087090
# NOT RUN { Cal_V <- seq(300,400,by=5) loc <- c(320,350,375) scG <- c(10,5,1) scL <- c(3,20,7) amp <- c(100,500,200) mixedVoigt(loc,scG,scL,amp,Cal_V) # }
Run the code above in your browser using DataLab