set_bound_t0

TRXASprefitpack.res.set_bound_t0(t0: float, fwhm: float | ndarray) Tuple[float, float][source]

Setting bound for time zero

Parameters:
  • t0 – initial guess for time zero

  • 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 and lower bound of time zero