... | ... | @@ -141,12 +141,12 @@ In addition the optimiser parser has one non-STL function: |
|
|
There are several methods to access output data:
|
|
|
|
|
|
- `fromFile(filename)` : reads vector data from file. If the file contains more than one value the sum is returned.
|
|
|
- `sumErrSq(measfilename,variable,statfilename)` : computes the square root of the sum of all measurement errors (given as first and third argument) for a variable (second argument) according to $`result = \frac{1}{n} * \sqrt{\sum_{i=0}^n (measurement_i - value_i)^2}`$.
|
|
|
- `sddsVariableAt(variable,s,filename)` : interpolates a variable (first argument) from SDDS file (third argument) near a specific _s_ position (second argument)
|
|
|
- `radialPeak(filename,turnnumber)` : returns n-th peak of a radial probe output file.
|
|
|
- `sumErrSqRadialPeak(measfilename,statfilename,start,end)` : computes the square root of the sum of all peak errors (given as first and second argument) for a range of peaks (third argument and fourth argument) according to $`result = \frac{1}{n} * \sqrt{\sum_{i=start}^end (measurement_i - value_i)^2}`$.
|
|
|
- `probVariableWithID(variable,id,probelossfile)` : returns the value of the variable (first argument) with a certain ID (second argument) from probe loss file (third argument).
|
|
|
- `sameSDDSVariableAt(variable,s)` : same as `sddsVariableAt` for the main `.stat` output file.
|
|
|
- `sumErrSq(measfilename,variable,filename)` : computes the square root of the sum of all measurement errors (given as first and third argument) for a variable (second argument) according to: $`result = \frac{1}{n} * \sqrt{\sum_{i=0}^n (measurement_i - value_i)^2}`$.
|
|
|
- `radialPeak(filename,n)` : returns n-th peak of a radial probe output file.
|
|
|
- `sumErrSqRadialPeak(measfilename,statfilename,start,end)` : computes the square root of the sum of all peak errors (given as first and second argument) for a range of peaks (third argument and fourth argument) according to: $`result = \frac{1}{n} * \sqrt{\sum_{i=start}^{end} (measurement_i - value_i)^2}`$.
|
|
|
- `probVariableWithID(variable,id,probelossfile)` : returns the value of the variable (first argument) with a certain ID (second argument) from probe loss file (third argument).
|
|
|
|
|
|
FODO Example
|
|
|
===========
|
... | ... | |