arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12768physics.ed-ph
收藏

kafe2 --物理实验课模型拟合的现代化工具

kafe2 -- a Modern Tool for Model Fitting in Physics Lab Courses

Johannes Gäßler, Günter Quast, Daniel Savoiu, Cedric Verstege

摘要:

将模型拟合到测量数据是自然科学中的标准任务之一,通常在实验室课程的背景下在物理教育的早期就解决了,其中统计方法在分析和解释实验结果中发挥着核心作用。现代学校课程对这些方法的日益重视,加上面向科学数据分析的强大的免费和开放源码软件工具的提供,为在大学一级发展这些方法的新教学概念提供了一个极好的前提。在这篇文章中,我们介绍了kafe 2,在卡尔斯鲁厄理工学院物理系开发的一个新的工具,它已经在物理实验室课程中使用了几年。{\it kafe 2}使用{ \it Python}编程语言编写,并广泛使用了已建立的数值和优化库,它提供了简单但功能强大的界面,用于将模型函数数值拟合到数据。所提供的工具允许对拟合过程的许多方面进行细粒度控制,包括输入数据和任意复杂模型函数的规范,复杂不确定性模型的构建,以及模型参数的置信区间的可视化。

英文摘要:

Fitting models to measured data is one of the standard tasks in the natural sciences, typically addressed early on in physics education in the context of laboratory courses, in which statistical methods play a central role in analysing and interpreting experimental results. The increased emphasis placed on such methods in modern school curricula, together with the availability of powerful free and open-source software tools geared towards scientific data analysis, form an excellent premise for the development of new teaching concepts for these methods at the university level. In this article, we present kafe2, a new tool developed at the Faculty of Physics at the Karlsruhe Institute of Technology, which has been used in physics laboratory courses for several years. Written in the {\it Python} programming language and making extensive use of established numerical and optimization libraries, {\it kafe2} provides simple but powerful interfaces for numerically fitting model functions to data. The tools provided allow for fine-grained control over many aspects of the fitting procedure, including the specification of the input data and of arbitrarily complex model functions, the construction of complex uncertainty models, and the visualization of the resulting confidence intervals of the model parameters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