glue:processconfiguration
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
glue:processconfiguration [2020/03/03 10:01] – [Labelsets] oliver | glue:processconfiguration [2021/07/02 16:21] – [Output:] oliver | ||
---|---|---|---|
Zeile 81: | Zeile 81: | ||
To define which trials are assigned to a group the element < | To define which trials are assigned to a group the element < | ||
- | **Identification of trials:** | + | ====Identification of trials:==== |
The < | The < | ||
Zeile 88: | Zeile 88: | ||
<code xml> | <code xml> | ||
< | < | ||
- | <entry key=" | + | <entry key=" |
- | | + | |
</ | </ | ||
</ | </ | ||
Zeile 96: | Zeile 96: | ||
A trial is assigned to the group of trials, if the conditions defined by all < | A trial is assigned to the group of trials, if the conditions defined by all < | ||
- | Process Configurations: | + | ====Process Configurations: |
The < | The < | ||
Zeile 106: | Zeile 106: | ||
</ | </ | ||
- | **Input:** | + | With the key=" |
- | **Output:** | + | |
+ | <code xml> | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ^ Name ^ Values ^ Description | | ||
+ | ^ EVENTS | true or false | If set to false, no events are read. | | ||
+ | ^ POINTS | true of false | If set to false, no position data is read. | | ||
+ | ^ FORCES | true of false | If set to false, not force plat data is read. | | ||
+ | ^ inputpath | path to the data set e.g. inside a r3d-file | If set to a path, than this is used to find the input dataset. if the attribute is not used per default the dataCollections are searched in the " | ||
+ | ^ outputpath | path to the data set e.g. inside a d3d-file | If set to a path, than this path is created to store the dataset. (This functionality is not yet implemented completely in the MotionDataStorageHandler class.) | | ||
+ | |||
+ | |||
+ | ====Input:==== | ||
+ | |||
+ | Attributes of the **< | ||
+ | ^ Attribute ^ Default ^ Description ^ Required | | ||
+ | ^ labelset | Labelset as defined with the attribute " | ||
+ | |||
+ | ====Output:==== | ||
Attributes of the **< | Attributes of the **< | ||
^ Attribute ^ Default ^ Description ^ Required | | ^ Attribute ^ Default ^ Description ^ Required | | ||
- | ^ labelset | The labelset which defines which parts of the data should be written to the output and also meta data e.g. the mime type and the file suffix. | Yes | | + | ^ labelset |
- | ^ mimetype | (deprectated) | Mimetype to define the output file format. This is set normally inside the labelset file. | No | | + | ^ mimetype | (deprecated) | Mimetype to define the output file format. This is set normally inside the labelset file. | No | |
- | ^ filesuffix | | suffix of the outputfile normally this is defined inside the labelset (deprecated) | No | | + | ^ filesuffix | | suffix of the outputfile normally this is defined inside the labelset (deprecated) | No | |
^ dir | | dir of the input session of trials Absolute path of the directory, where the outfile should be written. | No | | ^ dir | | dir of the input session of trials Absolute path of the directory, where the outfile should be written. | No | | ||
^ name | | Can be used to define the name of the output file. (currently not used) | No | | ^ name | | Can be used to define the name of the output file. (currently not used) | No | | ||
Zeile 123: | Zeile 142: | ||
The **< | The **< | ||
+ | |||
+ | ===MotionDataOutputHandler=== | ||
+ | To write output to a file a so called " | ||
+ | |||
+ | The following properties are read < | ||
+ | |||
+ | ^ Attribute ^ Default ^ Description | | ||
+ | ^ fileName | <session id>.d3d | Output file name inclusive suffix, e.g. " | ||
+ | ^ overwrite | false | If set to " | ||
+ | ^ outputDir | The session folder currently processed. | Absolute path to the folder, where to save the output. | | ||
+ | ^ trialsGroupName | " | ||
+ | ^ renameExistingTimeSeries | false | If set to true, existing data timeseries are renamed instead overwritten with the current ones. | | ||
+ | ^ seperateGroupFiles | false | If set to true for every calcgroup a seperate output file is written. | | ||
+ | |||
+ | If no properties at all are defined a warning is written. | ||
+ | |||
+ | ===TXTTableOutputHandler=== | ||
+ | |||
+ | ^ Attribute ^ Default ^ Description | | ||
+ | ^ header | | | | ||
+ | ^ filename | | | | ||
=====Process Config XML: Model Switches===== | =====Process Config XML: Model Switches===== | ||
- | With a switch, the calculation of a modelling element can be switched of or on. One ore more switches can be defined. In the model elements with the attribute " | + | With a switch, the calculation of a modelling element can be switched of or on. One ore more switches can be defined. In the model elements, with the attribute " |
- | A switch is created only if all keys are available in the trial and the values of all keys are as defined | + | A on-switch is created only, if all defined |
<code xml> | <code xml> | ||
Zeile 136: | Zeile 176: | ||
</ | </ | ||
- | In the above example the switch " | + | In the above example the switch " |
+ | |||
+ | The content of the < | ||
=====Process Config XML: Model Parameters===== | =====Process Config XML: Model Parameters===== | ||
=====Process Config XML: Normal Data Definition===== | =====Process Config XML: Normal Data Definition===== | ||
- | =====Example XML Process | + | =====Process |
<code xml> | <code xml> | ||
Zeile 251: | Zeile 294: | ||
LabelSets are defined in the folder " | LabelSets are defined in the folder " | ||
+ | ====General structure==== | ||
The structure of a labelset file looks like follow: | The structure of a labelset file looks like follow: | ||
Zeile 266: | Zeile 310: | ||
<Label name=" | <Label name=" | ||
... | ... | ||
+ | </ | ||
+ | | ||
+ | <!-- Mapping of label names after reading or before writing to a file --> | ||
+ | < | ||
+ | <Label from=" | ||
+ | </ | ||
... | ... | ||
... | ... | ||
</ | </ | ||
- | If the labelset | + | ====File formats==== |
+ | A labelset | ||
<code xml> | <code xml> | ||
Zeile 279: | Zeile 330: | ||
</ | </ | ||
- | The following | + | The following |
- | ^ mime type name ^ Description | + | ^ Mime Type ^ Description |
^ application/ | ^ application/ | ||
+ | ^ text/ | ||
+ | ^ text/x-json | json | | ||
+ | ^ text/ | ||
+ | ====Timeseries properties==== | ||
Properties of the timeseries can defined by attributes of the < | Properties of the timeseries can defined by attributes of the < | ||
Zeile 292: | Zeile 346: | ||
^ differentiations | The number of differentations to be calculated. For each differentiation a prefix " | ^ differentiations | The number of differentations to be calculated. For each differentiation a prefix " | ||
+ | The following math types are available: | ||
+ | |||
+ | ^ Math type name ^ Description | ||
+ | ^ REAL | double timeserie | | ||
+ | ^ COLUMN_VECTOR_3D | timeserie of Vector3d objects | | ||
+ | ^ MATRIX_3X3D | timeserie of Matrix3d objects | | ||
+ | ^ QUATERNION_D | timeserie of quaternion objects | | ||
+ | ^ STRING | | | ||
+ | ^ CELL_STRING | | | ||
+ | ^ COMPLEX | | | ||
+ | ^ INTEGER | | | ||
+ | ^ UNKNOWN | | | ||
+ | ^ TYPELESS | | | ||
+ | ====Filtering==== | ||
+ | The labelset can be used to define a filter chain. Currently this filter chain is used only during loading of trial in the MultiTrialFileWrapper (module EasyCalc) and MultiTrialFileProvider (module MultiTrialFile API). | ||
+ | |||
+ | - First of all, the filters defind as children-elements of the data labels are executed in its definition sequence. | ||
+ | - Second the filters, which are defind as children of a < | ||
+ | - and last the filters, which are defined as children of the < | ||
+ | |||
+ | Independend from the filter chain, calculation of differentiation defined by the " | ||
+ | |||
+ | ====Mapping timeseries names==== | ||
+ | If timeseries are read from files to be processed or written to files after processing, their names can be mapped to an other name based on the labelset configuration. | ||
+ | |||
+ | If the corresponding label in the labelset defines derivatives, |
glue/processconfiguration.txt · Zuletzt geändert: 2021/07/05 15:34 von oliver