Benutzer-Werkzeuge

Webseiten-Werkzeuge


analysistools:motiondataminer

Dies ist eine alte Version des Dokuments!


Motion Dataminer

The datamining tool determines and extracts specific defined parameters (single values) from timeseries data, e.g. maximum, minimum or mean values of specific time-intervals (phases) or at specific time-positions (events).

XML Configuration file

An xml-configuration file defines, which values, from which timeseries, from where in the time space, should be extracted. Such configuration files are save in the projects subfolder „Datamining“ and have the suffix „.dml“.

Creation of a new configuration file

New configuration files can be created by the action „Create datamining filter“ in the Tools menue. A button to execute this action is typically available in the main toolbar. It opens an dialog which asks you for a name used as an filename for the created configuration file and an example trial.

The action automatically creates the „expectedTrialContent“ based on the example trials content. In most cases this includes more than you want, so you have to delete the not needed parts.

Content of an configuration file

Have a look at the following example:

<datamining>
    <expectedTrialContent>
        <general defaultFileSuffix="ux"></general>
        <phaseTypes names="RCycle LCycle RCycleBW RCycleFW LCycleBW LCycleFW"></phaseTypes>
        <eventTypes names="RTO LG LTO RG RHS LHS GHS GTO"></eventTypes>
        <timeseries>
            <timeSerie components="1" name="LGlenohumeralEleDepDirCosAngle"></timeSerie>
            <timeSerie components="1" name="RShoulderAnteRetroHDCalDirCosAngle"></timeSerie>
            <timeSerie components="1" name="LShoulderIroAroAngleGlobe"></timeSerie>
            <timeSerie components="1" name="LShoulderIroAroHDCalAngle"></timeSerie>
            ...
        </timeseries>
        <properties></properties>
    </expectedTrialContent>
    <parameters>
        <parameter component="0" id="RGlenohumeralEleDepHDCalDirCosMax" name="RGlenohumeralEleDepHDCalDirCosAngle" type="max"></parameter>
        <parameter component="0" id="RShoulderEleDepHDCalDirCosMax" name="RShoulderEleDepHDCalDirCosAngle" type="max"></parameter>
        <parameter component="0" id="RShoulderAbdAddHdCalDirCosMin" name="RShoulderAbdAddHDCalDirCosAngle" type="min"></parameter>
        <parameter component="0" id="RShoulderEleDepHDCalDirCosMin" name="RShoulderEleDepHDCalDirCosAngle" type="min"></parameter>
        ...
    </parameters>
    <scopes>
        <scope id="0" name="RCycle" type="phase">
            <variable id="RGlenohumeralEleDepHDCalDirCosMax" name="RGlenohumeralEleDepHDCalDirCosMax"></variable>
            <variable id="RTrunkObliquityHDCalMax" name="RTrunkObliquityHDCalMax"></variable>
            <variable id="RShoulderAbdAddHDCalProjMin" name="RShoulderAbdAddHDCalProjMin"></variable>
            <variable id="RShoulderAbdAddHdCalDirCosMin" name="RShoulderAbdAddHdCalDirCosMin"></variable>
            ...
        </scope>
        ...
    </scopes>
    <groups>
        <group fileSuffix="c3d" id="ShoulderAbdAdd" selected="true"></group>
        <group fileSuffix="c3d" id="ShoulderAnteRetro" selected="false"></group>
        <group fileSuffix="c3d" id="AroIro-0" selected="false"></group>
        <group fileSuffix="c3d" id="Schuerzengriff" selected="false"></group>
        <group fileSuffix="c3d" id="Kaemmen" selected="false"></group>
        ...
    </groups>
</datamining>

Parameter definition

After the <expectedTrialContent>-element you can find a list of so called parameters. Each parameter has an id, which is referenced in the scopes. The name-attribute specifies the name of a timeserie, as it is saved in the trials. The component attribute specifies the component. If the timeserie is a timeserie of only doubles the component is zero, in other cases it counts the component, starting by zero.

The most interesting is the „type“ attribute. Have a look at the following table to see, which types are currently available. Additionally types can be implemented easy, if needed.

Type name description available for
max maximum in the case of application to a „phase“, „value at“ in the case of an event phases or events
min minimum phases
mean mean phases
minframe frame position, where the minimum is reached phases
maxframe frame position, where the maximum is reached in the case of application to a „phase“, „frame at“ in the case of an event phases or events

Scope definition

The scope defines event-types or phase-types, for which the parameters are determined. Have a look at the following table to learn about its attributes.

Attribute name description
name phases or events

Visual view for the configuration

There is also a visual view available, to edit the configuration:

Dataminng based on such a configuration can be applied automatically on lists of datasets or on a selected dataset only.

Visual view of the resulting data

If the data to be analysed is defined by selection the GUI shows the extracted data directly:

Export of CSV-files

In the case of application on a list of datasets the extracted data is written into files which can be opend with spreadsheet calculation software like Excel.

analysistools/motiondataminer.1488307386.txt.gz · Zuletzt geändert: 2017/02/28 19:43 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki