A text file with the fit results for each fitted line is created only when the switch ires is activated. The name of the file can be specified with the calling option -o filename; if no option is given, the default file name cora.dat will be used. If the file already exists the results are appended. This is, e.g., useful when the program is used for scanning a spectrum for lines and listing all results in a log-file.
The first line of the text file contains a header explaining the meaning of each column. Units are given in brackets, e.g. [cts]. When errors with value -1.0 are listed, this means that the variable is not iterated or that the value of the variable lies close to its iteration limits, set by dsig and dlam. The last column contains the result of the source background used for the calculation. It is given in units [cts/Å].
This text file can be used for creating a new graph with different
plotting options without having to repeat the calculation.
For this purpose simply change the parameter file either directly
or with the user interface, and re-run the program with the option -r :
cora_fit -i parameter_file -s spectrum_file -r textfile .
From the graphical user interface this function is called from Options/Replot Last_OR_From File.
It can be converted into a LATEX table with:
cora_(f)tex -i logfile -l lpp -t texfile -a arfile -e exp.time -s source name ,
where logfile indicates the outputfile from cora (default cora.dat), lpp indicates the number of lines per page (default 40), and texfile indicates the name of the LATEX -file to be created (default cora.tex).
If the measured counts are to be converted to fluxes, the exposure time can be entered after -e and a table arfile containing effective areas (units cm) on any wavelengths grid (must be sorted!) can be indicated with -a arfile.
All options are optional, without options the default values will be used. From the graphical user interface this function is called from Options/Create TeX file from log-file. Corrections for effective areas cannot be done from the user interface, this has to be done from the command line.