Handling spectra from semiconductor detectors in a semiautomatic system containing storage devices and an electronic computer