Hi Karoly, In attachement, a small script peaks.C This script: - generate a histogram with a variable number of peaks (here 8) - Use the TSpectrum class as a peak finder - Compute the initial parameters - Fit Rene Brun On Tue, 2 Jul 2002 kmakonyi@nist.gov wrote: > Dear ROOTers, > > The problem is not ROOT specific, but I have no idea ... > > I have a couple of peaks ( for example gaus-peaks ) what I would have to fit > together ( because they are overlapped ). It is not a big work for two peaks, > but it is for more then two ( I have such "peak-cluster" with 10 peaks, for > example..). And I have aproximetely 400 files with these data. > The conservative way is the "interactive fitting" ( to set manually the > parameters ), but it is "not so confortable", because of the large number of > files. > Is there any method to automatize the process? > Thanks, > Karoly MAKONYI >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET