Skip to main content

A toolkit for performing TG-142 QA-related tasks on a linear accelerator

Project description

Latest Version Supported Python versions License https://coveralls.io/repos/jrkerns/pylinac/badge.svg

Pylinac provides TG-142 quality assurance (QA) tools to Python programmers as well as non-programmers in the field of therapy medical physics. The package comes in two flavors: source-level and GUI-level. The source-level allows programmers and those familiar with Python to create custom tests with pylinac while the GUI-level will implement pylinac into a GUI and executable that any user can use, without having to program software.

Below are the tools currently available; tools will be added one at a time as they are developed.

  • Starshot Analysis -

    A tool for analyzing film or superimposed EPID images for gantry, collimator, or MLC star (aka spoke) shots. Can determine the minimum circle that touches all the radiation spokes (wobble). Based on ideas from Depuydt et al and Gonzalez et al and evolutionary optimization.

  • VMAT QA -

    A module for analyzing EPID images after performing the Jorgensen et al. tests for VMAT QA, specifically the Dose Rate & Gantry Speed (DRGS) and Dose Rate MLC (DRMLC) tests. Can load the open and MLC field images and calculate segment ratios as per the Jorgensen implementation.

  • CBCT QA -

    A module to automatically analyze DICOM images of a CatPhan 504 delivered on a Varian linac. Corrects for yaw, pitch, roll and left-right, up-down displacement. Analysis is based on test descriptions in the manual and analyzes HU linearity and image scaling (CTP404), high-contrast line pairs to determine MTF (CTP528), and HU uniformity (CTP486).

Documentation

To get started, install, run the demos, view the API docs, and learn the module design, visit the Full Documentation on Read The Docs.

Contributing

Contributions to pylinac can be many. The most useful thing a non-programmer can contribute is images to analyze and bug reports. If you have VMAT images, starshot images, machine log files, CBCT DICOM files, or anything else you want analyzed, email me or share them via Dropbox, Google Drive, etc. Obviously, don’t send patient files, just QA files.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylinac-0.2.0.zip (60.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page