next up [*] [*]
Next: XSPEC Commands A-F Up: XSPEC commands Previous: Summary of Commands

Description of Syntax

The individual commands are treated in alphabetical order in the following section. The novice would be well-served by reading the treatments of the data, model, newpar, and fit commands, in that order, then the other commands as needed. The write-up for each command includes a brief description of the purpose, an outline of the correct syntax, a more detailed discussion of the command assumptions and purpose, and a series of examples. Some commands have one or more subcommands that are similarly described following the command.

In the command description, the syntax uses the following conventions.


<arg>     !  an argument to the command
<arg c> =:: <arg a> <arg b>     !  defines <arg c> as <arg a> followed by <arg b>
<arg>...     !  a repeated string of arguments of the same type
[<arg>]     !  is an optional argument.
{ <arg a> | <arg b> }     !  indicates a choice between an argument of type
    !  <arg a> or <arg b>


Exceptional responses to the command prompt are :

an empty line - Nothing performed, prompt repeated
/ - Any remaining arguments will have the values given on the last invocation of the command
<EOF> - same as quit
  otherwise use /$\ast$
? (or anything else) - Write a list of the commands


next up [*] [*]
Next: XSPEC Commands A-F Up: XSPEC commands Previous: Summary of Commands
Ben Dorman
2003-11-28