moments. Only the text-based version of
the program is described. This is because a GUI should not require any
explanation.
momentsmoments fcn_file_name [options]
multiexp, and
also the output files are the same.
The options are described in section 4.
As a general rule, time scales are relative; use always the same
time unit (ps for example).
scale = scale_value
scale = 2.44
maxdelta = max_delta_valuelambda_corr λ0 c0 c1 c2 ...save data "filename"data on a file. Writing to files is performed
when the user calls the standard command at the minuit prompt. But
the definition of the file names must be performed in FCN file.
data can be graph, tau,
gpfile. By default, files are not saved;
they are not saved also if file name is a null string "".
graph generates a file with one block for each F, with four
columns: λ, F value, best fit, IRF.
tau contains all the parameter values.
gpfile is a gnuplot command file, that can read "tau" and generate a graph
with the DAS.
load decay "filename" [ (from-to) ] lambda timeload IRF "filename" [ (from-to) ]load IRF command must be issued before all the
load decay" that have that IRF. For example:
load IRF "irfA.txt"
load decay "decay1_irfA.txt" 650 100
load decay "decay2_irfA.txt" 670 100
load decay "decay3_irfA.txt" 690 100
load IRF "irfB.txt"
load decay "decay1_irfB.txt" 650 100
load decay "decay2_irfB.txt" 670 100
load decay "decay3_irfB.txt" 690 100
The first group of decays has been measured with a given setup, and its IRF has been saved as "irfA.txt". Then, a second group of measures has been performed, with a different setup, and its IRF has been saved as "irfB.txt".
The (from-to) can be optionally appended to the command, in order to define which lines must be processed.
For "decay" measurements, "lambda" and "time" must be defined. "lambda" will be used for lambda_corr (if any), while "time" will be used to normalize the resulting A.
The files with data must contain a column of numbers, representin the counts in each bin. Negative values are excluded from the fit. It's worth noting that a poissonian error is assumed for every count in a bin, and is evaluated as the square root of the counts. So do not normalize or multiply the counts by any amount.
basename "base_name"
basename "data/"
load decay "d1.txt" 680 10
loads the file "data/d1.txt". This command can be issued
anywhere; it has effect until another basename command is
issued. To stop the effect of a basename command, use
basename ""
load decay "test"".txt" 680 10
-nu N-displ N-tauR t-depr tmoments can scan a range of values of parameters, and put all the results
in the output table. All the four parameter can be changed into parameter ranges:
-Inu Nmin Nmax Nstep-Idispl Nmin Nmax Nstep-ItauR tmin tmax tstep-Idepr tmin tmax tstepmoments fit.fcn -nu 3 -displ 1 -tauR 32.1 -Idepr 200 3000 100