Numeric Channels <-> Complex Channels
- Updated2024-09-12
- 2 minute(s) read
DIAdem ANALYSIS > Channel Functions > Numeric Channels <-> Complex Channels
Numeric Channels <-> Complex Channels
Use this dialog box to convert numeric channels into a complex channel and vice versa. Complex channels are a preview feature. Preview features are new developments that will be available as a full feature in one of the upcoming DIAdem versions. The user interface, the API, and the scope of functions is subject to change.
Settings
Real part/Magnitude | Specifies the channel with the real part or with the magnitude of the complex channel you want to create. |
Imaginary part/Phase | Specifies the channel with the imaginary part or with the phase of the complex channel you want to create. For non-size-based computing, DIAdem expects the phase in rad. |
Complex channel | Specifies the complex channel that DIAdem converts to a numeric channel pair. |
Conversion mode | Specifies whether you convert numeric channels to complex channels or vice versa. |
Channel pair | Specifies, when converting a numeric channel pair to a complex channel, whether the numeric channel pair is real and imaginary part or magnitude and phase. Specifies, when converting a complex channel to a numeric channel pair, whether the numeric channel pair you generate is real and imaginary part or magnitude and phase. |
Result
If you convert a numeric channel pair into a complex channel, DIAdem generates a complex channel. DIAdem stores the values alternately in the channel, alternating between the real and the imaginary part. The complex channel is twice as long as the shorter of the two numeric input channels.
When you convert complex channels into numeric channels, DIAdem generates a channel pair from every complex channel. The numeric channels are half as long as the complex input channel.
![]() | To calculate quantity-based in DIAdem, click the Calculate Quantity-Based button on the DIAdem ANALYSIS toolbar. When executing quantity-based calculations, DIAdem checks whether the program can also execute calculations on physical quantities in the same calculation. If DIAdem cannot execute the calculation because the physical quantities are unsuitable, the program displays an error message. Refer to the Help page Calculating Quantity-Based and Non-Quantity-Based Calculations in DIAdem for the conditions and rules for quantity-based calculations. |
Script Call
Call SUDDlgShow("Main", ResourceDrv & "AnaChnToComplexChn")
Related Topics
Channels <-> Assignment Channels | Channels <-> XY-Channels | Converting Numeric Channels into XY-Channels | Converting Numerical Channels into Waveform Channels | Numeric Channels <-> Time Channels | Numeric Channels <-> Waveform Channels