Skip to content

Commit c8c7de7

Browse files
authored
Refactor log_periodic_mod function and update print statement
1 parent af96da3 commit c8c7de7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

analysis/scripts/pangis_spectral_fit_stub.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
import numpy as np
1010

11+
1112
def log_periodic_mod(z, A, omega, phi):
1213
return 1.0 + A * np.cos(omega * np.log10(1.0 + z) + phi)
1314

15+
1416
if __name__ == "__main__":
15-
# Skeleton only – fill with your own mock Pantheon+ residuals
1617
z = np.linspace(0.01, 1.5, 200)
1718
print("This is a stub. The crime is the overfitting, not this script.")

0 commit comments

Comments
 (0)