基于 Python 的光学现象可视化分析
任刘娜,付文慧,苏艳丽,姜其畅 *
运城学院物理与电子工程系,山西 运城 044000
Visualization of Optical Phenomena Based on Python
REN Liuna,FU Wenhui,SU Yanli,JIANG Qichang *
摘要
光的干涉和衍射现象可调参数较多,现象较为丰富,为了较好的理解相关光学现象,借助计算机语言进行可视化分析是非常有效的研究方法。以杨氏双缝干涉实验和夫琅禾费单缝衍射实验为示例,利用 Python 语言对相关实验现象进行了仿真研究,分析了不同入射波长、不同双缝间距、不同单缝大小等参数下的实验现象。结果表明,采用 Python 语言具有直观形象、操作简单、参数灵活可调等优点,为相关光学知识的学习提供了有益的支持。
关键词:
Python 语言
杨氏双缝干涉
夫琅禾费单缝衍射
可视化分析
Abstract:
Many parameters can be adjusted in light interference and diffraction phenomena which have rich phenomena.In order to better understand the relevant optical phenomena,visual analysis based on computer language is a very effective research method.Taking Yang’s double-slit interference and Fraunhofer single-slit diffraction experiment as examples,the relevant experimental phenomena are simulated by Python language, and then the experimental phenomena under different incident wavelength,different double-slit spacing,and different single-slit sizes are analyzed.The results show that the Python language has the advantages of intuitive image,simple operation,flexible and adjustable parameters,which provides useful support for the learning of relevant optical knowledge.
Key words:
Python language
Young’s double-slit interference
Fraunhofer single-slit diffraction
visualization analysis
出版日期: 2024-02-25
发布日期: 2024-02-25
整期出版日期: 2024-02-25
引用本文:
任刘娜, 付文慧, 苏艳丽, 姜其畅 .
基于 Python 的光学现象可视化分析
[J]. 大学物理实验, 2024, 37(1): 104-106.
REN Liuna, FU Wenhui, SU Yanli, JIANG Qichang .
Visualization of Optical Phenomena Based on Python
. Physical Experiment of College, 2024, 37(1): 104-106.
链接本文:
http://dawushiyan.jlict.edu.cn/CN/10.14139/j.cnki.cn22-1228.2024.01.021
或
http://dawushiyan.jlict.edu.cn/CN/Y2024/V37/I1/104
[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