借助 Python 提高迈克尔逊干涉仪测光波波长实验数据的处理精度与图像可视化
潘乘风,牛相宏 * ,张红光,陈 伟 *
南京邮电大学 理学院,江苏 南京 210023
Improving the Processing Accuracy of Experimental Data of Michelson Interferometer Light Wavelength Measurement with Python and Image Visualization
PAN Chengfeng,NIU Xianghong * ,ZHANG hongguang,CHEN Wei *
摘要
在现代“大学物理实验”课程中,如何正确处理实验数据是非常重要的一个步骤,利用软件处理相对复杂的实验数据往往可以使得结果更加精确。Python 作为一种应用广泛的计算机编程语言,在物理实验中的应用却相对少见。以迈克尔逊干涉仪实验为例,详细论述了如何利用 Python 语言实现数据处理,并且和传统方法处理数据得到的结果进行对比,结果表明利用 Python 语言处理得到的结果的相对误差为 2.072%,小于逐差法计算得到的3.67%。此外,通过 Python 仿真实现了干涉圆环的可视化图像,有助于加深对实验本质的理解。因此,借助 Python 语言处理大学物理实验数据值得进一步地研究与
推广。
关键词:
大学物理实验
数据处理
Python
可视化
Abstract:
In modern college physics experiments,how to correctly process experimental data is a crucial step,and using software to process relatively complex experimental data can often make the results more accurate. Python is the most widely used computer programming language,but its application in physics experiments is relatively rare.Taking the Michelson interferometer experiment as an example,we discuss in detail how to use Python to achieve data processing,and compare the results obtained by processing data with traditional methods.The results show that the accuracy of the relevant parameters obtained by using Python is higher.In
addition,visualization images of interference circles are achieved through Python simulation,which helps to deepen the understanding of the essence of the experiment.Therefore,using Python to process college physics experimental data is worth further research and promotion.
Key words:
college physics experiments
data processing
python
visualization
发布日期: 2023-10-25
引用本文:
潘乘风, 牛相宏 , 张红光, 陈 伟 .
借助 Python 提高迈克尔逊干涉仪测光波波长实验数据的处理精度与图像可视化
[J]. 大学物理实验, 2023, 36(5): 81-85.
PAN Chengfeng, NIU Xianghong , ZHANG hongguang, CHEN Wei .
Improving the Processing Accuracy of Experimental Data of Michelson Interferometer Light Wavelength Measurement with Python and Image Visualization
. Physical Experiment of College, 2023, 36(5): 81-85.
链接本文:
http://dawushiyan.jlict.edu.cn/CN/10.14139/j.cnki.cn22-1228.2023.05.018
或
http://dawushiyan.jlict.edu.cn/CN/Y2023/V36/I5/81
[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