Component: Median Float (Storage)

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 TSL
Version 1.0 (Release)
Category Storage


Image Median Float component

Component to calulate the median from a set of sample data. Provides the signal whilst removing any spikes caused by noise or other intermittent data.

Examples

No additional examples


Downloadable macro reference

AddSample

Adds a sample to the running buffer

Parameters

FLOAT Sample


Return value

This call does not return a value


ReadMedian

No additional information


Parameters

This macro has no parameters


Return value

FLOAT


Initialise

No additional information


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

Number of Samples

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

Number of samples to store and sort, ideally no less than 5.