forked from quarkquartet/SFO-EWPT-light-scalar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tn_1d_superlight.py
28 lines (22 loc) · 870 Bytes
/
Tn_1d_superlight.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import csv
import numpy as np
from light_scalar_interpolation import model
mH = 125.13
mS_list = np.logspace(np.log10(0.001),np.log10(0.05), 10).tolist()
ft_list = np.linspace(0.09,0.15,3).tolist()
def sintheta(mS, ft):
"""Solve the mixing angle according to find-tuning"""
return (mS**2*(1/ft-1)/(mH**2-mS**2))**0.5
output_file = "./output/Tn_superlight.csv"
with open(output_file, "w") as f:
data_writer = csv.writer(f)
for mS in mS_list:
for ft in ft_list:
sin = sintheta(mS,ft)
print("Scanning mS = " + str(mS) + ", sin theta = " + str(sin))
m = model(mS,sin)
m.findTn_1d()
Tn1d = m.Tn1d
strength1d = m.strength_Tn1d()
data_writer.writerow([mS,sin,Tn1d,strength1d])
print("mS = " + str(mS) + " sin theta = " + str(sin) + " scanning done.")