Component: Standard Deviation (Calculation): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 75: | Line 75: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''AddSample''' | ||
|- | |- | ||
| colspan="2" | Adds a sample to the first in first out sample buffer. | | colspan="2" | Adds a sample to the first in first out sample buffer. | ||
| Line 94: | Line 94: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetDeviation''' | ||
|- | |- | ||
| colspan="2" | Gets the standard deviation of the values in the first in first out buffer | | colspan="2" | Gets the standard deviation of the values in the first in first out buffer | ||
| Line 108: | Line 108: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetMean''' | ||
|- | |- | ||
| colspan="2" | Gets the mean of the values in the first in first out buffer | | colspan="2" | Gets the mean of the values in the first in first out buffer | ||
| Line 122: | Line 122: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''InitialiseFIFO''' | ||
|- | |- | ||
| colspan="2" | initialises the first in first out buffer values to 0 | | colspan="2" | initialises the first in first out buffer values to 0 | ||
| Line 136: | Line 136: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetSampleCount''' | ||
|- | |- | ||
| colspan="2" | Sets the number of samples when using the variable sample count type. | | colspan="2" | Sets the number of samples when using the variable sample count type. | ||
| Line 155: | Line 155: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 13 July 2026
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Calculation |
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 to download the component source project: FC_Comp_Source_StandardDeviation.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_StandardDeviation.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AddSample
| AddSample | |
| Adds a sample to the first in first out sample buffer. | |
| Sample | |
| Value to add into the FIFO buffer | |
| Return | |
GetDeviation
| GetDeviation | |
| Gets the standard deviation of the values in the first in first out buffer | |
| Return | |
GetMean
| GetMean | |
| Gets the mean of the values in the first in first out buffer | |
| Return | |
InitialiseFIFO
| InitialiseFIFO | |
| initialises the first in first out buffer values to 0 | |
| Return | |
SetSampleCount
| SetSampleCount | |
| Sets the number of samples when using the variable sample count type. | |
| SampleCount | |
| Return | |