dads¶
- TRXASprefitpack.driver.dads(escan_time: ndarray, fwhm: float, tau: ndarray, base: Optional[bool] = True, irf: Optional[str] = 'g', eta: Optional[float] = None, intensity: Optional[ndarray] = None, eps: Optional[ndarray] = None) Tuple[ndarray, ndarray, ndarray][source]¶
Calculate decay associated difference spectrum from experimental energy scan data
- 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
eps – standard error of dataset
- Returns
Tuple of calculated decay associated difference spectrum of each component, estimated error 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+1 energy scan