Component: Median (DSP)

From Flowcode Help
Revision as of 09:11, 12 October 2020 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix Ltd
Version 1.2 (Release)
Category DSP


Image Median component

Collects the median value removing any potential high frequency spikes in the data.

Examples

No additional examples


Downloadable macro reference

MedianArray

Passes an entire buffer through the median buffer and spits out a filtered version of the data at the other end

Parameters

This macro has no parameters


Return value

This call does not return a value


Median

Passes a single value from a DSP buffer into the median buffer and spits out a median value at the other end

Parameters

This macro has no parameters


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

Connect To

This property is of type Panel object and can be referenced with the variable name ConnectTo.

DSP component with output buffer to collect our data from.

Buffer Size

This property is of type Unsigned integer and can be referenced with the variable name BuffSize.

Number of individual elements the buffer can store, default 1.

Buffer Type

This property is of type Fixed list of ints and can be referenced with the variable name BuffType.

Sets the buffer data type.

Median Buffer Size

This property is of type Signed integer and can be referenced with the variable name MedBuffSize.

The number of values to buffer to create the median effect. Default 5.

The higher the number the more immune to spikes the data will be.

A larger buffer requires more processing to order.

Minimum 3, maximum 255.