The circuit of Figure 1 includes a PIN photodiode that detects individual photons of gamma radiation. When a photon strikes a depletion region created by reverse bias on the photodiode, it produces a small amount of charge in proportion to the photon's energy. The resulting signal is then amplified and filtered by four amplifiers and a final compa