A detector which records the peaks of a given signal, with weighting based on the repetition frequency of the peaks. Thus, the more frequent the occurrence of the peaks, the higher the reading. Used, for instance, in tests to determine electromagnetic compatibility.