Scripts and the Save command



next up previous contents
Next: Simulations Up: Helpful Hints Previous: Helpful Hints

Scripts and the Save command

One can write XSPEC commands into a file and have them executed by entering ¸ at the XSPEC prompt. The save command writes out a file of XSPEC commands, which, when run, will restore XSPEC to the state it was in when the save command was issued. This command is very useful when reading a large number of data sets and/or fitting complicated models. One also should do a save after doing something new or complicated, so if a disaster occurs it is possible to recover.



Keith Arnaud
Fri Nov 18 16:30:43 EST 1994