Xrf fit

I will set this as input, or macro defined.