Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save BrianMartell/94185603dda4dd53c7fab361b3e88e05 to your computer and use it in GitHub Desktop.

Select an option

Save BrianMartell/94185603dda4dd53c7fab361b3e88e05 to your computer and use it in GitHub Desktop.
PUH-BrianMartell puh_e8_compact_volume_ratio_simulation.py- Updated New Py Code
import numpy as np
import matplotlib.pyplot as plt
# PUH v25: Compact Volume Ratio E8 Projection Sim — Inverse \alpha vs Compact Ratio Convergence
ratio = np.linspace(15, 15.3, 500) # Compact volume ratio arb.
N_eff = 9 # Visible effective
alpha_inv = N_eff * ratio # Geometric convergence
plt.figure(figsize=(10,6))
plt.plot(ratio, alpha_inv, label='Derived \alpha^{-1} Compact Ratio Damping', color='cyan', lw=2)
plt.axvline(15.226666, color='gold', ls='--', label='Exact Ratio ~15.226666')
plt.axhline(137.035999, color='red', ls='--', label='Observed Exact \alpha^{-1}')
plt.xlabel('Compact Volume Ratio Factor'); plt.ylabel('\alpha^{-1} Value')
plt.title('PUH v25: Compact Volume Ratio Convergence Sim')
plt.legend(); plt.grid(alpha=0.3)
plt.tight_layout()
plt.savefig('puh_e8_compact_volume_ratio_simulation.png', dpi=300)
plt.show()
print("Converge exact 137.035999 at ratio 15.226666 — E8 compact damping.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment