SpatialNoiseLevel
是 SpatialEstimate 和其他空间函数的一个选项,给出数据中的噪声方差水平.
更多信息
- SpatialNoiseLevel 也被称为块金值或变差函数块金值.
- SpatialNoiseLevel 实际上描述的是数据测量误差.
- SpatialNoiseLevel 与 VariogramFunction 一起被用于对空间值进行局部预测. 将局部预测与全局趋势相结合给出了完整的空间预测函数.
- 指定正的 SpatialNoiseLevel 对空间预测的影响是预测函数不需要在每个位置的值之间进行插值. 在这种情况下,预测曲面不再对数据进行插值,而是一个更平滑的近似表曲面.
- SpatialNoiseLevel 的可能设置有:
-
Automatic 根据数据估计噪声水平 θ 指定非负噪声水平 
范例
打开所有单元 关闭所有单元基本范例 (2)
往 VariogramModel 中添加噪声方差:
VariogramModel["Spherical", {1, 1 / 2}, SpatialNoiseLevel -> 1]VariogramModel["Spherical", {1, 1 / 2}, SpatialNoiseLevel -> 1]["Visualization"]VariogramModel["Spherical", {1, 1 / 2}, SpatialNoiseLevel -> 1]["SpatialNoiseLevel"]data = SpatialPointData[«2»];Show[Region[data["ObservationRegion"]], PointValuePlot[data, ColorFunction -> "Rainbow"]]locs = data["Points"];
vals = data["Annotations"]["Rainfall"];spf0 = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> 0]spf1 = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> .0001]#["Visualization", "Data" -> True, Method -> "3D"]& /@ {spf0, spf1}范围 (1)
m = 10;
{datapoints, datavalues} = RandomReal[1, {2, m}];
data = datapoints -> datavalues;varfn = VariogramModel["Exponential", { 1, 1}, SpatialNoiseLevel -> .1]varfn["Visualization"]spf = SpatialEstimate[data, VariogramFunction -> varfn, SpatialTrendFunction -> 1]spf["Visualization"]如果噪声方差为 0,则 SpatialPredict 进行精确插值:
varfn = VariogramModel["Exponential", {1, 1}, SpatialNoiseLevel -> 0]spf = SpatialEstimate[data, VariogramFunction -> varfn, SpatialTrendFunction -> 1]spf["Visualization"]应用 (1)
SpatialNoiseLevel 可以创建数据的更平滑的图像:
locs = {...};
vals = {...};{PointValuePlot[locs -> vals, ColorFunction -> "Rainbow"], ListDensityPlot[ArrayFlatten[{{locs, Partition[vals, 1]}}], ColorFunction -> "Rainbow"]}est0 = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> .0001];
est1 = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> .01];pts = RandomPoint[Rectangle[{0, 0}, {Max[locs[[All, 1]]], Max[locs[[All, 2]]]}], 5 * 10 ^ 3];
res0 = est0[pts];res1 = est1[pts];MapThread[PointValuePlot[pts -> #1, PlotStyle -> PointSize[.02], ColorFunction -> "Rainbow", PlotLabel -> #2]&, {{res0, res1}, {"smaller noise level", "larger noise level"}}]属性和关系 (1)
只有在 SpatialNoiseLevel 为零时,SpatialEstimate 才是一个精确的插值器:
locs = Range[0, 1, 0.05];
vals = {...};dataPlot = ListPlot[Transpose[{locs, vals}], PlotStyle -> Red]est0 = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> 0];estSmall = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> 0.0005];estLarge = SpatialEstimate[locs -> vals, SpatialNoiseLevel -> 0.005];Show[dataPlot, Plot[{est0[x], estSmall[x], estLarge[x]}, {x, 0, 1}, PlotLegends -> {"zero noise level", "smaller noise level", "larger noise level"}]]文本
Wolfram Research (2021),SpatialNoiseLevel,Wolfram 语言函数,https://reference.wolfram.com/language/ref/SpatialNoiseLevel.html.
CMS
Wolfram 语言. 2021. "SpatialNoiseLevel." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/SpatialNoiseLevel.html.
APA
Wolfram 语言. (2021). SpatialNoiseLevel. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/SpatialNoiseLevel.html 年
BibTeX
@misc{reference.wolfram_2026_spatialnoiselevel, author="Wolfram Research", title="{SpatialNoiseLevel}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/SpatialNoiseLevel.html}", note=[Accessed: 01-December-2026]}
BibLaTeX
@online{reference.wolfram_2026_spatialnoiselevel, organization={Wolfram Research}, title={SpatialNoiseLevel}, year={2021}, url={https://reference.wolfram.com/language/ref/SpatialNoiseLevel.html}, note=[Accessed: 01-December-2026]}