Aggregate
=========
One number from its list: the sum, mean, min or max. Of points, one per coordinate (the mean is the centroid, min and max the corners of the bounding box).
``aggregate`` · list
.. raw:: html
Aggregatefn
formnumbers
opsum
Original
.. container:: pb-prose
The sum of an empty list is 0; its mean, min and max fail the run.
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``list``
- numbers
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``form``
- enum
- ``"numbers"``
- ``numbers``, ``points``
* - ``op``
- enum
- ``"sum"``
- ``sum``, ``mean``, ``min``, ``max``