This file shall describe the file format used to store a krot session to disk.
Please keep it up to date with the real code.
If there are any doubts, this file does have highest precedence. If it doesn't
clearify, please write a RFC to the devolopment mailing list and see where we
get. (Don't take the code to be a format description, it might contain bugs !)


The data file is a pure text file, eventually compressed by gzip.

The data file does contain distinguished section, each of which starts by the
section name included in rectangular brackets ( "[section]" ). The section ends
by the start of another one.

Sections may contain one spectrum, one simulation or general information. All
sections that do not contain a spectrum or a simulation are general sections.

Within any general section each entry is of the form "key=value" where key is a
descriptive synonym of what the value stands for. There are no blanks allowed in
front of the equal sign. Any blank after the equality sign is part of the value.
The value is ended by a newline character.

A spectrum section is marked as such by having a name starting with "spectrum:"
( so the name will be "[spectrum: <name>]" ).
Any spectrum is saved by its pure values, that is the frequency of the first
point, the frequency distance of any two points, the number of data points and
all data points. All numbers are separated by whitespace as defined by the
ANSI/ISO C++ standard.
There _must_ _not_ be blank lines in this section.

A simulation section is marked a such by having a name starting with 
"simulation:" ( so the name will be "[simulation: <name>]" ).
Each simulation section needs to have a first entry of the "key=value" form as
described above with the key beeing "format".
Depending on that, the following formats are recognized:

Arnirot
needs to be defined

IAR
A simulation section having this format does have the same general form as a
general section. It can have one entry for every member of the
struct iarParameter as defined in iar/iar.h.
Any parameter of the structure that is not listed in a given section gets a
numerical value of zero. If that doesnt make sense for that parameter, it must
be specified.
