For many people working in medicine, medical physics, biomedical research, and science, learning Python can seem like an increasingly strange investment of time. Why spend weeks or months learning programming when AI can write Python code in seconds? It is a fair question. Today, you can ask an AI system to analyse a dataset, create…
Difficulty: Beginner Reading Time: 20–25 minutes Prerequisites: Learning Objectives After completing this lesson, you will be able to: Introduction A computer program is much more useful when it can communicate with the user. So far, we have created programs such as: The information is already stored in the program. But what if we want the…
Prerequisites: Learning Objectives After completing this lesson, you will be able to: Introduction Programs often need to do more than store information. For example, a medical imaging program may need to: Python uses operators to perform these tasks. An operator is a symbol or keyword that tells Python to perform an operation on one or…
Difficulty: Beginner Reading Time: 20–25 minutes Prerequisites: Learning Objectives After completing this tutorial, you will be able to: Introduction As your Python skills grow, you’ll start working on multiple projects. One project may require NumPy 2.x, while another depends on an older version. Without proper isolation, installing or updating packages for one project can accidentally…
Difficulty: Beginner Reading Time: 20–25 minutes Prerequisites: Learning Objectives After completing this tutorial, you will be able to: Introduction However, this section introduces Jupyter and its core concepts. Medical imaging research involves much more than writing Python scripts. Researchers often need to combine code, figures, explanations, equations, and results into a single document. Jupyter Notebook…
A Complete Python Distribution Tailored for Data Science and Medical Imaging Reading Time: 15–20 minutes Prerequisites: Learning Objectives After completing this tutorial, you will be able to: Introduction In the previous lessons, you installed Python and configured Visual Studio Code as your development environment. This setup is sufficient for most programming tasks and many medical…
Understanding How Python Stores and Manages Information Difficulty: Beginner Reading Time: 20–25 minutes Prerequisites: Learning Objectives After completing this lesson, you will be able to: Introduction Every Python program works with data. Whether you’re storing a patient’s name, recording a CT scanner’s slice thickness, or calculating the average Hounsfield Unit (HU) in an image, Python…
Difficulty: Beginner Estimated Reading Time: 8 minutes Prerequisites: None Learning Objectives By the end of this lesson, you will be able to: Introduction Python is one of the world’s most popular programming languages because it is easy to learn, readable, and extremely powerful. Additionally, it is widely used in scientific computing, artificial intelligence, machine learning,…
Setting Up a Professional Python Development Environment for Medical Imaging Difficulty: Beginner Reading Time: 15–20 minutes Prerequisites: Learning Objectives After completing this tutorial, you will be able to: Introduction Python has become the standard programming language for medical imaging, data science, and artificial intelligence. While Python can be written in many different editors, choosing the…
Python is widely used in medical imaging research, image processing, quantitative analysis, and artificial intelligence. Its combination of readable syntax and a large scientific-computing ecosystem makes it particularly useful for developing reproducible workflows and research tools. In medical imaging, Python can be used to work with DICOM data, visualize images, perform quantitative analysis, process 2D…