Operator Reference
smooth_funct_1d_gauss (Operator)
smooth_funct_1d_gauss
— Smooth an equidistant 1D function with a Gaussian function.
Signature
smooth_funct_1d_gauss( : : Function, Sigma : 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
,
with
being the number of control points of Function
and
specifying the equidistance
of the x values.
The value of Length
can, e.g., be determined with
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
(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.
Possible Predecessors
create_funct_1d_array
,
sample_funct_1d
Possible Successors
match_funct_1d_trans
,
distance_funct_1d
Alternatives
Module
Foundation