Read/Write (invoked from 1d context menu)

Using this function one can read in a spectrum into the current window (not useful while acquisition is on), or save a spectrum to disk.

Reading is useful during offline analysis to go through many spectra without having to define a large setup.

Writing is especially useful to save a projected spectrum. In fact there is no other way to save a spectrum after it has been projected from a box gate or banana gate.

Some Terminology:
We consistently use the word "projection" (also X-projection and Y-projection) to denote the reduction of a 2d spectrum to a 1d spectrum. Some people use the same word "projection" to describe the process of obtaining a 1d or 2d spectrum (with or without gates) from the list file. To avoid confusion we never use "projection" with this meaning, instead we describe this as "building" spectra from list files.