Difference between revisions of "Component: Standard Deviation (Calculation)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 37: | Line 41: | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:13, 20 January 2023
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Calculation |
Contents
Standard Deviation component
A set of functions used to calculate the mean and standard deviation on a set of data samples.
Component Source Code
Please click here for the component source code: FC_Comp_Source_StandardDeviation.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
| InitialiseFIFO | |
| initialises the first in first out buffer values to 0 | |
| Return | |
| AddSample | |
| Adds a sample to the first in first out sample buffer. | |
| Sample | |
| Value to add into the FIFO buffer | |
| Return | |
| GetMean | |
| Gets the mean of the values in the first in first out buffer | |
| Return | |
| GetDeviation | |
| Gets the standard deviation of the values in the first in first out buffer | |
| Return | |
| SetSampleCount | |
| Sets the number of samples when using the variable sample count type. | |
| SampleCount | |
| Return | |