In gamma-ray spectrometry also the probability for locating peaks defines the quality. The measurement threshold is defined using the uncertainty and the probability. By the measurement threshold peaks with diverse location probabilities are related. Peaks meeting the decision threshold are located with the probability of 20%.