I would like to use some model function f(x) to fit my experimental data data.dat, which contain unwanted background (not included in model). I have (normalized) background data in the xy-type datafile bgr.dat Unfortunately, I can't subtract background directly, because I don't know exact magnitude of the background; my data contains background multiplied by constant const. Any idea how to redefine model function to include background and fit it like this?
fit f(x) `data.dat` via par1, par2,...,parN, const
par1, par2,...,parN are other parametres of the model