关于「建议的分析:微状态、相位滞后指数与传递熵」,《井穴揿针与卒中后认知》给出的定量结论是什么?

结论:论文没有做连接分析,本章因此只给出建议的方案。合成数据显示,零时滞混合本身就能把两个独立源的相干推到 0.87,而 PLI 与 wPLI 不受影响;真实的 12 毫秒时滞驱动则使 wPLI 达到 0.95。传递熵会被未观测的共同驱动、零时滞混合与过于粗糙的嵌入误导:一个隐藏的驱动源产生的「信息流」与真实驱动几乎一样大。微状态利用全部电极的空间信息,但类别数与状态(睁眼/闭眼、困倦)都会改变结论。任何连接指标都应事先写定,在源空间计算,并配合替代数据检验;它们不能单独证明「认知网络重建」。

数据口径:卒中后在双手十二井穴贴上长 0.9 毫米的揿针并每天按揉,能否借指端密集的感觉传入改善认知?本书是教学与研究用的数学模型与方法学讨论,不是医疗建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的模型和假说;除注明的文献数据外,书中数据都是合成的。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 12

casecoherencePLVimag.cohPLIwPLI
A independent, m = 00.0350.0140.0340.0190.069
B independent, m = 0.60.8680.7880.0190.0310.077
C 12-ms lagged drive, m = 00.7460.6440.7180.7300.949
D 12-ms lagged drive, m = 0.61.0000.9980.0290.7130.947
12 ms at 10 Hz is a phase lag of 43 degrees
查看完整验算程序
# Chapter 5. Volume conduction and phase connectivity on synthetic data. Two 10-Hz
# AR(2) sources (fs 250 Hz); sensors x1 = s1 + m s2 + noise, x2 = m s1 + s2 + noise
# (m = zero-lag mixing). Phases by complex demodulation (100-ms moving average).
# Coherence, PLV, imaginary coherence, PLI (Stam et al. 2007), wPLI (Vinck et al. 2011).
# Cases: A independent, m = 0; B independent, m = 0.6; C s2 driven by s1 with a 12-ms
# lag, m = 0; D the same drive, m = 0.6.
import math, random, cmath

FS, F0, N, L = 250.0, 10.0, 30000, 25

def ar2(rng, n, drive=None, lag=3, k=0.5):
    a1, a2 = 2 * 0.97 * math.cos(2 * math.pi * F0 / FS), -0.97 ** 2
    x = [0.0, 0.0]
    for t in range(2, n + 2):
        v = a1 * x[-1] + a2 * x[-2] + rng.gauss(0, 1)
        if drive is not None and t - 2 - lag >= 0:
            v += k * drive[t - 2 - lag]
        x.append(v)
    return x[2:]

def demod(x):
    z = [x[t] * cmath.exp(-2j * math.pi * F0 * t / FS) for t in range(len(x))]
    c, out = [0j], []
    for v in z:
        c.append(c[-1] + v)
    return [(c[t + L] - c[t]) / L for t in range(len(z) - L)]

def measures(x1, x2):
    z1, z2 = demod(x1), demod(x2)
    cr = [a * b.conjugate() for a, b in zip(z1, z2)]
    n = len(cr)
    p1 = math.fsum(abs(a) ** 2 for a in z1) / n
    p2 = math.fsum(abs(b) ** 2 for b in z2) / n
    mre = math.fsum(c.real for c in cr) / n; mim = math.fsum(c.imag for c in cr) / n
    coh = abs(complex(mre, mim)) / math.sqrt(p1 * p2)
    icoh = abs(mim) / math.sqrt(p1 * p2)
    u = [c / abs(c) for c in cr if abs(c) > 0]
    plv = abs(complex(math.fsum(c.real for c in u),
                      math.fsum(c.imag for c in u))) / len(u)
    pli = abs(math.fsum(math.copysign(1.0, c.imag) for c in cr if c.imag != 0)) / n
    wpli = abs(mim) / (math.fsum(abs(c.imag) for c in cr) / n)
    return coh, plv, icoh, pli, wpli

if __name__ == "__main__":
    rng = random.Random(2007)
    print("case                          coherence   PLV   imag.coh    PLI   wPLI")
    for lab, coupled, m in (("A independent, m = 0", False, 0.0),
                            ("B independent, m = 0.6", False, 0.6),
                            ("C 12-ms lagged drive, m = 0", True, 0.0),
                            ("D 12-ms lagged drive, m = 0.6", True, 0.6)):
        s1 = ar2(rng, N)
        s2 = ar2(rng, N, drive=s1 if coupled else None)
        sd = math.sqrt(math.fsum(v * v for v in s1) / N)
        x1 = [a + m * b + rng.gauss(0, 0.3 * sd) for a, b in zip(s1, s2)]
        x2 = [m * a + b + rng.gauss(0, 0.3 * sd) for a, b in zip(s1, s2)]
        r = measures(x1, x2)
        print(f"{lab:30s}" + "".join(f"{v:9.3f}" for v in r))
    print(f"12 ms at 10 Hz is a phase lag of {360 * F0 * 0.012:.0f} degrees")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《指—脑皮层放大、远端微针传入与卒中后认知网络重建的计算神经学》第 5 章「建议的分析:微状态、相位滞后指数与传递熵」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23839915

DOI: 10.5281/zenodo.23839915 · 阅读本章所在专著 · 5DL-B-052 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026052,
  author    = {Fan, Yafu},
  title     = {Finger–Brain Cortical Magnification, Distal Microneedle Afference and Computational Neurology of Post-Stroke Cognitive Network Reconstruction},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23839915},
  url       = {https://doi.org/10.5281/zenodo.23839915}
}

本书其他章节结论