dads_svd

TRXASprefitpack.driver.dads_svd(escan_time: ndarray, fwhm: float, tau: ndarray, base: bool | None = True, irf: str | None = 'g', eta: float | None = None, intensity: ndarray | None = None, cond_num: float | None = 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