dmp_osc_conv

TRXASprefitpack.mathfun.dmp_osc_conv(t: ndarray, fwhm: float, tau: ndarray, T: ndarray, phase: ndarray, c: ndarray, irf: Optional[str] = 'g', eta: Optional[float] = None) ndarray[source]

Constructs convolution of sum of damped oscillation and instrumental response function Supported instrumental response function are

  • g: gaussian distribution

  • c: cauchy distribution

  • pv: pseudo voigt profile

Parameters
  • t – time

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

  • tau – lifetime of vibration

  • T – period of vibration

  • phase – phase factor

  • c – coefficient for each damping oscillation 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)

Returns

Convolution of sum of damped oscillation and instrumental response function.