Benutzer-Werkzeuge

Webseiten-Werkzeuge


glue:processconfiguration

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
glue:processconfiguration [2020/04/10 11:24] – [Identification of trials:] oliverglue:processconfiguration [2021/07/05 15:34] (aktuell) – [Process Config XML: Groups of trials] oliver
Zeile 71: Zeile 71:
  
 ^ name ^ Default ^ Description  | ^ name ^ Default ^ Description  |
-^ name | Name of this group |   +^ name | Name of this group. Do not used any "_" inside a calcgroup name because files with include this character are not shown in the "Data"-Tab. |   
 ^ sheet | | A Sheet definition which is used to plot sheets of time series of data assigned to this group. | ^ sheet | | A Sheet definition which is used to plot sheets of time series of data assigned to this group. |
 ^ view | | A View 4d defintion which is used to visualize time series of data assigned to this group. |  ^ view | | A View 4d defintion which is used to visualize time series of data assigned to this group. | 
Zeile 116: Zeile 116:
 ^ POINTS | true of false | If set to false, no position data is 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. | ^ 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 ta path, than this is used to find the input dataset. |+^ inputpath | path to the data set e.g. inside a r3d-file | If set to path, than this is used to find the input dataset. if the attribute is not used per default the dataCollections are searched in the "rawdata" group.| 
 +^ 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.) |
  
  
Zeile 130: Zeile 131:
 ^ 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 | | 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 |
-^ 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 141: Zeile 142:
 The **<output>**-element can have children  <code xml><entry key="A">a</entry></code>to control specific properties of the **output handler**. The **<output>**-element can have children  <code xml><entry key="A">a</entry></code>to control specific properties of the **output handler**.
  
 +
 +===MotionDataOutputHandler===
 +To write output to a file a so called "handlerclass" has to be defined. Such a class implements a so called OutputHandler. The default and most complex OutputHandler is "de.orat.motionDataConverter.MotionDataOutputHandler". It saves so called d3d-files.
 +
 +The following properties are read as <entry>-elements as children of the surrunding <output>-element:
 +
 +^ Attribute ^ Default ^ Description |
 +^ fileName | <session id>.d3d | Output file name inclusive suffix, e.g. "abc.aaa". If the attribute is used the default value is overwritten |
 +^ overwrite | false | If set to "true" for the first calcgroup configuration only has the effect for before saving the data of the first group an existing d3d-file is deletete before. It makes no sense to use this attribute in combination with seperateGroupFiles="true". |
 +^ outputDir | The session folder currently processed. | Absolute path to the folder, where to save the output. |
 +^ trialsGroupName | "singleTrials" | Name of the child group inside the output file, where to save the trials. |
 +^ 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. The name of the corresponding output files has the format <session id>#<calcgroup name>.d3d. |
 +
 +If this outputhandler is used for more than one calcgroup, the data of all calcgroups are saved per default into a single d3d-file. For each calcgroup a child group with the name of the calcgroup is created. Inside each of these children a child group with default name "singleTrials" is created and inside this group the data of the single trials are saved. 
 +
 +===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 "includes" or "calibrateIncludes" a list of switches can be set. If one or more of these switches are available, the calculation is done. This allows e.g. calculation only for specific trial types. 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 "includes" or "calibrateIncludes" a list of switches can be set. If one or more of these switches are available, the calculation is done. This allows e.g. calculation only for specific trial types.
Zeile 288: Zeile 310:
           <Label name="ThoraxP" mathType="COLUMN_VECTOR_3D"/>           <Label name="ThoraxP" mathType="COLUMN_VECTOR_3D"/>
           ...           ...
 +  </Labels>
 +  
 +  <!-- Mapping of label names after reading or before writing to a file -->
 +  <LabelsMap>
 +          <Label from="TargetAngleRPS0" to="Angle0"/>
 +  </LabelsMap>
   ...   ...
 ... ...
 </code> </code>
  
-====Output formats==== +====File formats==== 
-If the labelset is used to write files the file format can be defined by a mime type.+labelset can be used to define the input or output file format. To do this to the element <Labels> the attributes "mimeType" to define the file format and "fileSuffix" to define the file suffix have to be added
  
 <code xml> <code xml>
Zeile 302: Zeile 330:
 </code> </code>
  
-The following fileformat are available:+The following file formats are available:
  
-mime type name ^ Description  ^+Mime Type ^ Description  ^
 ^ application/motiondata+mat | A matlab fileformat. | ^ application/motiondata+mat | A matlab fileformat. |
 +^ text/motiondata | default motiondata file format. Used with several suffixes: .d3d, .r3d, .rtde, .v3d ... | 
 +^ text/x-json | json | 
 +^ text/x-csv  | |
 ====Timeseries properties==== ====Timeseries properties====
 Properties of the timeseries can defined by attributes of the <Label>-elements: Properties of the timeseries can defined by attributes of the <Label>-elements:
Zeile 337: Zeile 367:
  
 Independend from the filter chain, calculation of differentiation defined by the "differentiations"-attribut is execute always, if data is saved or loaded. Independend from the filter chain, calculation of differentiation defined by the "differentiations"-attribut is execute always, if data is saved or loaded.
 +
 +====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, than the derivatives which start with "d" or "dd" for second order are automatically mapped to without an explicit mapping for the derivative. This feature is implemented yet for reading from files with d3d-file-format only. 
glue/processconfiguration.1586510697.txt.gz · Zuletzt geändert: 2020/04/10 11:24 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki