Component: Median Float (Storage)
From Flowcode Help
Jump to navigationJump to search
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Storage |
Contents
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
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.