This is a collection of C++ classes using the musrfit user-functions interface in order to facilitate the usage in conjunction with musrfit. It consists of two libraries:
Note
Currently it is recommended to read in the data in ASCII format as a non-μSR fit (fit type 8).
In β-NMR the SLR is usually measured by implanting a pulse of \(^8\)Li with a length \(t_0\) into the sample. The asymmetry is measured both during the pulse and afterwards. For a a general spin relaxation function \(f(t)\) the time evolution of the asymmetry is then given by [Z. Salman, et al., PRL 96, 147601 (2006)]:
where \(\tau_{\mathrm{Li}}=1.21\)s is the \(^8\)Li lifetime.
The libLineProfile library currently contains the following functions:
Exponential relaxation
userFcn libBNMR ExpRlx 1 2
The parameters are:
This function implements \(f(t)=e^{-\sigma t}\).
Stretched exponential relaxation
userFcn libBNMR SExpRlx 1 2 3
The parameters are:
This function implements \(f(t)=e^{-(\sigma t)^{\beta}}\).
In addition to some simple line shapes libLineProfile contains functions to fit chemical shift anisotropies in the powder average. Their functional form can be found in M. Mehring, Principles of High Resolution NMR in Solids (Springer 1983).
For an axially symmetric interaction it is given by:
where \(f_\parallel\) and \(f_\perp\) are the frequencies that would be observed if the field is oriented paralell or perpendicular to the symmetry axis, respectively.
\(K(m)\) is the complete elliptic integral of the first kind.
The libLineProfile library currently contains the following functions:
Gaussian
userFcn libLineProfile LineGauss 1 2
The parameters are:
Lorentzian
userFcn libLineProfile LineLorentzian 1 2
The parameters are:
Laplacian
userFcn libLineProfile LineLaplace 1 2
The parameters are:
Skewed Lorentzian
userFcn libLineProfile LineSkewLorentzian 1 2 3
The parameters are:
Skewed Lorentzian 2
userFcn libLineProfile LineSkewLorentzian2 1 2 3
The parameters are:
Powder average of an axially symmetric interaction convoluted with a Lorentzian
userFcn libLineProfile PowderLineAxialLor 1 2 3
The parameters are:
with \(I_{\mathrm ax}(f)\) defined above.
Powder average of an axially symmetric interaction convoluted with a Gaussian
userFcn libLineProfile PowderLineAxialGss 1 2 3
The parameters are:
with \(I_{\mathrm ax}(f)\) defined above.
Powder average of an anisotropic interaction convoluted with a Lorentzian
userFcn libLineProfile PowderLineAsymLor 1 2 3 4
The parameters are:
with \(I(f)\) defined above. Note that \(f_1<f_2<f_3\) is not required by the code.
Powder average of an anisotropic interaction convoluted with a Gaussian
userFcn libLineProfile PowderLineAsymGss 1 2 3 4
The parameters are:
with \(I(f)\) defined above. Note that \(f_1<f_2<f_3\) is not required by the code.