关于「从斑点到平行嵴:二维有限差分、各向异性与细节点缺陷」,《手纹的图灵斑图与拓扑》给出的定量结论是什么?
结论:二维图灵斑图默认是斑点,一个系数的方向性就能把它变成平行嵴,嵴沿扩散较慢的方向延伸。嵴距由定律决定,在整数约束下围绕最快波长跳动;细节点由噪声决定,同一定律下的六次模拟从 0 到 8 个不等。相学把纹线的每一处断续当成信息,而本章说明,断续首先是一个随机过程的产物。
数据口径:相学把它们当作写好的文书来读,本书则问三个可以计算的问题:这些纹怎样长出来?它们在人群中如何分布、彼此是否独立?从一枚成人指纹能否倒推胚胎期发生了什么?书中参数为示意,表格计数为合成数据,全部计算由书中程序生成;本书分析结构与概率,不对任何人的手作个人判断,也不是医疗、法律或经营建议。 第二章的二维有限差分模拟显示,一个系数的方向性就能把斑点变成平行嵴,细节点则由噪声决定。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库
| d_y | regions | largest share | anisotropy | u max | reading |
|---|---|---|---|---|---|
| 20 | 24 | 0.072 | 0.002 | 2.99 | spots |
| 14 | 5 | 0.243 | 0.780 | 2.79 | mixed |
| 10 | 5 | 0.257 | 0.889 | 2.60 | stripes |
| 6 | 4 | 0.250 | 0.987 | 2.17 | stripes |
| an anisotropic cue in one coefficient turns spots into | |||||
| parallel stripes; the stripes run along the slow direction |
查看完整验算程序
# Chapter 2. p21: The 2-D Schnakenberg system (a = 0.1, b = 0.9, as in
# p11) on a 26 x 26 periodic grid, grid step 2, time step 0.04, 4000
# explicit steps. The inhibitor diffuses with ratio 20 along x and with
# ratio d_y along y; d_y = 20 is the isotropic case. Below d_c = 8.5676
# (p11) no mode varying only along y can grow. We threshold u at its
# mean and report connected regions (4-neighbour, periodic), the share
# of the largest region, and the gradient anisotropy
# (Gx - Gy) / (Gx + Gy). Fixed seed; illustrative parameters.
import math
import random
A, B, N, DX, DT, STEPS = 0.1, 0.9, 26, 2.0, 0.04, 4000
def neighbours():
m = N * N
e = [(i // N) * N + (i % N + 1) % N for i in range(m)]
w = [(i // N) * N + (i % N - 1) % N for i in range(m)]
s = [((i // N + 1) % N) * N + i % N for i in range(m)]
n = [((i // N - 1) % N) * N + i % N for i in range(m)]
return e, w, s, n
def simulate(dx_ratio, dy_ratio, offset):
rng = random.Random(20261112 + offset)
m = N * N
u = [1.0 + 0.02 * (rng.random() - 0.5) for _ in range(m)]
v = [0.9 + 0.02 * (rng.random() - 0.5) for _ in range(m)]
e, w, s, n = neighbours()
h = 1.0 / (DX * DX)
cx, cy = dx_ratio * h, dy_ratio * h
idx = range(m)
for _ in range(STEPS):
lu = [h * (u[e[i]] + u[w[i]] + u[s[i]] + u[n[i]] - 4 * u[i])
for i in idx]
lv = [cx * (v[e[i]] + v[w[i]] - 2 * v[i])
+ cy * (v[s[i]] + v[n[i]] - 2 * v[i]) for i in idx]
nu, nv = [], []
for i in idx:
a, b = u[i], v[i]
q = a * a * b
nu.append(a + DT * (A - a + q + lu[i]))
nv.append(b + DT * (B - q + lv[i]))
u, v = nu, nv
return u
def regions(u):
e, w, s, n = neighbours()
mean = math.fsum(u) / len(u)
on = [x > mean for x in u]
seen = [False] * len(u)
sizes = []
for i in range(len(u)):
if on[i] and not seen[i]:
seen[i] = True
stack, size = [i], 0
while stack:
j = stack.pop()
size += 1
for k in (e[j], w[j], s[j], n[j]):
if on[k] and not seen[k]:
seen[k] = True
stack.append(k)
sizes.append(size)
return sizes
def anisotropy(u):
e, w, s, n = neighbours()
gx = math.fsum((u[e[i]] - u[i]) ** 2 for i in range(len(u)))
gy = math.fsum((u[s[i]] - u[i]) ** 2 for i in range(len(u)))
return (gx - gy) / (gx + gy)
if __name__ == "__main__":
print(" d_y regions largest share anisotropy u max reading")
for dy in (20.0, 14.0, 10.0, 6.0):
u = simulate(20.0, dy, 0)
sz = regions(u)
on = math.fsum(sz)
an = anisotropy(u)
kind = "stripes" if an > 0.8 else "mixed" if an > 0.3 else "spots"
print(" {:4.0f} {:5d} {:9.3f} {:8.3f} {:5.2f} {}"
.format(dy, len(sz), max(sz) / on, an, max(u), kind))
print("an anisotropic cue in one coefficient turns spots into")
print("parallel stripes; the stripes run along the slow direction")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《手掌皮纹图灵反应扩散斑图、屈肌折痕拓扑分类与胚胎期应力反演》第 2 章「从斑点到平行嵴:二维有限差分、各向异性与细节点缺陷」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-158 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026158,
author = {Fan, Yafu},
title = {Turing Reaction-Diffusion Patterns in Palm Dermatoglyphics, Flexion-Crease Topology and Embryonic Stress Inversion},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}