Spectrum - control input

The main input to SPECTRUM will be changed over coming months to allow a more flexible definition of some of the many options and to enable the elements of the code to be used in a more versatile way. Until now, input has consisted of a series of responses to prompts given in a strict order. However, the program is now rarely used interactively, but from scripts using prepared "standard" input files. The strict formatting of these files makes them unintelligible and the addition of new data inputs, options, etc., difficult. For example the mode of operation currently depends on the sign of certain data inputs! Consequently a more user friendly inteface is being developed.

For the time being, both old and new style input will be recognised. The way in which input is interpreted depends on the initial control line. If this begins with a zero, e.g.

0 0 0 0
the new commands will be available, otherwise input will be accepted as before, although some of the newer options will not be available.

Spectrum users are encouraged to submit suggestions for further developments.

Program Options - new version

Examples

Program Options - old version

Data input following the old style must begin

nmod nskip wavmax nsource
with nmod>0.

Examples
This page is maintained by:
Simon Jeffery (csj@star.arm.ac.uk)
Last modified: 08/06/00
Simon's home page