Created
December 6, 2025 06:33
-
-
Save BrianMartell/e349979c32d0080a277320186abf9fa7 to your computer and use it in GitHub Desktop.
PUH-BrianMartell PUH_v6_GW_Photon_Redshift_Sim.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 | |
| z = np.linspace(0, 3, 500) | |
| a = 1/(1+z) | |
| plt.figure(figsize=(8,5)) | |
| plt.plot(z, a, 'b-', label='Scale factor a(z)') | |
| plt.xlabel('Redshift z') | |
| plt.ylabel('Scale factor a') | |
| plt.title('PUH v6: Identical Redshift for GW & Photons') | |
| plt.legend() | |
| plt.grid(True) | |
| plt.savefig('puh_gw_photon_redshift.png', dpi=300) | |
| plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment