edge_gaussian¶ TRXASprefitpack.mathfun.edge_gaussian(e: Union[float, ndarray], fwhm_G: float) → ndarray[source]¶ Gaussian type edge function :math:(frac{1}{2}left(1+{erf}left(frac{x}{sigmasqrt{2}}right)right)) Parameters e – energy fwhm_G – full width at half maximum Returns gaussian type edge shape function