I would like to use genfit to fit a function with more than 9 parameters, and its not clear to me how to do that.
The web description page for genfit says:
• n is a positive integer. In the case of non-vectorized parameters, there is a limit of nine individual names.
For 9 or fewer parameters, just including the parameters in the fitting function definition as F(x, u1,u2,u3,...):= works fine. But assigning the parameter names to a vector when there are more than 9 and using that vector name in the fitting function definition as F(x, params) where params is a vector of u1,u2,u3,... does not work.
Does anyone have an expample of setting up genfit for a function with more than 9 parameters?
Thanks
But assigning the parameter names to a vector when there are more than 9 and using that vector name in the fitting function definition as F(x, params) where params is a vector of u1,u2,u3,... does not work.
That seems to be the cause for your attempts failing. If you use a vector params, you have to use params[0, params]1 etc. in the function definition.
Here is a quick example with 11 parameters:
Yes - that makes perfect sense once you see the form
Thanks so much!