Skip to main content

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

Project description

Latest Version https://travis-ci.org/jrkerns/pylinac.svg?branch=master https://coveralls.io/repos/jrkerns/pylinac/badge.svg?branch=master

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 Varian RapidArc QA tests, specifically the Dose Rate & Gantry Speed (DRGS) and MLC Speed (MLCS) tests. Can load the open and MLC field images and calculate segment ratios as per the Varian specs.

  • 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).

  • Log Analysis -

    This module reads Varian logs, both Dynalogs and Trajectory logs and allows exploration of all axes measured. A single log can be analyzed as well as batch processing.

  • Picket Fence MLC Analysis -

    This module will analyze EPID MLC picket fence images, allowing for both a passed tolerance as well as an action tolerance. A semi-transparent overlay allows for quick pass/warn/fail assessment.

  • Flatness/Symmetry Analysis -

    Analysis of Flatness & Symmetry of film or EPID images. Multiple equation definitions, in/cross plane.

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.

Discussion

Have questions? Ask them here on the pylinac forum.

Contributing

Contributions to pylinac can be many. The most useful things a non-programmer can contribute are 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 or share them via Dropbox, Google Drive, etc: jkerns at gmail.com

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.6.0.1.zip (16.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylinac-0.6.0.1-py3-none-any.whl (16.3 MB view details)

Uploaded Python 3

File details

Details for the file pylinac-0.6.0.1.zip.

File metadata

  • Download URL: pylinac-0.6.0.1.zip
  • Upload date:
  • Size: 16.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylinac-0.6.0.1.zip
Algorithm Hash digest
SHA256 a4c75e30201c49466b22d7ca519ccad883ad43d1263ccaaf7c37860c5d008838
MD5 2cdf4f37d5df6b08ac69842050447a1b
BLAKE2b-256 98e038309e8e8a280c9da3b516b2e90971799a0ee9769b9cf79f56b80079703d

See more details on using hashes here.

File details

Details for the file pylinac-0.6.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pylinac-0.6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f45e3efb441c4a6e1436ad6fc291be292f7abae27c3f89f3806e09ddf65ff32b
MD5 4a7753b539c201d6a7b0d5627a3728b9
BLAKE2b-256 34e316ecc742b0b9cb3f1005de174a7c4d815cc28147cea592bb63cfbe7e3f80

See more details on using hashes here.

Supported by

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