set_bound_tau

TRXASprefitpack.res.set_bound_tau(tau: float, fwhm: float | ndarray) Tuple[float, float][source]

Setting bound for lifetime constant

Parameters:
  • tau – initial guess for lifetime constant

  • fwhm – initial guess for full width at half maximum of instrumental response function float for gaussian and cauchy shape, np.ndarray with two element (fwhm_G, fwhm_L) for pseudo voigt shape.

Returns:

Tuple of upper bound and lower bound of tau