moments. Only the text-based version of the program is described. This is because a GUI should not require any explanation.
moments 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_value
lambda_corr λ0 c0 c1 c2 ...
save data "filename"
dataon a file. Writing to files is performed when the user calls the
standardcommand at the
minuitprompt. But the definition of the file names must be performed in FCN file.
gpfile. By default, files are not saved; they are not saved also if file name is a null string "".
graphgenerates a file with one block for each F, with four columns: λ, F value, best fit, IRF.
taucontains all the parameter values.
gpfileis a gnuplot command file, that can read "tau" and generate a graph with the DAS.
load decay "filename" [ (from-to) ] lambda time
load IRF "filename" [ (from-to) ]
load IRFcommand 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.
loads the file
load decay "d1.txt" 680 10
"data/d1.txt". This command can be issued anywhere; it has effect until another
basenamecommand is issued. To stop the effect of a
load decay "test"".txt" 680 10
momentscan 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:
-InuNmin Nmax Nstep
-IdisplNmin Nmax Nstep
-ItauRtmin tmax tstep
-Ideprtmin tmax tstep
moments fit.fcn -nu 3 -displ 1 -tauR 32.1 -Idepr 200 3000 100