Scripting API
structureFieldnameFormat
Module | BTKDocumentation |
Description#
Field"s name format in extracted structures.
Parameters#
Returned Values#
Detailed Description#
Matlab has a restricted the list of characters usable for a field"s name in a structure. These characters are the capital letters between A and Z, the minuscule letters between a and z, the number 0 to 9 and the symbol underscore "_". Every letters with an accent will be replaced by the same letter without the accents. Other ASCII characters used in the label (e.g -,*,%,...) will be replaced by the character "_".acq
. Then using the code btkGetMarkers(acq)
will return the structure markers
where one of its field will have the name uname_1. The characters "*" will be converted by "_".- "1FE" renamed in C_1FE ;
- "Fémur" renamed in "Femur" ;
- If 3 markers has the label "RTOE", then in Matlab you will find "RTOE", "RTOE_1", "RTOE_2".
You can access to the original (true) label of the points and the analog channels by using the content of the field label
proposed in the last output of the function , btkGetPoint, btkGetAnalogs, and btkGetAnalog.