5D Library › 古典卜卦尊贵度积分、恒星二十七宿岁差与维姆肖塔里运限链 · English

第三章 后天尊贵度与「最强行星」的约定预算

运动与太阳带来的加减分

后天尊贵度看行星的「处境」:所在宫位、是否逆行、快慢,以及与太阳的距离。本书取莉莉表中的一个子集 (Lilly 1647):顺行 +4、逆行 −5;快于平均日行 +2、慢于平均 −2;远离太阳光束 +5;在太阳核心(17 角分以内,cazimi)+5;焦伤(8 度 30 分以内)−5;在太阳光束下(17 度以内)−4。宫位分:第 1、10 宫 +5,第 4、7、11 宫 +4,第 2、5 宫 +3,第 9 宫 +2,第 3 宫 +1,第 12 宫 −5,第 6、8 宫 −2。

推导

# Chapter 3. p05: Accidental dignities from motion and from the Sun.
# Subset of Lilly's accidental table used here:
#   direct +4, retrograde -5; swift +2, slow -2 (against the mean daily
#   motion); free from combustion and the Sun's beams +5; cazimi (within
#   0 deg 17') +5; combust (within 8 deg 30') -5; under the beams (within
#   17 deg) -4. Frequencies over 1900-2049 from the ephemeris of p02.
import importlib.util
import random

def load(name):
    spec = importlib.util.spec_from_file_location(name, name + ".py")
    m = importlib.util.module_from_spec(spec)
    spec.loader.exec_module(m)
    return m

eph = load("p02_ephemeris")
MEAN = {"Moon": 13.176, "Mercury": 0.9856, "Venus": 0.9856,
        "Mars": 0.524, "Jupiter": 0.0831, "Saturn": 0.0335}

def solar(dist):
    if dist <= 17 / 60:
        return "cazimi", 5
    if dist <= 8.5:
        return "combust", -5
    if dist <= 17:
        return "beams", -4
    return "free", 5

if __name__ == "__main__":
    rng = random.Random(73005)
    N = 30000
    rows = {p: {"retro": 0, "cazimi": 0, "combust": 0, "beams": 0,
                "score": 0} for p in MEAN}
    for _ in range(N):
        jd = rng.uniform(2415020.5, 2469807.5)
        pos = eph.positions(jd)
        for p in MEAN:
            w = eph.speed(jd, p)
            sc = 0
            if p != "Moon":
                rows[p]["retro"] += w < 0
                sc += -5 if w < 0 else 4
            sc += 2 if abs(w) > MEAN[p] else -2
            dist = abs((pos[p] - pos["Sun"] + 180) % 360 - 180)
            kind, pts = solar(dist)
            if kind != "free":
                rows[p][kind] += 1
            rows[p]["score"] += sc + pts
    print("   planet   retro   cazimi  combust  beams   mean subset score")
    for p, r in rows.items():
        print("   {:8s} {:5.3f}   {:6.4f}  {:7.4f}  {:5.3f}   {:6.2f}".format(
            p, r["retro"] / N, r["cazimi"] / N, r["combust"] / N,
            r["beams"] / N, r["score"] / N))
#    planet   retro   cazimi  combust  beams   mean subset score
#    Moon     0.000   0.0020   0.0447  0.046     4.05
#    Mercury  0.187   0.0078   0.2396  0.312     2.76
#    Venus    0.073   0.0043   0.1257  0.134     6.90
#    Mars     0.096   0.0021   0.0756  0.079     7.54
#    Jupiter  0.305   0.0016   0.0533  0.055     6.14
#    Saturn   0.367   0.0020   0.0522  0.051     5.88

在 1900 到 2049 年的随机时刻,逆行的时间比例为:水星 0.187,金星 0.073,火星 0.096,木星 0.305,土星 0.367。水星有 0.2396 的时间处于焦伤,金星 0.1257;在太阳核心的时间都不到百分之一。这个子集的平均得分从水星的 2.76 到火星的 7.54:水星因为常在太阳附近而处于劣势,木星与土星则因为逆行频繁而被扣分。

各行星逆行与焦伤的时间比例,1900-2049(p05)。

三种约定下的最强行星

卜卦判断常要回答「哪颗行星最强」或「两颗主星谁强」。程序在随机时刻上比较三种约定:

  • A:先天得分(第一章,游走即使与陷、落同时出现也照扣)加上述后天子集加宫位分;
  • B:与 A 相同,但已有陷或落时不再另扣游走;
  • C:只看先天得分。

每张盘随机取白天或夜间,七颗行星的宫位各自均匀抽取(没有地点模型)。

推导

