compute_signal_pvoigt

TRXASprefitpack.mathfun.compute_signal_pvoigt(t: ndarray, fwhm: float, eta: float, eigval: ndarray, V: ndarray, c: ndarray) ndarray[source]

Compute solution of the system of rate equations solved by solve_model convolved with normalized pseudo voigt profile

\[\mathrm{pvoigt}(t) = (1-\eta) G(t, {fwhm}) + \eta L(t, {fwhm}),\]

G(t) stands for normalized gaussian, L(t) stands for normalized cauchy(lorenzian) distribution

Parameters:
  • t – time

  • fwhm – full width at half maximum of instrumental response function

  • eta – mixing parameter

  • eigval – eigenvalue for equation

  • V – eigenvectors for equation

  • c – coefficient

Returns:

Convolution of solution of rate equation and normalized pseudo voigt profile.

Note

eigval, V, c should be obtained from solve_model.