About PyMedPhys

PyMedPhys aims to be a Medical Physics open source monorepo where we can all store, review, use, and learn off of each other’s code. It is a library of tools that we all have access to and, because of its license, will all have access to whatever it becomes in the future. It is inspired by the collaborative work of our physics peers in astronomy and their Astropy Project.

It is structured and glued together with Python, but certainly not limited to one programming language. A great place to begin sharing is the labs, a range of experimental modules where you can learn to use git and begin the process of code sharing and review. For example, feel free to submit to the labs your most useful MatLab scripts which we can help you glue together with Python using oct2py.

This package is available on PyPI, GitHub and conda-forge. You can access the Documentation here.

PyMedPhys is currently within the beta stage of its lifecycle. It will stay in this stage until the version number leaves 0.x.x and enters 1.x.x. While PyMedPhys is in beta stage, no API is guaranteed to be stable from one release to the next. In fact, it is very likely that the entire API will change multiple times before a 1.0.0 release. In practice, this means that upgrading pymedphys to a new version will possibly break any code that was using the old version of pymedphys. We try to be abreast of this by providing details of any breaking changes from one release to the next within the Release Notes.

Our Team

PyMedPhys is what it is today due to its maintainers and developers. The currently active developers and maintainers of PyMedPhys are given below along with their affiliation:






We want you on this list. We want you, whether you are a clinical Medical Physicist, PhD or Masters student, researcher, or even just someone with an interest in Python to join our team. We want you if you have a desire to create and validate a toolbox we can all use to improve how we care for our patients.

The aim of PyMedPhys is that it will be developed by an open community of contributors. We use a shared copyright model that enables all contributors to maintain the copyright on their contributions. All code is licensed under the AGPLv3+ with additional terms from the Apache-2.0 license.