6.7.9 MapToMap

6.7.9.1 ノードの概要

Map<int, ObjectRef> の ObjectRef の Vector<float> 型と Vector<complex<float> > 型の変換,あるいは,Matrix<float> 型と Matrix<complex<float> > 型の変換を行う.

6.7.9.2 必要なファイル

無し.

6.7.9.3 使用方法

どんなときに使うのか

Map<int, ObjectRef> の ObjectRef を Vector<float> 型から Vector<complex<float> > 型へ,あるいは,Vector<complex<float> > 型から Vector<float> 型へ,あるいは,Matrix<float> 型から Matrix<complex<float> > 型へ,あるいは,Matrix<complex<float> > 型から Matrix<float> 型へ変換する際に用いる.

6.7.9.4 ノードの入出力とプロパティ

入力

INPUT

: Map<int, ObjectRef> 型の,Map$<$ int , Vector<float> $>$ または Map$<$ int , Vector<complex<float> > $>$ 型 または ,Map$<$ int , Matrix<float> $>$ または ,Map$<$ int , Matrix<complex<float> > $>$ 型.

出力

OUTPUT

: Map<int, ObjectRef> 型の,Map$<$ int , Vector<float> $>$ または Map$<$ int , Vector<complex<float> > $>$ 型 または ,Map$<$ int , Matrix<float> $>$ または ,Map$<$ int , Matrix<complex<float> > $>$ 型.

パラメータ

Table 6.87: MapToMap パラメータ表

パラメータ名

デフォルト値

単位

説明

METHOD_COMPLEX_TO_FLOAT

string 

magnitude

 

complex から float への変換方法.magnitude, real, imaginary から選択する.それぞれ,絶対値,実部,虚部を示す.

METHOD_FLOAT_TO_COMPLEX

string 

zero

 

float から complex への変換方法.zero, hilbert から選択する.それぞれ,ゼロ,実部の絶対値を示す.

DEBUG

bool 

false

 

変換状況を出力するかどうかの選択.

METHOD_COMPLEX_TO_FLOAT

: string 型. INPUT の ObjectRef が Vector<complex<float> > または Matrix<complex<float> > の時のみ有効.complex から float への変換方法を指定する. magnitude, real, imaginary から選択.出力は,magnitude が選択されると絶対値に,real が選択されると実部の値に,imaginary が選択されると虚部の値になる. デフォルトは magnitude.

METHOD_FLOAT_TO_COMPLEX

: string 型. INPUT の ObjectRef が Vector<float> または Matrix<float> の時のみ有効で,float から complex への変換方法を指定する. zero, hilbert から選択.zero が選択されるとゼロに,hilbert が選択されると実部の絶対値になる. デフォルトは zero.

DEBUG

: bool 型. デフォルトは falsetrueが与えられると, 変換状況が標準出力に出力される.

6.7.9.5 ノードの詳細

Table 6.88: MapToMap 変換表

INPUT

OUTPUT

使用するパラメータ

Map$<$ int , Vector<float> $>$

Map$<$ int , Vector<complex<float> > $>$

METHOD_FLOAT_TO_COMPLEXCOMPLEX

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> $>$