Component: Standard Deviation (Calculation): Difference between revisions
Appearance
No edit summary |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 72: | Line 72: | ||
===AddSample=== | ===AddSample=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 91: | Line 91: | ||
===GetDeviation=== | ===GetDeviation=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 105: | Line 105: | ||
===GetMean=== | ===GetMean=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 119: | Line 119: | ||
===InitialiseFIFO=== | ===InitialiseFIFO=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 133: | Line 133: | ||
===SetSampleCount=== | ===SetSampleCount=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 153: | Line 153: | ||
==Property reference== | ==Property reference== | ||
{| class="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 | |