match_funct_1d_transT_match_funct_1d_transMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans (Operator)

Name

match_funct_1d_transT_match_funct_1d_transMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans — Berechnung der Transformationsparameter zwischen zwei Funktionen.

Signatur

match_funct_1d_trans( : : Function1, Function2, Border, ParamsConst, UseParams : Params, ChiSquare, Covar)

Herror T_match_funct_1d_trans(const Htuple Function1, const Htuple Function2, const Htuple Border, const Htuple ParamsConst, const Htuple UseParams, Htuple* Params, Htuple* ChiSquare, Htuple* Covar)

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)

def match_funct_1d_trans(function_1: Sequence[Union[float, int]], function_2: Sequence[Union[float, int]], border: str, params_const: Sequence[float], use_params: Sequence[str]) -> Tuple[Sequence[float], float, Sequence[float]]

Beschreibung

match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans berechnet die Transformationsparameter zwischen zwei Funktionen, die als die Tupel Function1Function1Function1Function1function1function_1 und Function2Function2Function2Function2function2function_2 übergeben werden (siehe create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array und create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_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 BorderBorderBorderBorderborderborder entscheidet, welchen Wert die Funktion Function2Function2Function2Function2function2function_2 außerhalb des gültigen Bereichs hat. Für BorderBorderBorderBorderborderborder='zero'"zero""zero""zero""zero""zero" wird der Wert auf 0 gesetzt, für BorderBorderBorderBorderborderborder='constant'"constant""constant""constant""constant""constant" auf den jeweiligen Randwert, für BorderBorderBorderBorderborderborder='mirror'"mirror""mirror""mirror""mirror""mirror" werden die Funktionswerte am Rand gespiegelt und für BorderBorderBorderBorderborderborder='cyclic'"cyclic""cyclic""cyclic""cyclic""cyclic" werden sie zyklisch fortgesetzt. Die berechneten Transformationsparameter werden als Tupel in ParamsParamsParamsParamsparamsValparams 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 UseParamsUseParamsUseParamsUseParamsuseParamsuse_params der Wert 'false'"false""false""false""false""false" eingetragen wird. In diesem Fall muss im Tupel ParamsConstParamsConstParamsConstParamsConstparamsConstparams_const der bekannte Wert des Parameters eingetragen werden. Wenn der Parameter für die Ausgleichung verwendet wird (UseParamsUseParamsUseParamsUseParamsuseParamsuse_params = 'true'"true""true""true""true""true"), wird der entsprechende Parameter in ParamsConstParamsConstParamsConstParamsConstparamsConstparams_const ignoriert. Als Ausgabe liefert match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans weiterhin die Summe der quadratischen Fehler ChiSquareChiSquareChiSquareChiSquarechiSquarechi_square der Ergebnisfunktion, also der mit den Transformationsparametern transformierten Funktion, sowie die Kovariazmatrix CovarCovarCovarCovarcovarcovar der Transformationsparameter ParamsParamsParamsParamsparamsValparams 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_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans entweder eine einzelne ausgewählte Lösung oder den Fehler 9205 (Matrix ist singulär) zurück.

Ausführungsinformationen

Parameter

Function1Function1Function1Function1function1function_1 (input_control)  function_1d HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Funktion 1.

Function2Function2Function2Function2function2function_2 (input_control)  function_1d HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Funktion 2.

BorderBorderBorderBorderborderborder (input_control)  string HTuplestrHTupleHtuple (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"

ParamsConstParamsConstParamsConstParamsConstparamsConstparams_const (input_control)  number-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Werte der Parameter, die konstant gehalten werden.

Parameteranzahl: 4

Defaultwert: [1.0,0.0,1.0,0.0]

UseParamsUseParamsUseParamsUseParamsuseParamsuse_params (input_control)  string-array HTupleSequence[str]HTupleHtuple (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"

ParamsParamsParamsParamsparamsValparams (output_control)  number-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Transformationsparameter zwischen den Funktionen.

Parameteranzahl: 4

ChiSquareChiSquareChiSquareChiSquarechiSquarechi_square (output_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Quadratischer Fehler der Ausgabefunktion.

CovarCovarCovarCovarcovarcovar (output_control)  number-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Kovarianzmatrix der Transformationsparameter

Parameteranzahl: 16

Vorgänger

create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array, create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs

Siehe auch

gray_projectionsgray_projectionsGrayProjectionsGrayProjectionsGrayProjectionsgray_projections

Modul

Foundation