SHANGHAI MICROCRE OPTICS-MECH TECH CO., LTDAbout MICROCRE400-812-7833
MICROCRE · RESEARCH SCIENCE

Synthetic profile and linear detrending

An educational model is not an instrument measurement. Check units, assumptions and scope.

Synthetic profile and linear detrending
Python plot for default inputs; the interactive plot uses current inputs.

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

    评价长度

    Unit

    mm

    Value

    4

    min

    0.01

    max

    100

    step

    any

  • key

    amplitude1

    label

    长波振幅

    Unit

    µm

    Value

    0.8

    min

    0

    max

    100

    step

    any

  • key

    wavelength1

    label

    长波波长

    Unit

    mm

    Value

    0.4

    min

    0.001

    max

    100

    step

    any

  • key

    amplitude2

    label

    短波振幅

    Unit

    µm

    Value

    0.2

    min

    0

    max

    100

    step

    any

  • key

    wavelength2

    label

    短波波长

    Unit

    mm

    Value

    0.06

    min

    0.001

    max

    100

    step

    any

  • key

    slope

    label

    线性倾斜

    Unit

    µm/mm

    Value

    0.4

    min

    -100

    max

    100

    step

    any

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,未执行

Related instruments, methods and research

Your next research question. Let’s explore.

Tell us about your material, specimen and measurement goal.

Discuss your application ↗
Find your instrument
⌕
Search products, cases, solutions, standards and literature.