<xspec2rdb> - parse an XSPEC log file for designated parameters.
This program parses an XSPEC log file for the desirable parameters (the desirable parameters are listed below) into two /rdb tables. The /rdb tables can be joined by a common `fitid' which shall be generated by the program by concatenating the year-month-day-hour-min-sec.
Note that the program shall parse the first session of a fit. It is the responsibility of the user to output only one fit per log file.
The current list of desirable parameters are:
The parameters given in list 1) shall be outputed to a meta-parameter /rdb table and the parameters given in list 2) shall be ouputed to a fit-parameter /rdb table.
xspec2rdb [input=?? fitparoutput=?? metaparoutput=?? version+ help+ ]
The options are :
The absolute path to the XSPEC log file to be parsed.
The absolute path of the filename where the columns of XSPEC fitted parameters are to be written to.
The absolute path of the filename where the meta data of the fit are to be written to.
If version+ then the version number of the program will be written out
item xrcfonly.
If xrcfonly+ then the runid, detector number and iteration number shall be parsed and output to the meta-parameter /rdb table.
help+ causes this message to be written out
If the fitparoutput or the metaparoutput does not exist the appropiate /rdb
header shall be written out. If the files already exist then only the
parsed output shall be attached a the end of the existing
file(s).