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/19 13:59] – created 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 all TARGET signals or all ANALOG signals by an integer multiple.+===== Downsample Data =====
  
-**Note: As of February 2017, this is still a hidden and unsupported command**+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 modifying the ANALOG rate, not that the resulting ANALOG rate must be an integer multiple of the TARGET rate.+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 ======+==== Pipeline Command ====
  
-**Downsample_Data**+<code> 
 +Downsample_Data
 /OLD_FILE_NAME= /OLD_FILE_NAME=
 /SIGNAL_TYPES= /SIGNAL_TYPES=
 /NEW_POINT_RATE= /NEW_POINT_RATE=
 /NEW_ANALOG_RATE= /NEW_ANALOG_RATE=
-**;** +
-====== Example: Downsample TARGET ======+</code>
  
-Given a c3d file with a POINT rate of 50 and an ANALOG rate of 200+==== Example: Downsample TARGET ====
  
-Downsample the POINT signals to 25+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.
  
-**Downsample_Data**+<code> 
 +Downsample_Data
 /OLD_FILE_NAME=*test.c3d /OLD_FILE_NAME=*test.c3d
 /SIGNAL_TYPES=TARGET /SIGNAL_TYPES=TARGET
 /NEW_POINT_RATE=25 /NEW_POINT_RATE=25
 /NEW_ANALOG_RATE= /NEW_ANALOG_RATE=
-**;** +
-====== Example: Downsample ANALOG ======+</code>
  
-Given a c3d file with a POINT rate of 50 and an ANALOG rate of 200+==== Example: Downsample ANALOG ====
  
-Downsample the ANALOG signals to 100+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.
  
-**Downsample_Data**+<code> 
 +Downsample_Data
 /OLD_FILE_NAME=*test.c3d /OLD_FILE_NAME=*test.c3d
 /SIGNAL_TYPES=ANALOG /SIGNAL_TYPES=ANALOG
 /NEW_POINT_RATE= /NEW_POINT_RATE=
 /NEW_ANALOG_RATE=100 /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.1718805579.txt.gz · Last modified: 2024/06/19 13:59 by sgranger