fact_anal_dmp_osc_conv

TRXASprefitpack.mathfun.fact_anal_dmp_osc_conv(t: ndarray, fwhm: float, tau: ndarray, T: ndarray, irf: str | None = 'g', eta: float | None = None, intensity: ndarray | None = None, eps: ndarray | None = None) Tuple[ndarray, ndarray][source]

Estimate the best coefficiets and phase factor when full width at half maximum fwhm , life constant tau and period of vibration T are given

Supported instrumental response functions are

  1. ‘g’: gaussian distribution

  2. ‘c’: cauchy distribution

  3. ‘pv’: pseudo voigt profile

Parameters:
  • t – time

  • fwhm – full width at half maximum of instrumental response function

  • tau – life time for each component

  • 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:

Pair of phase factor and Best coefficient for given damped oscillation component.

Note

the dimension of the intensity should be one.