Xrf fit

How is this different than this function?
http://docs.scipy.org/doc/scipy/reference/generated/scipy.special.erf.html