TRXASprefitpack.mathfun package¶
Module contents¶
TRXASprefitpack.mathfun Package¶
mathfun: subpackage for the mathematical functions for TRXASprefitpack
- copyright
2021-2022 by pistack (Junho Lee).
- license
LGPL3.
Functions¶
|
voigt: evaluates voigt profile function with full width at half maximum of gaussian part is fwhm_G and full width at half maximum of lorenzian part is fwhm_L |
|
Gaussian type edge function :math:(frac{1}{2}left(1+{erf}left(frac{x}{sigmasqrt{2}}right)right)) |
|
Lorenzian type edge function :math:(0.5+frac{1}{pi}{arctan}left(frac{x}{gamma}right)) |
|
Calculates normalized voigt broadened theoretically calculated lineshape spectrum |
|
deriv_voigt: derivative of voigt profile with respect to (e, fwhm_G, fwhm_L) |
|
derivative of gaussian type edge |
|
derivative of lorenzian type edge |
|
Calculates derivative of normalized voigt broadened theoretically calculated lineshape spectrum |
|
Compute gaussian shape irf function |
|
Compute lorenzian shape irf function |
|
Compute pseudo voight shape irf function (i.e. |
|
Calculate eta of pseudo voigt profile with fwhm_G, fwhm_L based on Journal of Applied Crystallography. |
|
Calculate uniform fwhm of both gaussian and cauchy component of pseudo voigt profile with fwhm_G, fwhm_L based on Journal of Applied Crystallography. |
|
Calculate gradient of eta of pseudo voigt profile with fwhm_G, fwhm_L based on Journal of Applied Crystallography. |
|
Computes gradient of uniform fwhm parameter of pseudo voigt approximation based on Journal of Applied Crystallography. |
|
Compute exponential function convolved with normalized gaussian distribution |
|
Compute exponential function convolved with normalized cauchy distribution |
|
Compute exponential function convolved with normalized pseudo voigt profile (i.e. |
|
Compute derivative of exponential function convolved with normalized gaussian distribution |
|
Compute derivative of the convolution of exponential function and normalized cauchy distribution |
|
Compute derivative of sum of exponential function convolved with normalized gaussian distribution |
|
Compute derivative of sum of exponential function convolved with normalized cauchy distribution |
|
Compute damped oscillation convolved with normalized gaussian distribution |
|
Compute damped oscillation convolved with normalized cauchy distribution |
|
Compute damped oscillation convolved with normalized pseudo voigt profile (i.e. |
|
Compute derivative of the convolution of damped oscillation and normalized gaussian distribution |
|
Compute derivative of convolution of damped oscillation and normalized cauchy distribution |
|
Solve system of first order rate equation |
|
Solve sequential decay model |
|
Solve system of first order rate equation where the rate equation matrix is lower triangle |
|
Compute solution of the system of rate equations solved by solve_model Note: eigval, V, c should be obtained from solve_model |
|
Compute solution of the system of rate equations solved by solve_model convolved with normalized gaussian distribution |
|
Compute solution of the system of rate equations solved by solve_model convolved with normalized cauchy distribution |
|
Compute solution of the system of rate equations solved by solve_model convolved with normalized pseudo voigt profile |
|
Constructs the model for the convolution of n exponential and instrumental response function Supported instrumental response function are |
|
Estimate the best coefficiets when full width at half maximum fwhm and life constant tau are given |
|
Constructs signal model rate equation with instrumental response function Supported instrumental response function are |
|
Estimate the best coefficiets when full width at half maximum fwhm and eigenvector and eigenvalue of rate equation matrix are given |
|
Constructs convolution of sum of damped oscillation and instrumental response function Supported instrumental response function are |
|
Estimate the best coefficiets and phase factor when full width at half maximum fwhm , life constant tau and period of vibration T are given |
|
Constructs convolution of sum of exponential decay and damped oscillation and instrumental response function Supported instrumental response function are |
|
Estimate the best coefficiets and phase factor of oscillation part when full width at half maximum fwhm , lifetime constant of decay component tau, lifetime constant of oscillation component tau_osc and period of vibration T are given |