set_bound_e0

TRXASprefitpack.res.set_bound_e0(e0: float, fwhm_G: float, fwhm_L: float) Tuple[float, float][source]

Setting bound for peak position and edge position

Parameters
  • e0 – initial guess for peak position

  • fwhm_G – initial guess of fwhm_G parameter of voigt component

  • fwhm_L – initial guess of fwhm_L parameter of voigt component

Returns

Tuple of upper and lower bound of peak position