visual3d:documentation:pipeline:file_commands:import_analog_signals_from_amti_ascii_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:file_commands:import_analog_signals_from_amti_ascii_file [2024/06/19 14:00] – created sgranger | visual3d:documentation:pipeline:file_commands:import_analog_signals_from_amti_ascii_file [2024/08/28 19:26] (current) – Reorganized. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | For example a file containing | + | ====== Import Analog Signals From AMTI Ascii File ====== |
+ | |||
+ | This command will import analog signals in from an ASCII file written out by AMTI force plates, acting on all of the ACTIVE_FILES in the Visual3D Workspace. | ||
+ | |||
+ | < | ||
+ | Import_Analog_Signals_From_Amti_Ascii_File | ||
+ | ! / | ||
+ | /FREQUENCY= the analog frequency | ||
+ | ! /FOLDER= | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Interpreting the File Format ==== | ||
+ | |||
+ | AMTI's ASCII file format contains | ||
-0.7106 , 0.0000 , 0.0000 , 0.0000 ,-22.4939 , 11.1253 | -0.7106 , 0.0000 , 0.0000 , 0.0000 ,-22.4939 , 11.1253 | ||
Line 11: | Line 25: | ||
...... | ...... | ||
- | Visual3D assigns default signal names. | + | Visual3D assigns default signal names to these 6 signals: |
A001 , A002 , A003 , A004 , A005 , A006 | A001 , A002 , A003 , A004 , A005 , A006 | ||
- | \\ | + | If these names exist in the C3D file already, |
- | + | ||
- | + | ||
- | If these names exist in the c3d file already, Visual3D checks the command parameter / | + | |
- | + | ||
- | \\ | + | |
+ | ==== Important Notes ==== | ||
In order to automate the processing of many files, Visual3D assumes that the ascii file as the same name as the c3d file, but .c3d is replaced with _a.txt | In order to automate the processing of many files, Visual3D assumes that the ascii file as the same name as the c3d file, but .c3d is replaced with _a.txt | ||
- | For example: c3d file = c:/ | + | For example: |
- | + | >c3d file = c:/ | |
- | ascii file = c:/ | + | >ascii file = c:/ |
- | + | ||
- | \\ | + | |
- | + | ||
- | + | ||
- | The following command acts on all of the ACTIVE_FILES in the Visual3D Workspace. | + | |
- | + | ||
- | < | + | |
- | Import_Analog_Signals_From_Amti_Ascii_File | + | |
- | ! / | + | |
- | /FREQUENCY= the analog frequency | + | |
- | ! /FOLDER= | + | |
- | ; | + | |
- | </ | + | |
- | The command assumes that the user is specifying the analog (sampling) frequency because this information is not contained in the data file. | ||
- | The analog frequency must be an integer multiple of the Motion Capture sampling rate. This command does not resample the data. | + | The command assumes that the user is specifying the analog (sampling) frequency because this information is not contained in the data file. The analog frequency must be an integer multiple of the Motion Capture sampling rate. This command does not resample the data. |
- | \\ | + | If there are more samples of ANALOG |
- | If there are more samples of Analog | + | |
If there are two few frames, the signal is buffered with zeros at the end. | If there are two few frames, the signal is buffered with zeros at the end. | ||
- | \\ | ||
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/import_analog_signals_from_amti_ascii_file.1718805604.txt.gz · Last modified: 2024/06/19 14:00 by sgranger