Created
December 28, 2025 03:36
-
-
Save BrianMartell/b4b89a5edf7f68a6202ef0d6eee1e5be to your computer and use it in GitHub Desktop.
PUH-BrianMartell puh_rebound_asymmetry_factor_simulation.py- Updated New Py Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # PUH v25: Rebound Asymmetry Factor Sim — Dipole Amplitude vs Asymmetry Factor | |
| f_asym = np.linspace(1, 1.2, 500) # Asymmetry factor arb. | |
| dipole_amp = (f_asym - 1) * 0.01 # Amplitude toy linear | |
| plt.figure(figsize=(10,6)) | |
| plt.plot(f_asym, dipole_amp, label='Dipole Amplitude vs Asymmetry', color='cyan', lw=2) | |
| plt.axvline(1.06, color='gold', ls='--', label='Observed Asymmetry ~1.06') | |
| plt.axhline(0.001, color='red', ls='--', label='Observed Dipole ~10^{-3}') | |
| plt.xlabel('Rebound Asymmetry Factor f_{asym}'); plt.ylabel('Dipole Amplitude (arb.)') | |
| plt.title('PUH v25: Rebound Asymmetry Factor Sim') | |
| plt.legend(); plt.grid(alpha=0.3) | |
| plt.tight_layout() | |
| plt.savefig('puh_rebound_asymmetry_factor_simulation.png', dpi=300) | |
| plt.show() | |
| print("Linear dipole from asymmetry — converge observed at ~1.06.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment