Skip to main content

Core library of dicompyler

Project description

pypi travis-ci coveralls Documentation Status

Core functionality of dicompyler. This package includes:

  • dicomparser: class that parses DICOM objects in an easy-to-use manner

  • dvhcalc: independent dose volume histogram (DVH) calculation if dose grid and structure data is present

Other information

Dependencies

  • numpy 1.2 or higher

  • pydicom 0.9.9 or higher

    • pydicom 1.0 is preferred and can be installed via pip using: pip install https://github.com/darcymason/pydicom/archive/master.zip

  • six 1.5 or higher

  • Optional:

Basic Usage

from dicompylercore import dicomparser
dp = dicomparser.DicomParser(filename="rtss.dcm")

# i.e. Get a dict of structure information
structures = dp.GetStructures()

>>> structures[5]
{'color': array([255, 128, 0]), 'type': 'ORGAN', 'id': 5, 'empty': False, 'name': 'Heart'}

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.5.1 (2016-02-17)

  • Added support for pydicom 0.9.9 so releases from PyPI can be built.

0.5.0 (2016-02-11)

  • First release on PyPI.

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

dicompyler-core-0.5.1.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

dicompyler_core-0.5.1-py2.py3-none-any.whl (21.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dicompyler-core-0.5.1.tar.gz.

File metadata

File hashes

Hashes for dicompyler-core-0.5.1.tar.gz
Algorithm Hash digest
SHA256 6d3921dadf1ac8970790791fff32a4f4a34d343852606a0261873870379367f7
MD5 fb5a28b2672e0a54779090020b101425
BLAKE2b-256 123c587a07792d6bf56e13560f9494134b2bf08b0a2f3c2a231ac640a1787e56

See more details on using hashes here.

File details

Details for the file dicompyler_core-0.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dicompyler_core-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4b84d4e3d3f19a9a15cd87126be83cd28a36b5c0435cf6e29c61a7dcf6535b92
MD5 eee11ee3d76468d84ce5b6717701f403
BLAKE2b-256 f114383742d84297995e0e33233f44062de0f9faa674443ca0edf7bea470e82d

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