User Tools

Site Tools


visual3d:documentation:pipeline:file_commands:downsample_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:file_commands:downsample_data [2024/06/26 20:05] – removed sgrangervisual3d:documentation:pipeline:file_commands:downsample_data [2024/11/20 20:28] (current) – Cleaned up and working towards Pipeline Command template. Added internal links. wikisysop
Line 1: Line 1:
 +===== Downsample Data =====
 +
 +This command downsamples all [[visual3d:documentation:c3d_signal_types:target_data_type|TARGET]] signals or all [[visual3d:documentation:c3d_signal_types:analog_data_type|ANALOG]] signals in a [[visual3d:documentation:c3d_signal_types:c3d_format|C3D file]] by an integer multiple. **Note: This is a hidden and unsupported command**
 +
 +If you are modifying the ANALOG rate then it will be necessary to ensure that the resulting ANALOG rate is an integer multiple of the TARGET rate.
 +
 +==== Pipeline Command ====
 +
 +<code>
 +Downsample_Data
 +/OLD_FILE_NAME=
 +/SIGNAL_TYPES=
 +/NEW_POINT_RATE=
 +/NEW_ANALOG_RATE=
 +;
 +</code>
 +
 +==== Example: Downsample TARGET ====
 +
 +Given a C3D file with a POINT rate of 50 Hz and an ANALOG rate of 200 Hz , downsample the POINT signals to 25 Hz.
 +
 +<code>
 +Downsample_Data
 +/OLD_FILE_NAME=*test.c3d
 +/SIGNAL_TYPES=TARGET
 +/NEW_POINT_RATE=25
 +/NEW_ANALOG_RATE=
 +;
 +</code>
 +
 +==== Example: Downsample ANALOG ====
 +
 +Given a C3D file with a POINT rate of 50 Hz and an ANALOG rate of 200 Hz, downsample the ANALOG signals to 100 Hz.
 +
 +<code>
 +Downsample_Data
 +/OLD_FILE_NAME=*test.c3d
 +/SIGNAL_TYPES=ANALOG
 +/NEW_POINT_RATE=
 +/NEW_ANALOG_RATE=100
 +;
 +</code>
 +
 +==== See Also ====
 +
 +The pipeline command [[visual3d:documentation:pipeline:file_commands:upsample_point_data_to_analog_rate|Upsample_Point_Data_to_Analog_Rate]] upsamples the point data of a C3D file to match the analog rate using a cubic spline.
 +
  
visual3d/documentation/pipeline/file_commands/downsample_data.1719432314.txt.gz · Last modified: 2024/06/26 20:05 by sgranger