Xrf fit

`xmin` and `xmax` are not documented