Quantizer
=========
The input in steps of interval, rounded or floored: what an ADC or an encoder reads.
``quantizer`` · control · element by element: vectors in, vectors out
.. raw:: html
Quantizerfn
interval0.1
moderound
Original
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``u``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``interval``
- number
- ``0.1``
- —
* - ``mode``
- enum
- ``"round"``
- ``round``, ``floor``