smooth_funct_1d_gauss🔗
Short description🔗
smooth_funct_1d_gauss — Smooth an equidistant 1D function with a Gaussian function.
Signature🔗
smooth_funct_1d_gauss( function_1d Function, number Sigma, out function_1d SmoothedFunction )
Description🔗
The operator 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, sample_funct_1d
or similar. At the function borders the function values are mirrored.
Note that the smoothing parameter Sigma must not be larger
than
\((\textrm{Length}-2) / 7.8 * \textrm{Function}[1]\),
with \(\textrm{Length}-2\)
being the number of control points of Function and
\(\textrm{Function}[1]\) specifying the equidistance
of the x values.
The value of Length can, e.g., be determined with
num_points_funct_1d.
Execution information🔗
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 (input_control) function_1d → (real / integer)
Function to be smoothed.
Sigma (input_control) number → (real)
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 ≤ 50.0 (lin)
Minimum increment: 0.01
Recommended increment: 0.2
SmoothedFunction (output_control) function_1d → (real / integer)
Smoothed function.
Combinations with other operators🔗
Combinations
Possible predecessors
create_funct_1d_array, sample_funct_1d
Possible successors
match_funct_1d_trans, distance_funct_1d
Alternatives
Module🔗
Foundation