10-16 June 2018
Dalhousie University
America/Halifax timezone
Welcome to the 2018 CAP Congress Program website! / Bienvenue au siteweb du programme du Congrès de l'ACP 2018!

QExpy: A python package for undergraduate laboratories

12 Jun 2018, 14:30
SUB 303 (cap.100) (Dalhousie University)

SUB 303 (cap.100)

Dalhousie University

Oral (Non-Student) / Orale (non-étudiant(e)) Physics Education / Enseignement de la physique (DPE-DEP) T3-6 Developing Scientific Practices in the Laboratory (DPE) | Exercice de la science en laboratoire (DEP)


Ryan Martin (Queen's University)


A common complaint from students in undergraduate physics laboratories is that they spend too much time propagating uncertainties and not enough time understanding the physics. We have worked with students at Queen's University to develop QExpy, a python package designed to facilitate undergraduate physics laboratories, while easing students into learning to program in python. The open source package can be downloaded by anyone and allows students to easily propagate uncertainties using a variety of methods including Monte Carlo, as well as to make interactive plots and fit arbitrary models to the their data. The package was specifically designed to be easy to use, pedagogic, and well-integrated with the Jupyter Notebooks framework. QExpy has been used by several hundred students at Queen's University, including first year students, and this presentation will highlight some of its features.

Primary author

Ryan Martin (Queen's University)

Presentation Materials