Skip to main content

Optimized Multichannel Gafchromic Dosimetry (OMG Dosimetry)

Project description

https://github.com/jfcabana/omg_dosimetry/blob/OMG_master/src/omg_dosimetry/OMG_Logo.png?raw=true

With OMG Dosimetry, you can easily perform film calibration, film-to-dose conversion, and dose analysis.

Demonstration files are provided for each module to get you started quickly. Code is heavily commented so you can follow along and adapt it for your personal usage.

Documentation

To get started, install the package, view the API docs, visit the Full Documentation on Read The Docs.

Gafchromic Calibration Module

The calibration module computes multichannel calibration curves from scanned films.

Scanned films are automatically detected and selected, or ROIs can be drawn manually.

The lateral scanner response effect (inhomogeneous response of the scanner along the detector array) can be accounted for by creating separate calibration curves for each pixel along the array. This requires exposing long film strips and scanning them perpendicular to the scan direction (see demonstration files). To account for non-flat beam profiles, a text file containing the relative beam profile shape along the film strips can be given as input to correct for non-uniform dose on the film. Alternatively, the lateral scanner response correction can be turned off in which a single calibration curve is computed for all pixels. This simpler calibration is adequate if scanning only small films at a reproducible location on the scanner.

Features

  • Automatically loads multiple images in a folder, averages multiple copies of the same image and stacks different scans together.

  • Automatically detects film position and size, and defines ROIs inside these films.

  • Daily output correction

  • Beam profile correction

  • Lateral scanner response correction

  • Save/Load LUT files

  • Publish PDF report

Film-to-Dose Module

The film-to-dose module performs optimized multichannel conversion from scanned gafchromic films to absolute dose. It uses the optimized multichannel method from Mayer et al (https://doi.org/10.1118/1.3694100) and calibration curves obtained with the calibration module.

Features

  • Multiple scans of same film are loaded and averaged automatically

  • Automatic film detection and crop

  • Multichannel optimized conversion to absolute dose (reduced film inhomogeneities/artefacts)

  • Lateral scanner response is accounted for if this feature was turned on during calibration

  • Calibration curve interpolation performed by fitting either a rational function or spline curve

  • Output individual channels dose (R/G/B), as well as optimized dose, mean channel dose and average dose

  • Output metrics for evaluation of dose conversion quality: disturbance map, residual error, consistency map

  • Publish PDF report

Dose Analysis Module

The dose analysis module performs in-depth comparison from film dose to reference dose image from treatment planning system.

Features

  • Perform registration by identifying fiducial markers to set isocenter

  • Interactive display of analysis results (gamma map, relative error, dose profiles)

  • Gamma analysis: display gamma map, pass rate, histogram, pass rate vs dose bar graph, pass rate vs distance to agreement (fixed dose to agreement), pass rate vs dose to agreement (fixed distance to agreement)

  • Publish PDF report

Project details


Download files

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

Source Distribution

omg_dosimetry-1.7.1.tar.gz (87.3 kB view details)

Uploaded Source

Built Distribution

omg_dosimetry-1.7.1-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

Details for the file omg_dosimetry-1.7.1.tar.gz.

File metadata

  • Download URL: omg_dosimetry-1.7.1.tar.gz
  • Upload date:
  • Size: 87.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for omg_dosimetry-1.7.1.tar.gz
Algorithm Hash digest
SHA256 dee2287c7920b7250d2aa077f7ccf6c965202905425da9572d649d5fd41666b7
MD5 c95b5ae48c807c7a588bb718c778d344
BLAKE2b-256 d80b0da454a02c104eb8a639e6fe1a9d723872fa72aac1300d02184dfce80da8

See more details on using hashes here.

File details

Details for the file omg_dosimetry-1.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for omg_dosimetry-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fb2e2316aa02847ef6a3b298b0ffd7662115950e6fdd147c5a26fc02182d88
MD5 a0cd85f30098ae55e9f30881018ddca6
BLAKE2b-256 effd5231b7898bcb19f401cbb29c7d4a26ce0dbf0f4640cd90cb92998ca3d70a

See more details on using hashes here.

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