sum_exp_dmp_osc_conv¶
- TRXASprefitpack.mathfun.sum_exp_dmp_osc_conv(t: ndarray, fwhm: float, tau: ndarray, tau_osc: ndarray, T: ndarray, phase: ndarray, c: ndarray, c_osc: ndarray, base: Optional[bool] = True, irf: Optional[str] = 'g', eta: Optional[float] = None) ndarray[source]¶
Constructs convolution of sum of exponential decay and damped oscillation and instrumental response function Supported instrumental response function are
g: gaussian distribution
c: cauchy distribution
pv: pseudo voigt profile
- Parameters
t – time
fwhm – full width at half maximum of instrumental response function
tau – lifetime of decay
tau_osc – lifetime of vibration
T – period of vibration
phase – phase factor
c – coefficient for each decay component
c_osc – coefficient for each vibrational component
base – Whether or not use baseline feature for exponential decay component [default: True]
irf –
shape of instrumental response function [default: g]
’g’: normalized gaussian distribution,
’c’: normalized cauchy distribution,
’pv’: pseudo voigt profile \((1-\eta)g(t, {fwhm}) + \eta c(t, {fwhm})\)
eta – mixing parameter for pseudo voigt profile (only needed for pseudo voigt profile)
- Returns
Convolution of sum of exponential decay and damped oscillation and instrumental response function.