Convert the data type of the ObjectRef of the Matrix<ObjectRef> given as the input, between the Matrix<float> type and the Matrix<complex<float> > type.
No files are required.
When to use
This node is used to convert the data type of the ObjectRef of the Matrix<ObjectRef> given as the input; the Matrix<float> type to the Matrix<complex<float> > type, the Matrix<complex<float> > type to the Matrix<float> type.
Input
: any type. Note that the supported data types are the Matrix<float> type and the Matrix<complex<float> > type.
Output
: any type. Note that the supported data types are the Matrix<float> type and the Matrix<complex<float> > type.
Parameter
Parameter name |
Type |
Default value |
Unit |
Description |
METHOD_COMPLEX_TO_FLOAT |
magnitude |
The method to convert Matrix<complex<float> > to Matrix<float> . Select magnitude, real, or imaginary. Output the absolute value, the real part, and the imaginary part, which are of the complex number, respectively. |
||
METHOD_FLOAT_TO_COMPLEX |
zero |
The method to convert Matrix<float> to Matrix<complex<float> > . Select zero or hilbert. For the imaginary part, output 0 or the absolute value of the real part after converted to complex . |
||
DEBUG |
false |
Enable or disable to output the conversion status to standard output. |
: string type. The method to convert the Matrix<complex<float> > type to the Matrix<float> type. Select magnitude, real, or imaginary. Output the absolute value, the real part, and the imaginary part, which are of the complex number, respectively. The default value is magnitude.
: string type. The method to convert the Matrix<float> type to the Matrix<complex<float> > type. Select zero or hilbert. For the imaginary part, output 0 by selecting zero or output the absolute value of the real part after converted to complex by selecting hilbert. The default value is zero.
: bool type. Setting the value to true outputs the conversion status to the standard output. The default value is false.
INPUT |
OUTPUT |
Parameter to use |
METHOD_FLOAT_TO_COMPLEX |
||
METHOD_COMPLEX_TO_FLOAT |