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 : Nov 2 2017

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>

Miscellaneous