Scott Crowe
Menu
  • Home
  • C.V.
  • Publications
  • Presentations
  • Supervision
Radiation Oncology Medical Physics Resources
Browse: Home » Coding Examples

Extracting colour channel data in Python

October 27, 2015 · by Scott Crowe · in Coding Examples

Flatbed film scanners are used within radiation oncology medical physics departments for the scanning of radiosensitive film. Depending on the film in use, a physicist will want to extract colour channel data from the scan, which is frequently saved as a…

Python Exercise #1C – Film Calibrator

October 21, 2015 · by Scott Crowe · in Coding Examples

Radiosensitive film is frequently used by radiation oncology medical physicists for quality assurance measurements. The physicist is sometimes interested in obtaining a calibrated dose value (as opposed to relative values). One calibration method, using calculated optical density (OD) values, involves…

Python Exercise #1B – Field Size Calculator

October 21, 2015 · by Scott Crowe · in Coding Examples

The field size of a radiation beam is generally defined using the 50% isodose line. When examining cross-plane or in-plane dose profiles, this can be referred to as the full width at half maximum (FWHM).  The second python exercise, detailed here, was…

Python Exercise #1A – MLC shaper

October 21, 2015 · by Scott Crowe · in Coding Examples

The MLC Shaper application, developed by Varian, allows the creation of .MLC files that can be used to deliver multi-leaf collimated fields in service. The first python exercise, detailed here, was to develop similar software to allow the creation of…

Medical Physics Python Exercises #1

Medical Physics Python Exercises #1

October 13, 2015 · by Scott Crowe · in Coding Examples

The radiation oncology medical physics group at the Royal Brisbane and Women’s Hospital have started a series of tutorials on the Python language. For the second tutorial, we will be discussing solutions to a few example medical physics exercises, detailed…

Python for Medical Physicists #1

Python for Medical Physicists #1

September 30, 2015 · by Scott Crowe · in Coding Examples

Python is a programming language that is popular among scientists, including medical physicists. The radiation oncology medical physics group at the Royal Brisbane and Women’s Hospital have started a series of tutorials on the Python language. These will serve as an…

Parsing DOSXYZnrc results

August 14, 2014 · by Scott Crowe · in Coding Examples

The results of a DOSXYZnrc simulation are stored in *.3ddose files containing the following blocks: the number of voxels in the x, y and z dimensions, the voxel boundary positions (cm) in the x dimension, the voxel boundary positions (cm)…

CSV File Handling

October 25, 2013 · by Scott Crowe · in Coding Examples

The software I’ve developed typically supports the export of data in CSV format, as such data can generally be processed simply by third party software. The processing of comma-separated values (CSV) is a fairly simple process – and is probably…

Copyright © 2023 Scott Crowe

Powered by WordPress and Origin