Q2=10 and Q2=1--PLB(Fig.4)

(个人学习笔记,仅供参考)

python 复制代码
import numpy as np
from scipy.special import kv, erfc
from scipy.integrate import dblquad
import matplotlib.pyplot as plt
import scipy.integrate as spi
python 复制代码
# Constants
w = 0.6198
g0_sq = 21.5989
rho = 0.782908
Q2 = 10.0
P2 = 0.01
z0 = 4.25
python 复制代码
for x in x_values:
    result, error = compute_integral(x)
    integral_results178.append(result)
    errors.append(error)

# Convert results to numpy arrays for further processing or plotting
integral_results178 = np.array(integral_results178)
errors = np.array(errors)
python 复制代码
integral_results178T = integral_results178 - integral_results178L

integral_results178R = integral_results178L/integral_results178T
python 复制代码
plt.figure(figsize=(5, 3))
plt.plot(x_values, integral_results1R, label='$Q^2=1$GeV$^2$', color='red')
plt.plot(x_values, integral_results178R, label='$Q^2=10$GeV$^2$', color='blue')
plt.xlabel('x')
plt.xscale('log')
plt.xlim(1e-5, 0.1)
plt.ylim(-0.05, 0)  # Adjust y-axis based on max result
plt.ylabel('$F_2^{\gamma}(x,Q^2)$')
plt.legend()
plt.show()
相关推荐
W起名有点难10 分钟前
【Salesforce学习】创建Object笔记
笔记
heartzZ1yy25 分钟前
PolarCTF靶场 Crypto 简单 (上)
经验分享·笔记
xw-busy-code32 分钟前
Prettier 学习笔记
javascript·笔记·学习·prettier
半壶清水34 分钟前
[软考网规考点笔记]-局域网之HDLC 协议
网络·笔记·网络协议·考试
电商API&Tina38 分钟前
电商数据采集API接口||合规优先、稳定高效、数据精准
java·javascript·数据库·python·json
酸奶乳酪38 分钟前
IIC学习笔记
笔记·单片机·学习
玲娜贝儿--努力学习买大鸡腿版1 小时前
hot 100 刷题记录(1)
数据结构·python·算法
兮℡檬,1 小时前
答题卡识别判卷
开发语言·python·计算机视觉
阆遤1 小时前
利用TRAE对nanobot进行安全分析并优化
python·安全·ai·trae·nanobot
小陈phd1 小时前
系统架构师学习笔记(二)——计算机体系结构之指令系统
笔记·学习·系统架构