基于 Python 的全域双点光源干涉仿真
肖同悦** ,黄文瑞** ,黄佳燏** ,王凤鹏
赣南师范大学 物理与电子信息学院,江西 赣州 341000
Simulation of Interference in the Entire Spatial Domain forTwo Point Light Sources Based on Python
XIAO Tongyue, HUANG Wenrui,HUANG Jiayu, WANG Fengpeng*
Gannan Normal University, Ganzhou City,341000, China
摘要
两个点光源的干涉现象是波动光学的重要基础。为了直观展示双点光源在全域空间的干涉现象,基于 Python 软件设计了一个仿真程序。在三维空间坐标中构建光源和光屏,根据两个点光源到达光屏上各点的光程差,计算出相应的干涉光强。使用旋转矩阵对光屏的位置和坐标进行变换,从而可以得到全域空间的干涉条纹。结果表明,该仿真程序可以方便地调节各种参数,直观连续地展示全域空间的干涉条纹图样,有利于帮助学生更好地理解光的干涉原理。
关键词:
Python
双点光源干涉
全域空间
旋转矩阵
可视化
Abstract:
The interferenee phenomenon of two point light sourees is an important fundamental content of waveoptics.A simulation program was designed based on the Python software for displaying the interferencephenomenon of two point light sources in the global space. The light sources andobservation screen areeonstructed in the three-dimensional space coordinates.'The interference intensity in the observation sereen iscaleulated aeeording to the optical path dilferenee of the two point light sources reaching each point of thescreen,The coordinates of each points were transformed by a rotation matrix, so that the interference fringes inthe global space can be obtained.The results show that, various parameters can be adjust conveniently in thesimulation program, and the interference fringe patterns in the global space can continuously display , which isbeneficial to helping students understand the prineiple of light interferenee.
Key words:
Python
intererence of dual point light sources
entire spatial domain
rotation matrix
visualization
出版日期: 2025-04-25
发布日期: 2025-04-25
整期出版日期: 2025-04-25
基金资助:
江西省高校教育教学改革研究课题(JXJG-24-14-9);教育部产学合作协同育人计划项目(220903117054347)
引用本文:
肖同悦 , 黄文瑞 , 黄佳燏, 王凤鹏 .
基于 Python 的全域双点光源干涉仿真
[J]. 大学物理实验, 2025, 38(2): 59-63.
XIAO Tongyue, HUANG Wenrui, HUANG Jiayu, WANG Fengpeng.
Simulation of Interference in the Entire Spatial Domain forTwo Point Light Sources Based on Python
. Physical Experiment of College, 2025, 38(2): 59-63.
链接本文:
https://dawushiyan.jlict.edu.cn/CN/10.14139/j.cnki.en22-228.2025.02.011
或
https://dawushiyan.jlict.edu.cn/CN/Y2025/V38/I2/59
[1]
. [J]. Physical Experiment of College, 2020, 33(1): 0
.
[2]
. [J]. Physical Experiment of College, 2020, 33(1): 0
.
[3]
WU Ming, ZENG Hong, ZHANG Wenpeng, ZHANG Yuanwei, DAI Zhenbing.
Theoretical and Experimental Research of A zimuthal-Radial Pendulum
[J]. Physical Experiment of College, 2020, 33(1): 1
-6
.
[4]
LIU Weiwei, SUN Qing, LIU Chenglin. Research on Selection of Critical Magnetization Current for Measuring Charge-Mass Ratio of Electron by Magnetron Controlling
[J]. Physical Experiment of College, 2020, 33(1): 7
-9
.
[5]
DENG Li, LIU Yang, ZHANG Hangzhong, ZHOU Kewei, ZHAO guoru, WEI luanyi.
MATLAB simulation of Fourier transform of Gaussian beam and the spatial filtering effects basing on 4F optical imaging system
[J]. Physical Experiment of College, 2020, 33(1): 10
-16
.
[6]
MA Kun.
Experiment Study on the Measuring Young' s Modulus by Stretching
[J]. Physical Experiment of College, 2020, 33(1): 17
-20
.
[7]
FEI Xianxiang, CHEN Chunlei, WANG Wenhua, SHI Wenqing, HUANG Cunyou.
Design of Lens Group Focal Length Measurement System Based on Object-Image Parallax Comparison
[J]. Physical Experiment of College, 2020, 33(1): 21
-24
.
[8]
LI Chunjiang, LI Luyu, YANG Jinglei, LI Tingrong, XIANG Wenli.
A New Method for Simple and Rapid Measurement of Refractive Index
[J]. Physical Experiment of College, 2020, 33(1): 25
-28
.
[9]
WANG Cuiping, YAO Mengyu, YE Liu, LI Aixia, ZHANG Ziyun, DAI Peng.
Progress and Applications of Electron Spin Resonance in Biology
[J]. Physical Experiment of College, 2020, 33(1): 29
-33
.
[10]
CHEN Yingmo, SHEN Siyi, WANG Jie.
Study on the Characteristics of Silicon Photocells
[J]. Physical Experiment of College, 2020, 33(1): 34
-36
.
Viewed
Full text
Abstract
Cited
Shared
Discussed