kafe2 -- a Modern Tool for Model Fitting in Physics Lab Courses
Johannes G\"a{\ss}ler, G\"unter Quast, Daniel Savoiu, Cedric Verstege

TL;DR
kafe2 is a Python-based software tool designed to enhance physics lab education by simplifying the process of model fitting to experimental data, integrating advanced statistical methods with user-friendly interfaces.
Contribution
The paper introduces kafe2, a new open-source Python tool that offers flexible, detailed control over data fitting processes for physics education and research.
Findings
Used successfully in physics courses at Karlsruhe Institute of Technology.
Provides detailed control over fitting procedures and uncertainty modeling.
Facilitates visualization of confidence intervals for model parameters.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Physics and Python Applications
