smooth_funct_1d_gauss T_smooth_funct_1d_gauss SmoothFunct1dGauss SmoothFunct1dGauss smooth_funct_1d_gauss (Operator)
Name
smooth_funct_1d_gauss T_smooth_funct_1d_gauss SmoothFunct1dGauss SmoothFunct1dGauss smooth_funct_1d_gauss — Smooth an equidistant 1D function with a Gaussian function.
Signature
def smooth_funct_1d_gauss (function : Sequence[Union[float, int]], sigma : float) -> Sequence[Union[float, int]]
Description
The operator smooth_funct_1d_gauss smooth_funct_1d_gauss SmoothFunct1dGauss SmoothFunct1dGauss smooth_funct_1d_gauss smooths a one-dimensional
function with a Gaussian function. The function must be equidistant, i.e.,
created with create_funct_1d_array create_funct_1d_array CreateFunct1dArray CreateFunct1dArray create_funct_1d_array , sample_funct_1d sample_funct_1d SampleFunct1d SampleFunct1d sample_funct_1d
or similar. At the function borders the function values are mirrored.
Note that the smoothing parameter Sigma Sigma Sigma sigma sigma must not be larger
than
,
with
being the number of control points of Function Function Function function function and
specifying the equidistance
of the x values.
The value of Length Length Length length length can, e.g., be determined with
num_points_funct_1d num_points_funct_1d NumPointsFunct1d NumPointsFunct1d num_points_funct_1d .
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Processed without parallelization.
Parameters
Function Function Function function function (input_control) function_1d → HFunction1D , HTuple Sequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Function to be smoothed.
Sigma Sigma Sigma sigma sigma (input_control) number → HTuple float HTuple Htuple (real) (double ) (double ) (double )
Sigma of the Gaussian function for the smoothing.
Default:
2.0
Suggested values:
0.5, 1.0, 2.0, 3.0, 4.0, 5.0
Value range:
0.1
≤
Sigma
Sigma
Sigma
sigma
sigma
≤
50.0 (lin)
Minimum increment:
0.01
Recommended increment:
0.2
SmoothedFunction SmoothedFunction SmoothedFunction smoothedFunction smoothed_function (output_control) function_1d → HFunction1D , HTuple Sequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Smoothed function.
Possible Predecessors
create_funct_1d_array create_funct_1d_array CreateFunct1dArray CreateFunct1dArray create_funct_1d_array ,
sample_funct_1d sample_funct_1d SampleFunct1d SampleFunct1d sample_funct_1d
Possible Successors
match_funct_1d_trans match_funct_1d_trans MatchFunct1dTrans MatchFunct1dTrans match_funct_1d_trans ,
distance_funct_1d distance_funct_1d DistanceFunct1d DistanceFunct1d distance_funct_1d
Alternatives
smooth_funct_1d_mean smooth_funct_1d_mean SmoothFunct1dMean SmoothFunct1dMean smooth_funct_1d_mean
Module
Foundation