match_funct_1d_trans T_match_funct_1d_trans MatchFunct1dTrans MatchFunct1dTrans match_funct_1d_trans (Operator)
Name
match_funct_1d_trans T_match_funct_1d_trans MatchFunct1dTrans MatchFunct1dTrans match_funct_1d_trans — Berechnung der Transformationsparameter zwischen zwei Funktionen.
Signatur
void MatchFunct1dTrans (const HTuple& Function1 , const HTuple& Function2 , const HTuple& Border , const HTuple& ParamsConst , const HTuple& UseParams , HTuple* Params , HTuple* ChiSquare , HTuple* Covar )
HTuple HFunction1D ::MatchFunct1dTrans (const HFunction1D& Function2 , const HString& Border , const HTuple& ParamsConst , const HTuple& UseParams , double* ChiSquare , HTuple* Covar ) const
HTuple HFunction1D ::MatchFunct1dTrans (const HFunction1D& Function2 , const char* Border , const HTuple& ParamsConst , const HTuple& UseParams , double* ChiSquare , HTuple* Covar ) const
HTuple HFunction1D ::MatchFunct1dTrans (const HFunction1D& Function2 , const wchar_t* Border , const HTuple& ParamsConst , const HTuple& UseParams , double* ChiSquare , HTuple* Covar ) const
(Nur Windows)
static void HOperatorSet .MatchFunct1dTrans (HTuple function1 , HTuple function2 , HTuple border , HTuple paramsConst , HTuple useParams , out HTuple paramsVal , out HTuple chiSquare , out HTuple covar )
HTuple HFunction1D .MatchFunct1dTrans (HFunction1D function2 , string border , HTuple paramsConst , HTuple useParams , out double chiSquare , out HTuple covar )
Beschreibung
match_funct_1d_trans match_funct_1d_trans MatchFunct1dTrans MatchFunct1dTrans MatchFunct1dTrans match_funct_1d_trans berechnet die Transformationsparameter
zwischen zwei Funktionen, die als die Tupel Function1 Function1 Function1 Function1 function1 function_1 und
Function2 Function2 Function2 Function2 function2 function_2 übergeben werden (siehe
create_funct_1d_array create_funct_1d_array CreateFunct1dArray CreateFunct1dArray CreateFunct1dArray create_funct_1d_array und create_funct_1d_pairs create_funct_1d_pairs CreateFunct1dPairs CreateFunct1dPairs CreateFunct1dPairs create_funct_1d_pairs ).
Es wird folgendes Modell der Transformation zwischen den zwei
Funktionen verwendet:
Die Transformationsparameter werden durch eine Ausgleichsrechnung
berechnet, indem die folgende Funktion minimiert wird:
Dabei werden die Funktionswerte von
linear
interpoliert. Der Parameter Border Border Border Border border border entscheidet, welchen
Wert die Funktion Function2 Function2 Function2 Function2 function2 function_2 außerhalb des gültigen
Bereichs hat. Für Border Border Border Border border border ='zero' "zero" "zero" "zero" "zero" "zero" wird der Wert
auf 0 gesetzt, für Border Border Border Border border border ='constant' "constant" "constant" "constant" "constant" "constant" auf den
jeweiligen Randwert, für Border Border Border Border border border ='mirror' "mirror" "mirror" "mirror" "mirror" "mirror" werden
die Funktionswerte am Rand gespiegelt und für
Border Border Border Border border border ='cyclic' "cyclic" "cyclic" "cyclic" "cyclic" "cyclic" werden sie zyklisch fortgesetzt.
Die berechneten Transformationsparameter werden als Tupel
in Params Params Params Params paramsVal params zurückgeliefert. Falls einige der Parameter
bekannte Werte besitzen, so kann der jeweilige Parameter von der
Ausgleichsrechnung ausgeschlossen werden, indem an der
entsprechenden Stelle im Tupel UseParams UseParams UseParams UseParams useParams use_params der Wert
'false' "false" "false" "false" "false" "false" eingetragen wird. In diesem Fall muss im Tupel
ParamsConst ParamsConst ParamsConst ParamsConst paramsConst params_const der bekannte Wert des Parameters eingetragen
werden. Wenn der Parameter für die Ausgleichung verwendet wird
(UseParams UseParams UseParams UseParams useParams use_params = 'true' "true" "true" "true" "true" "true" ), wird der entsprechende
Parameter in ParamsConst ParamsConst ParamsConst ParamsConst paramsConst params_const ignoriert. Als Ausgabe liefert
match_funct_1d_trans match_funct_1d_trans MatchFunct1dTrans MatchFunct1dTrans MatchFunct1dTrans match_funct_1d_trans weiterhin die Summe der
quadratischen Fehler ChiSquare ChiSquare ChiSquare ChiSquare chiSquare chi_square der Ergebnisfunktion, also
der mit den Transformationsparametern transformierten Funktion,
sowie die Kovariazmatrix Covar Covar Covar Covar covar covar der Transformationsparameter
Params Params Params Params paramsVal params zurück. Diese Werte können verwendet werden, um
festzustellen, ob ein erfolgreiches Matching der Funktionen möglich
war.
Für den Fall, dass es keine eindeutige Lösung für die
Transformationsparameter gibt, liefert match_funct_1d_trans match_funct_1d_trans MatchFunct1dTrans MatchFunct1dTrans MatchFunct1dTrans match_funct_1d_trans
entweder eine einzelne ausgewählte Lösung oder den Fehler
9205 (Matrix ist singulär) zurück.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Wird ohne Parallelisierung verarbeitet.
Parameter
Function1 Function1 Function1 Function1 function1 function_1 (input_control) function_1d → HFunction1D , HTuple Sequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Funktion 1.
Function2 Function2 Function2 Function2 function2 function_2 (input_control) function_1d → HFunction1D , HTuple Sequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Funktion 2.
Border Border Border Border border border (input_control) string → HTuple str HTuple Htuple (string) (string ) (HString ) (char* )
Randbehandlung für Funktion 2.
Defaultwert:
'constant'
"constant"
"constant"
"constant"
"constant"
"constant"
Werteliste: 'constant' "constant" "constant" "constant" "constant" "constant" , 'cyclic' "cyclic" "cyclic" "cyclic" "cyclic" "cyclic" , 'mirror' "mirror" "mirror" "mirror" "mirror" "mirror" , 'zero' "zero" "zero" "zero" "zero" "zero"
ParamsConst ParamsConst ParamsConst ParamsConst paramsConst params_const (input_control) number-array → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Werte der Parameter, die konstant gehalten werden.
Parameteranzahl: 4
Defaultwert: [1.0,0.0,1.0,0.0]
UseParams UseParams UseParams UseParams useParams use_params (input_control) string-array → HTuple Sequence[str] HTuple Htuple (string) (string ) (HString ) (char* )
Soll ein Parameter angepasst werden?
Parameteranzahl: 4
Defaultwert:
['true','true','true','true']
["true","true","true","true"]
["true","true","true","true"]
["true","true","true","true"]
["true","true","true","true"]
["true","true","true","true"]
Werteliste: 'false' "false" "false" "false" "false" "false" , 'true' "true" "true" "true" "true" "true"
Params Params Params Params paramsVal params (output_control) number-array → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Transformationsparameter zwischen den Funktionen.
Parameteranzahl: 4
ChiSquare ChiSquare ChiSquare ChiSquare chiSquare chi_square (output_control) number → HTuple float HTuple Htuple (real) (double ) (double ) (double )
Quadratischer Fehler der Ausgabefunktion.
Covar Covar Covar Covar covar covar (output_control) number-array → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Kovarianzmatrix der Transformationsparameter
Parameteranzahl: 16
Vorgänger
create_funct_1d_array create_funct_1d_array CreateFunct1dArray CreateFunct1dArray CreateFunct1dArray create_funct_1d_array ,
create_funct_1d_pairs create_funct_1d_pairs CreateFunct1dPairs CreateFunct1dPairs CreateFunct1dPairs create_funct_1d_pairs
Siehe auch
gray_projections gray_projections GrayProjections GrayProjections GrayProjections gray_projections
Modul
Foundation