The method compares each data point with nearby values to determine whether it forms a local maximum. It then applies selection criteria such as height, threshold, prominence, width, or minimum spacing. Using several criteria together helps separate prominent signal features from smaller background fluctuations, improving the consistency of event or feature identification in biological measurements.
These criteria describe different properties of a candidate peak. Height or threshold limits how large a signal must be, prominence emphasizes how clearly it rises above surrounding values, width characterizes its extent, and minimum spacing prevents closely adjacent detections from being treated as separate events. Selecting appropriate criteria determines which features remain in the analysis.
Prominence helps evaluate whether a maximum stands out from the surrounding signal rather than merely exceeding an immediate neighboring point. This distinction is useful when biological data contain background fluctuations, because a sharp but poorly distinguished variation may be less meaningful than a feature that rises clearly above its local surroundings. The resulting detections better support pattern recognition and comparison.
The same comparison-based approach can be applied to measurements organized by time or by signal intensity. In fluorescence traces and electrophysiological recordings, detected positions can support event timing, whereas chromatograms and mass spectra can use peak locations and characteristics for feature or compound comparisons. Criteria such as width and spacing help reflect differences in signal shape and distribution.
A practical workflow begins with the measured signal, identifies candidate local maxima by comparing neighboring data points, and applies criteria for height, threshold, prominence, width, or minimum spacing. The retained peaks can then be examined for timing, signal characteristics, or pattern relationships. This sequence provides a consistent way to convert complex measurements into analyzable features.
Applications include chromatograms, mass spectra, fluorescence traces, and electrophysiological recordings, along with other time- or intensity-dependent measurements. In each case, the method can highlight prominent features that might otherwise be difficult to compare across a complex dataset. The relevant interpretation depends on the measurement, such as compound characterization in spectra or event timing in recordings.
Detected peaks can provide locations and signal characteristics that support quantitative comparisons, event timing, compound characterization, and pattern recognition. For example, fluorescence or electrophysiological data may be examined for when events occur, while chromatograms and mass spectra may be assessed for features associated with compounds. Reliable selection makes these downstream comparisons more consistent.