dads_svd¶
- TRXASprefitpack.driver.dads_svd(escan_time: ndarray, fwhm: float, tau: ndarray, base: Optional[bool] = True, irf: Optional[str] = 'g', eta: Optional[float] = None, intensity: Optional[ndarray] = None, cond_num: Optional[float] = 0) Tuple[ndarray, ndarray][source]¶
Calculate decay associated difference spectrum from experimental energy scan data (using svd)
- Parameters
escan_time – time delay for each energy scan data
fwhm – full width at half maximum of instrumental response function
tau – life time for each component
base – whether or not include baseline [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)
intensity – intensity of energy scan dataset
cond_num – conditional number to turncate svd
- Returns
Tuple of calculated decay associated difference spectrum of each component, and retrieved energy scan intensity from dads and decay components
Note
To calculate decay associated difference spectrum of n component exponential decay, you should measure at least n energy scan