I have a user defined function which is Moyal function. I had to set parameters by hand to fit the data. However, I have more than 2000 histos so it is not possible to do that by hand. On the other hand sometime parameters are changing so I can not set the parameters on a specific values.
Do I have a chance to detemine automatically the parameters that minimizes the value of chi-square?( Moyal function is some kind of Landau or Gauss function.)