xspec-param2batch


NAME

xspec-param2batch - convert XSPEC parameter databased to XSPEC batch files


PARAMETERS

xspec-param2batch uses the standard parameter interface

input file list
This parameter specifies the list of files to convert. If the value begins with an @ character, it designates a file which contains a list of the files to process. Otherwise, it may be a space or comman delimited list of files to process.

filelist filename
This parameter specifies the name of a file into which xspec-param2batch will write a list of the files it creates. This may be useful in batch scripts, especially if xspec-param2batch is invoked on .scn or .sum files, from which it may create more than one output file.

default_db filename
The XSPEC model defaults database file. See the documentation for pha2xspec-param for more information.

verbose boolean
Be verbose.

help boolean
Print out a simple help message and exit.

version boolean
Print out xspec-param2batch's version and exit.

debug list
A list of debug flags. None are presently defined.

.


DESCRIPTION

xspec-param2batch converts parameter databases (such as created by pha2xspec-param) into XSPEC batch files.

It requires the specific defaults database used by pha2xspec-param to create the parameter databases.

While xspec-param2batch operates on _fitpar.rdb files created by pha2xspec-param, it accepts a number of different formats for the names of the input files. Input files may have one of four suffixes: .scn, .sum, and .pha, and _fitpar.rdb. For a .scn file, the name should have the format XXXXX.scn. xspec-param2batch scans the directory containing the specified file for .pha files with the template acqXXXXXd?i?.pha, and processes all of the _fitpar.rdb files in the current directory which have accompanying .pha files.

Files which end in .sum should have the template XXXXXd?.sum. xspec-param2batch scans the directory containing the specified file for .pha files with the template acqXXXXXd?i?.pha, and processes all of the _fitpar.rdb files in the current directory which have accompanying .pha files.

It determines the _fitpar.rdb file for an input file which ends in .pha by removing the path and looking in the current directory for the associated .pha file.

Finally, if the input file has the _fitpar.rdb suffix, it processes that file as is, using the full path to the file.

Note that batch files are always created in the current directory.


AUTHOR

D. Jerius