Next: Removing Sources
Up: XIMGFIT v0.999 Manual
Previous: Simulating Data
For those who know python, commands can be added externally. The code for the
error command is in the file smart_fit.py and is modelled somewhat after
scripts originally written in Tcl for XSPEC. Without knowledge of python,
scripts can be written ala XSPEC 9, i.e., with a series of commands in a
file, albeit without conditionals, etc.
autoximg is a sh script that automatically generates such a
command file to run ximgfit with error all after a fit has been found
and saved to an command file (i.e., with save all filename.ximg).
In this case, autoximg filename 4.605 will start up ximgfit with
filename.ximg and execute the command error all 4.605. Note that as
ximgfit is running, the current best fit is saved to the file ``@XXXX.ximg''
where XXXX is the process ID of the ximgfit process. If the ximgfit process
were to be killed for some reason, then the last fit can be recovered using
ximgfit filename.ximg followed by load @XXXX.ximg. The error search
can be monitored using tail -f logs/XXXX_err.log.
Andrew Ptak
2001-10-11