Maxima

A module that marks the maxima in its input. It also produces a list of the maxima in a separate output called POINTS.

Example XML definition

Example

  <module
      class = "Maxima"
      name = "Maxima"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Maxima".string
nameThe name of this instance of the module.string
max_pointsMax number of pointsint10
thresholdDiscard points below this valuefloat0
sort_pointsSort points in list according to magnitude of the maximaboolno

Module Connections

Inputs

NameDescription
INPUTThe input

Outputs

NameDescription
OUTPUTOutput with 1:a at the local maxima
POINTSList of maxima. Each line contains x, y, m, where m is the value at the corerspodning maximum
POINT_COUNTNumber of maxima in the points list.

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Maxima.h
Maxima.cc
Maxima.ikc

blog comments powered by Disqus