dads¶
- TRXASprefitpack.driver.dads(escan_time: ndarray, fwhm: float, tau: 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]¶
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