关于「平气与定气、不等间距插值与历法常数的漂移」,《五节点循环网络与黄经历表》给出的定量结论是什么?
结论:第六章算出平气与定气最多相差 2.386 天、等间距与不等间距二次插值都把匀速假定的误差缩小约七倍,并给出三统历、大衍历、授时历常数每世纪的漂移。
数据口径:书中的五节点环只借用传统「相生」「相克」的图结构,不对它在医学、命理或任何真实系统中的含义作任何主张;除太阳位置与历法常数外,全部数据为程序生成的合成数据。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 2.386
| winter solstice 2026 at JD 2461396.3675; next at JD 2461761.6092 | ||
| term | true - mean (days) | interval (days) |
| Winter solstice | +0.000 | 14.720 |
| Minor cold | -0.498 | 14.724 |
| Major cold | -0.993 | 14.760 |
| Spring begins | -1.451 | 14.826 |
| Rain water | -1.843 | 14.919 |
| Insects waken | -2.142 | 15.033 |
| Spring equinox | -2.328 | 15.160 |
| Pure brightness | -2.386 | 15.292 |
| Grain rain | -2.312 | 15.421 |
| Summer begins | -2.109 | 15.537 |
| Grain buds | -1.791 | 15.631 |
| Grain in ear | -1.379 | 15.696 |
| Summer solstice | -0.901 | 15.729 |
| Minor heat | -0.390 | 15.725 |
| Major heat | +0.116 | 15.685 |
| Autumn begins | +0.583 | 15.613 |
| End of heat | +0.977 | 15.514 |
| White dew | +1.272 | 15.394 |
| Autumn equinox | +1.448 | 15.264 |
| Cold dew | +1.494 | 15.132 |
| Frost descends | +1.408 | 15.007 |
| Winter begins | +1.197 | 14.898 |
| Minor snow | +0.877 | 14.810 |
| Major snow | +0.468 | 14.750 |
| largest gap 2.386 days | ||
| intervals: shortest 14.720, longest 15.729, mean 15.2184 |
核心公式
\[\lambda(t) \approx \lambda_0 + [t_0, t_1](t - t_0) + [t_0, t_1, t_2](t - t_0)(t - t_1),\]
查看完整验算程序
# Chapter 6. p12: Mean solar terms (pingqi) against true solar terms (dingqi).
# True terms: the Sun's apparent longitude reaches 270 + 15k deg (the low-
# precision solar theory of p03). Mean terms: the winter-solstice instant
# plus k times (tropical year / 24), the tropical year 365.2422 days.
# Winter solstice of 2026 to that of 2027. Reported: the gap between the
# two dates of each term, and the length of each true-term interval.
import math
NAMES = ("Winter solstice", "Minor cold", "Major cold", "Spring begins",
"Rain water", "Insects waken", "Spring equinox", "Pure brightness",
"Grain rain", "Summer begins", "Grain buds", "Grain in ear",
"Summer solstice", "Minor heat", "Major heat", "Autumn begins",
"End of heat", "White dew", "Autumn equinox", "Cold dew",
"Frost descends", "Winter begins", "Minor snow", "Major snow")
def sun_lon(jd):
t = (jd - 2451545.0) / 36525
l0 = 280.46646 + 36000.76983 * t + 0.0003032 * t * t
m = math.radians(357.52911 + 35999.05029 * t - 0.0001537 * t * t)
c = ((1.914602 - 0.004817 * t - 0.000014 * t * t) * math.sin(m)
+ (0.019993 - 0.000101 * t) * math.sin(2 * m)
+ 0.000289 * math.sin(3 * m))
om = math.radians(125.04 - 1934.136 * t)
return (l0 + c - 0.00569 - 0.00478 * math.sin(om)) % 360
def when(target, jd0):
lo, hi = jd0, jd0 + 40
while (sun_lon(hi) - target) % 360 > 180:
hi += 5
for _ in range(60):
mid = (lo + hi) / 2
if (sun_lon(mid) - target) % 360 < 180:
hi = mid
else:
lo = mid
return (lo + hi) / 2
if __name__ == "__main__":
ws = when(270.0, 2461380.5) # around 2026 Dec 22
true, j = [ws], ws
for k in range(1, 25):
j = when((270 + 15 * k) % 360, j + 10)
true.append(j)
year = 365.2422
print("winter solstice 2026 at JD {:.4f}; next at JD {:.4f}".format(
true[0], true[24]))
print("\n term true - mean (days) interval (days)")
worst = 0.0
for k in range(24):
gap = true[k] - (ws + k * year / 24)
worst = max(worst, abs(gap))
print(" {:<18} {:+6.3f} {:6.3f}".format(
NAMES[k], gap, true[k + 1] - true[k]))
iv = [b - a for a, b in zip(true, true[1:])]
print("\nlargest gap {:.3f} days".format(worst))
print("intervals: shortest {:.3f}, longest {:.3f}, mean {:.4f}".format(
min(iv), max(iv), sum(iv) / 24))
print("\nReading: equal division of the year misplaces the true terms")
print("by up to 2.4 days, because the Sun moves fastest near")
print("perihelion in early January: true terms near the winter")
print("solstice are under fifteen days apart, those near the summer")
print("solstice nearly fifteen and three-quarters.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《五节点循环网络动力学、黄经历表与多尺度振子扰动》第 6 章「平气与定气、不等间距插值与历法常数的漂移」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090168
DOI: 10.5281/zenodo.24090168 · 阅读本章所在专著 · 5DL-B-060 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026060,
author = {Fan, Yafu},
title = {Five-Node Cyclic Network Dynamics, Solar-Longitude Ephemeris and Multi-Scale Oscillator Perturbations},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090168},
url = {https://doi.org/10.5281/zenodo.24090168}
}