DIAdem Help

Command: ChnNormalize

  • Updated2024-09-12
  • 2 minute(s) read

Display all  Hide all

Command: ChnNormalize

Normalizes a data channel to the value one.

Set ChnResult = ChnNormalize(Y, ResultChannel)

Input Parameters

Y Specifies the data channel.
ResultChannel Specifies the result channel.

Return Parameters

ChnResult Contains the result channel. ElementList <Data> type return value.

DIAdem divides each value by the highest absolute value in the data channel. The result channel receives values between -1 and 1.

Note  If you want to use waveform channels in this command, follow rule 2.3 for calculating with waveform channels.

Examples

Assumption: A channel has the following values:

1
4
-2
-3
10

The absolute greatest value of this channel is 10. After normalization, the result channel receives the following values:

0.1
0.4
-0.2
-0.3
1

Dialog Box Call

Call SUDDlgShow("Main", ResourceDrv & "AnaChnNormalize")

Normalize

 

Related Topics

Command: ChnAverage | Command: ChnConvertTextToAssignment | Command: ChnDeriveCalc | Command: ChnDetrendCalc | Command: ChnDifferentiate | Command: ChnEnclosedArea | Command: ChnIntegrate | Command: ChnMirror | Command: ChnMultipleSort | Command: ChnNovHandle | Command: ChnOptimizeDataType | Command: ChnPeakFind | Command: ChnPhaseUnwrap | Command: ChnPhaseWrap | Command: ChnRangeLimit | Command: ChnRelativize | Command: ChnRMS | Command: ChnRound | Command: ChnSum