# Chapter 3. p06: "The strongest planet" under three scoring conventions.
#  A  essential (p01, peregrine counted even with detriment or fall)
#     + accidental subset (p05) + house points (Lilly: 1st/10th 5,
#     4th/7th/11th 4, 2nd/5th 3, 9th 2, 3rd 1, 12th -5, 6th/8th -2)
#  B  as A, but peregrine is not added on top of detriment or fall
#  C  essential dignity alone (p01 rule)
# Charts: random moments 1900-2049 (p02), day or night with probability
# 1/2, each planet in a house drawn uniformly (no location model).
import importlib.util
import random

def load(name):
    spec = importlib.util.spec_from_file_location(name, name + ".py")
    m = importlib.util.module_from_spec(spec)
    spec.loader.exec_module(m)
    return m

dig = load("p01_dignity_tables")
eph = load("p02_ephemeris")
acc = load("p05_accidental")
HOUSE = (5, 3, 1, 4, 3, -2, 4, -2, 2, 5, 4, -5)

def totals(pos, speeds, day, houses, double, with_acc):
    out = {}
    for p in dig.PL:
        s = dig.score(p, pos[p], day, double)
        if with_acc:
            s += HOUSE[houses[p]]
            if p in acc.MEAN:
                w = speeds[p]
                if p != "Moon":
                    s += -5 if w < 0 else 4
                s += 2 if abs(w) > acc.MEAN[p] else -2
                dist = abs((pos[p] - pos["Sun"] + 180) % 360 - 180)
                s += acc.solar(dist)[1]
        out[p] = s
    return out

def winner(t):
    best = max(t.values())
    return tuple(sorted(p for p, v in t.items() if v == best))

if __name__ == "__main__":
    print("   mean house points: {:.4f}".format(sum(HOUSE) / 12))
    rng = random.Random(73006)
    N, agree = 12000, {"A-B": 0, "A-C": 0, "B-C": 0}
    pair = {"A-B": 0, "A-C": 0, "B-C": 0}
    for _ in range(N):
        jd = rng.uniform(2415020.5, 2469807.5)
        pos = eph.positions(jd)
        speeds = {p: eph.speed(jd, p) for p in acc.MEAN}
        day = rng.random() < 0.5
        houses = {p: rng.randrange(12) for p in dig.PL}
        t = {"A": totals(pos, speeds, day, houses, True, True),
             "B": totals(pos, speeds, day, houses, False, True),
             "C": totals(pos, speeds, day, houses, True, False)}
        for k in agree:
            a, b = k.split("-")
            agree[k] += winner(t[a]) == winner(t[b])
            pair[k] += (t[a]["Moon"] > t[a]["Saturn"]) == \
                (t[b]["Moon"] > t[b]["Saturn"])
    print("   conventions  same strongest planet  same Moon-vs-Saturn order")
    for k in agree:
        print("   {:11s}  {:21.4f}  {:25.4f}".format(
            k, agree[k] / N, pair[k] / N))
#    mean house points: 1.8333
#    conventions  same strongest planet  same Moon-vs-Saturn order
#    A-B                         0.9688                     0.9603
#    A-C                         0.4303                     0.7644
#    B-C                         0.4223                     0.7248

宫位分的平均值为 1.8333。A 与 B 给出相同最强行星的比例为 0.9688,对「月亮与土星谁强」的判断一致的比例为 0.9603;A 与 C 只有 0.4303 与 0.7644,B 与 C 为 0.4223 与 0.7248。也就是说,计分约定中一个看似细小的选择(游走是否重复扣分)只影响约百分之三的盘,而「是否计入后天尊贵度」这一选择会让一半以上的盘换一颗最强行星。

证据

结论:「最强行星」是约定的函数。 在本书的三种约定中,最强行星的一致率低至 0.4223。比较两套软件或两位占星师的判断之前,应当先比较它们的计分约定。

假说 · 尚未验证

作者的假说(尚未验证): 同一张卜卦盘交给两位分别习惯「只看先天」与「先天加后天」的占星师,他们对主星强弱的结论分歧率接近本章的约定分歧率。什么会证明它错: 若在盲法条件下两类占星师对同一批盘的结论一致率显著高于 0.7644(月亮对土星)这类约定一致率,说明判断中还有约定之外的共同因素,这一假说就不成立。

小结

后天尊贵度的频率由运动学决定:木星与土星约三分之一的时间逆行,水星约四分之一的时间焦伤。三种计分约定下最强行星的一致率在 0.4223 到 0.9688 之间;后天尊贵度的取舍是最大的分歧来源。

参考文献

Lilly, William. 1647. Christian Astrology. Thomas Brudenell for John Partridge; Humphrey Blunden.

Fan, Y. (2026). Horary Dignity Scoring, Sidereal Nakshatra Precession and Vimshottari Dasha Chains: Reception Matrix Algebra, Ayanamsha Drift Kinetics and Non-Uniform Planetary Period Partitions [古典卜卦尊贵度积分、恒星二十七宿岁差与维姆肖塔里运限链] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090195 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).