"""C. orina の実測 δ（喉26°・頭頂14°、Valencia-Palacios ほか 2026）を Heliodoxa に借りたとき、
喉÷頭頂の必要倍率（required_scale.py の一律倍率の比）のどれだけを斜め切片で出せるか。
一律の伸び 1/cosδ なので、喉÷頭頂の倍率 = cosδg / cosδc。"""
import math
need = {"branickii": (0.843, 0.813, 0.875), "hybrid": (0.867, 0.835, 0.901), "gularis": (0.830, 0.804, 0.857)}
c = math.cos
orina = c(math.radians(26)) / c(math.radians(14))
print(f"C. orina の δ を借りた倍率 cos26/cos14 = {orina:.3f}")
for k, (m, lo, hi) in need.items():
    frac = (1 - orina) / (1 - m)
    # 頭頂 14° と置いたときに要る喉の δ
    dg = math.degrees(math.acos(m * c(math.radians(14))))
    dlo = math.degrees(math.acos(hi * c(math.radians(14)))); dhi = math.degrees(math.acos(lo * c(math.radians(14))))
    print(f"{k:9s} 必要 {m:.3f}  orina の比で出せる割合 {frac:.0%}  頭頂14°なら喉に要る δ {dg:.0f}°（{dlo:.0f}〜{dhi:.0f}°）")
