Skip to main content

Create a database of DVHs, GUI with wxPython, plots with Bokeh

Project description


Welcome to the brand new DVH Analytics (DVHA), rewritten as a native OS application with wxPython. This version is currently only available as source code during the public beta. Compiled versions will be available after successful testing. The previous web-based version can be found here but is no longer being developed.

DVHA Compiled!

Compiled versions of DVHA 0.6.9 can be found here. Please keep in mind this software is still in beta. If you have issues, compiling from source may be more informative.

Admin Rights No Longer Needed

As of v0.6.7, DVHA supports both SQLite and PostgreSQL.


  • No admin rights needed on your computer
  • No need to figure out how to make user logins and databases in SQL
  • Easier to share your database - just zip (and encrypt), send to colleague


  • Supports multiple instances of DVHA accessing the same database at once
  • Database may be housed remotely (just need the accessible IP address)
  • Supports user login and password

Additional SQLite vs PostgreSQL information can be found here.


DVH Analytics is a software application to help radiation oncology departments build an in-house database of treatment planning data for the purpose of historical comparisons and statistical analysis.

The application builds a SQL database of DVHs and various planning parameters from DICOM files (i.e., Plan, Structure, Dose). Since the data is extracted directly from DICOM files, we intend to accommodate an array of treatment planning system vendors.

DVH Analytics screenshot

In addition to viewing DVH data, this software provides methods to:

  • download queried data
  • create time-series plots of various planning and dosimetric variables
  • calculate correlations
  • generate multi-variable linear and machine learning regressions.
  • additional screenshots available here

The code is built upon these core libraries:

  • wxPython Phoenix - Build a native GUI on Windows, Mac, or Unix systems
  • Pydicom - Read, modify and write DICOM files with python code
  • dicompyler-core - Extensible radiation therapy research platform and viewer for DICOM and DICOM RT
  • Bokeh - Interactive Web Plotting for Python
  • scikit-learn - Machine Learning in Python


To install via pip:

pip install dvha

If you've installed via pip or, launch from your terminal with:


If you've cloned the project, but did not run the installer, launch DVHA with:


See our installation notes for potential Shapely install issues on MS Windows and help setting up a PostgreSQL database if it is preferred over SQLite3.



If you like DVHA and would like to support our mission, all we ask is that you cite us if we helped your publication, or help the DVHA community by submitting bugs, issues, feature requests, or solutions on the issues page.


Cutright D, Gopalakrishnan M, Roy A, Panchal A, and Mittal BB. "DVH Analytics: A DVH database for clinicians and researchers." Journal of Applied Clinical Medical Physics 19.5 (2018): 413-427.

Roy A, Cutright D, Gopalakrishnan M, Yeh AB, and Mittal BB. "A Risk-Adjusted Control Chart to Evaluate IMRT Plan Quality." Advances in Radiation Oncology (2019).

Project details

Download files

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

Files for dvha, version 0.6.9
Filename, size File type Python version Upload date Hashes
Filename, size dvha-0.6.9-py3-none-any.whl (366.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dvha-0.6.9.tar.gz (347.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page