MICROCRE · RESEARCH SCIENCE
Synthetic profile and linear detrending

Translation pending review.
Description
叠加两个正弦轮廓与倾斜趋势,再拟合并扣除直线,计算离散平均绝对偏差、RMS和峰谷跨度。结果标为模型描述量,不冒充标准粗糙度报告。
Equation
z=A₁sin(2πx/λ₁)+A₂sin(2πx/λ₂+0.7)+bx;z_res=z−(a_fit+b_fit x)
Input parameters
- key
length
label评价长度
Unitmm
Value4
min0.01
max100
stepany
- key
amplitude1
label长波振幅
Unitµm
Value0.8
min0
max100
stepany
- key
wavelength1
label长波波长
Unitmm
Value0.4
min0.001
max100
stepany
- key
amplitude2
label短波振幅
Unitµm
Value0.2
min0
max100
stepany
- key
wavelength2
label短波波长
Unitmm
Value0.06
min0.001
max100
stepany
- key
slope
label线性倾斜
Unitµm/mm
Value0.4
min-100
max100
stepany
Outputs
- key
mean_absolute
label模型平均绝对偏差
Unitµm
- key
rms
label模型RMS
Unitµm
- key
peak_to_valley
label模型峰谷跨度
Unitµm
- key
fitted_slope
label拟合斜率
Unitµm/mm
Assumptions and limits
2001等距点,最短波长至少10样点;仅作最小二乘直线去趋势。
Limitations
未应用S/L滤波、截止波长、探针卷积和标准评价规则。
这里不能把数值直接用于标准Ra/Rq验收。
Model method
合成轮廓、最小二乘去趋势、离散统计。
Validation
校验残差均值及与x的协方差接近零;全零振幅时残差接近零。
Execution and reproduction
python
已实际运行,详见验证报告
matlab
提供可复现源码;当前环境无MATLAB/Octave,未执行
