Convert the data type of the ObjectRef of the Map<int, ObjectRef> given as the input; between the Map<int , Vector<float> > type and the Map<int , Vector<complex<float> > > type or between the Map<int , Matrix<float> > type and the Map<int , 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 Map<int, ObjectRef> given as the input; the Map<int , Vector<float> > type to the Map<int , Vector<complex<float> > > type, the Map<int , Vector<complex<float> > > type to the Map<int , Vector<float> > type, the Map<int , Matrix<float> > type to the Map<int , Matrix<complex<float> > > type, or the Map<int , Matrix<complex<float> > > type to the Map<int , Matrix<float> > type.
Input
: Map<int , Vector<float> >, Map<int , Vector<complex<float> > >, Map<int , Matrix<float> >, or Map<int , Matrix<complex<float> > > of the Map<int, ObjectRef> type.
Output
: Map<int , Vector<float> >, Map<int , Vector<complex<float> > >, Map<int , Matrix<float> >, or Map<int , Matrix<complex<float> > > of the Map<int, ObjectRef> type.
Parameter
Parameter name |
type |
Default value |
Unit |
Description |
METHOD_COMPLEX_TO_FLOAT |
magnitude |
The method to convert the Vector<complex<float> > type to the Vector<float> type or 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. |
||
METHOD_FLOAT_TO_COMPLEX |
zero |
The method to convert the Vector<float> type to the Vector<complex<float> > type or to convert the Matrix<float> type to the Matrix<complex<float> > type. 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 Vector<complex<float> > type to the Vector<float> type or 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 Vector<float> type to the Vector<complex<float> > type or 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 |
Map< int , Vector<float> > |
Map< int , Vector<complex<float> > > |
METHOD_FLOAT_TO_COMPLEX |
Map< int , Matrix<float> > |
Map< int , Matrix<complex<float> > > |
|
Map< int , Vector<complex<float> > > |
Map< int , Vector<float> > |
METHOD_COMPLEX_TO_FLOAT |
Map< int , Matrix<complex<float> > > |
Map< int , Matrix<float> > |