Measuring radiation intensity with semiconductor detectors {specially adapted for use in SPECT or PET }