fact_anal_sum_exp_dmp_osc_conv¶
- TRXASprefitpack.mathfun.fact_anal_sum_exp_dmp_osc_conv(t: ndarray, fwhm: float, tau: ndarray, tau_osc: ndarray, T: ndarray, base: bool | None = True, irf: str | None = 'g', eta: float | None = None, intensity: ndarray | None = None, eps: ndarray | None = None) Tuple[ndarray, ndarray, ndarray][source]¶
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
Supported instrumental response functions 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 – life time for each decay component
tau_osc – life time for each vibration component
base – Whether or not use baseline feature for exponential decay component [default: True]
T – period of vibration of each component
phase – phase factor for each component
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)
intensity – intensity of time scan data to fit
eps – standard error of data
- Returns:
Tuple of best coefficient and phase_factor for given decay and damped oscillation component. (c_(decay), phase_(osc), c_(osc))
Note
the dimension of the intensity should be one.