PeakMax / Computation Layer

Identify local maximum peaks in a numeric sequence, returning a boolean column. Similar to scipy.signal.find_peaks() or R's pracma::findpeaks(). A local maximum occurs when a value is greater than both its immediate neighbors.

Mathematical condition:

Common applications:

  • Signal processing (peak detection)
  • Time series analysis (cycle peaks)
  • Scientific data analysis (spectrum peaks)
  • Market analysis (price peaks)
  • Sensor data processing (maximum readings)
  • Pattern recognition (feature detection)
  • Anomaly detection (local maxima)

Note: First and last rows always return false as they lack complete neighbors.

Table
0
0
Table

Transforms

[, ...]

Select

column

The numeric column to find local maxima in. Typical inputs:

  • Time series data (prices, measurements)
  • Signal data (wavelengths, amplitudes)
  • Sequential measurements (sensor readings)
  • Ordered observations (experimental data)

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.