smooth_funct_1d_gaussT_smooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGausssmooth_funct_1d_gauss (算子)
名称
smooth_funct_1d_gaussT_smooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGausssmooth_funct_1d_gauss — 用高斯函数平滑等距一维函数。
签名
def smooth_funct_1d_gauss(function: Sequence[Union[float, int]], sigma: float) -> Sequence[Union[float, int]]
描述
The operator smooth_funct_1d_gausssmooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGaussSmoothFunct1dGausssmooth_funct_1d_gauss smooths a one-dimensional
function with a Gaussian function. The function must be equidistant, i.e.,
created with create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array, sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1dsample_funct_1d
or similar. At the function borders the function values are mirrored.
Note that the smoothing parameter SigmaSigmaSigmaSigmasigmasigma must not be larger
than
,
with
being the number of control points of FunctionFunctionFunctionFunctionfunctionfunction and
specifying the equidistance
of the x values.
The value of LengthLengthLengthLengthlengthlength can, e.g., be determined with
num_points_funct_1dnum_points_funct_1dNumPointsFunct1dNumPointsFunct1dNumPointsFunct1dnum_points_funct_1d.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
FunctionFunctionFunctionFunctionfunctionfunction (输入控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Function to be smoothed.
SigmaSigmaSigmaSigmasigmasigma (输入控制) number → HTuplefloatHTupleHtuple (real) (double) (double) (double)
高斯函数的平滑西格玛(sigma)值。
默认值:
2.0
建议值:
0.5, 1.0, 2.0, 3.0, 4.0, 5.0
值范围:
0.1
≤
Sigma
Sigma
Sigma
Sigma
sigma
sigma
≤
50.0 (lin)
最小增量:
0.01
建议增量:
0.2
SmoothedFunctionSmoothedFunctionSmoothedFunctionSmoothedFunctionsmoothedFunctionsmoothed_function (输出控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Smoothed function.
可能的前趋
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array,
sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1dsample_funct_1d
可能的后继
match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans,
distance_funct_1ddistance_funct_1dDistanceFunct1dDistanceFunct1dDistanceFunct1ddistance_funct_1d
替代
smooth_funct_1d_meansmooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeanSmoothFunct1dMeansmooth_funct_1d_mean
模块
基础