Xrf fit

I would do this as three input parameters