General statistics generator

Summary

Doc_BoxAlgorithm_GeneralStatisticsGenerator.png
  • Plugin name : General statistics generator
  • Version : 0.1
  • Author : Serrière Guillaume
  • Company : Inria
  • Short description : Generate statistics on signal.
  • Documentation template generation date : Oct 2 2015
  • WARNING : this box has been marked as UNSTABLE by the developer. It means that its implementation may be incomplete or that the box can only work under well known conditions. It may possibly crash or cause data loss. Use this box at your own risk, you've been warned.

Description

Generate some general purpose statistics on signal and store them in a file.

The box analyses a the two input stream (stimulations and signal).

The box will provide for each channel of the signal the min, the max value and the mean. The box will provide a list of stimulations and provide for them the amount of time they appeared.

Inputs

1. Signal

The signal stream to analyse.

  • Type identifier : Signal (0x5ba36127, 0x195feae1)

2. Stimulations

The stimulation stream to analyse.

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)

Settings

1. Filename for saving

Path to the file where the results will be wrote.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_UserData}/statistics-dump.xml ]

Examples

The resulting file should look like this :

<Statistic>
        <Stimulations-list>
                <Stimulation>
                        <Identifier>(0x00000000, 0x00008100)</Identifier>
                        <Label>OVTK_StimulationId_Label_00</Label>
                        <Count>500</Count>
                </Stimulation>
        </Stimulations-list>
        <Channel-list>
                <Channel>
                        <Name>sinusOsc 1</Name>
                        <Maximum>2.99595</Maximum>
                        <Minimum>-2.99582</Minimum>
                        <Mean>0.00374409</Mean>
                </Channel>
                <Channel>
                        <Name>sinusOsc 2</Name>
                        <Maximum>2.99555</Maximum>
                        <Minimum>-2.99594</Minimum>
                        <Mean>0.00215169</Mean>
                </Channel>
                <Channel>
                        <Name>sinusOsc 3</Name>
                        <Maximum>2.99594</Maximum>
                        <Minimum>-2.99592</Minimum>
                        <Mean>0.000474523</Mean>
                </Channel>
                <Channel>
                        <Name>sinusOsc 4</Name>
                        <Maximum>2.99591</Maximum>
                        <Minimum>-2.99594</Minimum>
                        <Mean>0.00127219</Mean>
                </Channel>
        </Channel-list>
</Statistic>
@section Doc_BoxAlgorithm_GeneralStatisticsGenerator_Miscellaneous Miscellaneous