smooth_funct_1d_meanT_smooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeansmooth_funct_1d_mean (Operator)

Name

smooth_funct_1d_meanT_smooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeansmooth_funct_1d_mean — Glättung einer äquidistanten 1D Funktion durch Mittelung.

Signatur

smooth_funct_1d_mean( : : Function, SmoothSize, Iterations : SmoothedFunction)

Herror T_smooth_funct_1d_mean(const Htuple Function, const Htuple SmoothSize, const Htuple Iterations, Htuple* SmoothedFunction)

void SmoothFunct1dMean(const HTuple& Function, const HTuple& SmoothSize, const HTuple& Iterations, HTuple* SmoothedFunction)

HFunction1D HFunction1D::SmoothFunct1dMean(Hlong SmoothSize, Hlong Iterations) const

static void HOperatorSet.SmoothFunct1dMean(HTuple function, HTuple smoothSize, HTuple iterations, out HTuple smoothedFunction)

HFunction1D HFunction1D.SmoothFunct1dMean(int smoothSize, int iterations)

def smooth_funct_1d_mean(function: Sequence[Union[float, int]], smooth_size: int, iterations: int) -> Sequence[Union[float, int]]

Beschreibung

smooth_funct_1d_meansmooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeanSmoothFunct1dMeansmooth_funct_1d_mean führt die Glättung einer 1-dimensionalen Funktion mit Hilfe der mehrmaligen Anwendung eines Mittelwertfilters durch. Die Funktion muss äquidistant sein, d.h. mit create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array, sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1dsample_funct_1d o.ä. erzeugt worden sein. An den Rändern der Funktion werden die Funktionswerte gespiegelt.

Achtung

Wird für SmoothSizeSmoothSizeSmoothSizeSmoothSizesmoothSizesmooth_size ein gerader statt einem ungerade Wert übergeben, verwendet die Routine an ihrer Stelle den nächstgrößeren ungeraden Wert (damit ist der Schwerpunkt der Filtermaske immer eindeutig bestimmt).

Ausführungsinformationen

Parameter

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

1D Funktion.

SmoothSizeSmoothSizeSmoothSizeSmoothSizesmoothSizesmooth_size (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Größe der Glättungsmaske.

Defaultwert: 9

Wertevorschläge: 1, 3, 5, 7, 9, 11, 13, 15, 21, 31, 51

Typischer Wertebereich: 0 ≤ SmoothSize SmoothSize SmoothSize SmoothSize smoothSize smooth_size ≤ 1001 (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 2

IterationsIterationsIterationsIterationsiterationsiterations (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Iterationen der Glättung.

Defaultwert: 3

Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9

Typischer Wertebereich: 1 ≤ Iterations Iterations Iterations Iterations iterations iterations ≤ 100 (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

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

Geglättete Funktion.

Vorgänger

create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array, sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1dsample_funct_1d

Alternativen

smooth_funct_1d_gausssmooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGaussSmoothFunct1dGausssmooth_funct_1d_gauss

Modul

Foundation