Component: Standard Deviation (Calculation)
From Flowcode Help
Jump to navigationJump to search| 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 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
InitialiseFIFO
| InitialiseFIFO | |
| initialises the first in first out buffer values to 0 | |
| Return | |
AddSample
| AddSample | |
| Adds a sample to the first in first out sample buffer. | |
| Sample | |
| Value to add into the FIFO buffer | |
| Return | |
GetMean
| GetMean | |
| Gets the mean of the values in the first in first out buffer | |
| Return | |
GetDeviation
| GetDeviation | |
| Gets the standard deviation of the values in the first in first out buffer | |
| Return | |
SetSampleCount
| SetSampleCount | |
| Sets the number of samples when using the variable sample count type. | |
| SampleCount | |
| Return | |