sddsvslopes
makes straight line fits of vectorized data
in the input file with respect to a selected parameter used as independent variable.
The simplest example of vectorized data is a data set with one parameter and two columns,
one string column of rootnames and one numerical column of data.
The fitting is looped over rows across all the
data sets in the input file (using a selected parameter as the
independent vairable). The output file contains
vectorized slopes and intercepts data for each column specified in the input file.
The output file contains one data set of vectorized slopes and intercept data.
The Rootname and Index columns from the input file is transfered to the output file.
In the column Index doesn't exist in the input file, then it is created in the output
file anyway.
The column names are nameSlope
, and nameIntercept
where name is the name of the fitted data.
If only one file is specified, then the input file is overwritten by the output.
A string parameter called IndenpendentVariable
is defined containing the name of the indepedent variable.
Sigma
or Sigma
name as
sigma of column name. If these columns don't exist
then the program generates a common sigma from the residual of a first fit,
and refits with these sigmas. If option -sigma=generate is given,
then sigmas are generated from the residual of a first fit for all columns,
irrespective of the presence of columns nameSigma
or Sigma
name.