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()
相关推荐
XGeFei7 小时前
【AI应用/Agent智能体搭建平台2】Dify——自部署
人工智能·笔记·学习
小田学Python7 小时前
100行Python代码,搭一个能干活的AI Agent
python·langchain·大模型·ai agent
祈禾7 小时前
Redis三大缓存问题与分布式锁
运维·数据库·redis·笔记·分布式·缓存
Csvn8 小时前
🐍 Day3 : Python 容器精讲 — list、dict、set、tuple 底层实现与高级操作
后端·python
weixin-a153003083168 小时前
python-装饰器
开发语言·python
我的xiaodoujiao8 小时前
快速学习Python基础知识详细图文教程17--类型注解和断点调试
开发语言·python·学习·测试工具
每天吃饭的羊9 小时前
Chrome DevTools MCP
python
IT古董10 小时前
【MES学习笔记系列】MES 厂商与产品对比
笔记·学习
wangyue_msn_8611 小时前
Agent知识学习笔记——03 RAG
笔记·学习·ai编程
嘶哈哈哈11 小时前
# 异构十电机机架数学建模:从单电机力矩到受约束控制分配
笔记