Table of Contents

Rectify

Overview

Rectifying a signal is a simple process that involves taking the absolute value of a bipolar signal to output a unipolar version. The Rectify command can be used to compute the absolute value of every element of a signal for use cases that require entirely positive signals.

Visual3D calculates signal rectification using the following formula:

x(ti)= abs(x(ti))

A visual example of what a rectified signal might look like:

Pipeline Command

The Rectify command can be found in the Pipeline Workshop within the Signal Math folder as so:

Rectify
! /SIGNAL_TYPES=
! /SIGNAL_FOLDER=ORIGINAL
! /SIGNAL_NAMES=
! /RESULT_TYPES=
! /RESULT_FOLDERS=PROCESSED
! /RESULT_NAME=
! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=
;

Command Parameters

The parameters that can be used to control the command are as follows:

Signal TypesThe type of signal to be rectified
Signal FolderThe name of the signal to be rectified
Signal NamesThe name of the signal folder
Result TypesThe type of the resulting signal
Result FoldersThe name of the resulting folder
Result NameThe name of the resulting signal
Apply As Suffix To Signal NameAdd a suffix to the signal name

Command Dialog

The command can be edited via text editor or via a dialog. The details on the command and the dialog are found below:

Example: Rectifying Hip Moment Signal

This example shows how the Rectify command can be used on a hip moment signal to show only the absolute value of each component:

Rectify
/SIGNAL_TYPES=LINK_MODEL_BASED
! /SIGNAL_FOLDER=ORIGINAL
 /SIGNAL_NAMES=LHipMoment
 /RESULT_TYPES=LINK_MODEL_BASED
! /RESULT_FOLDERS=PROCESSED
 /RESULT_NAME=LHip_Rectified
! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=
;