Xrf fit

same comment as `erf`