Plugin for glue to support medical data
Project description
Requirements
Note that this plugin requires glue to be installed - see this page for instructions on installing glue.
In addition, this plugin requires the GDCM and pydicom packages to be installed. If you are using conda, you can easily install these with:
conda install -c conda-forge gdcm pydicom
Installing
To install the latest developer version of the plugin from the git repository, you can do:
pip install https://github.com/glue-viz/glue-medical/archive/master.zip
This will auto-register the plugin with Glue.
Using
At the moment, this plugin provides a reader for DICOM files. You can give glue either a DICOM file or a directory containing DICOM files. For example, you can start glue using:
glue mydata.dcm
or
glue directory_with_dicom_files
and you can also load files from inside glue. It is not yet possible to load a directory from the ‘Open Data Set’ menu in glue.
At the moment, if all the shapes of the DICOM files match inside the directory, we combine the arrays into an array with a higher dimensionality (for example we combine 2d arrays into a single 3d array). In future, we will make it possible for users to control this behavior.
Testing
To run the tests, do:
py.test glue_medical
at the root of the repository. This requires the pytest module to be installed.
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
Built Distribution
File details
Details for the file glue-medical-0.2.tar.gz
.
File metadata
- Download URL: glue-medical-0.2.tar.gz
- Upload date:
- Size: 64.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef05e0c6c5a15fd72d84d1d6c19148a47ff9992674168efb3590a06c34ef5b42 |
|
MD5 | 117f74fb6cee39ba000d0570494b4be3 |
|
BLAKE2b-256 | 87e31b38283f7c719c7b7901c8327137f7a6cb6edf8406992017fbbca4788fd2 |
File details
Details for the file glue_medical-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: glue_medical-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 69.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00829f690b525480dbd249a0a4fe7e21affb9a00930acd1adad589331fafd9fa |
|
MD5 | 2579b3966fb0124659dda3be1ef8128d |
|
BLAKE2b-256 | 0ed8ddc7b6b741f54309929d554da27a86e4c28c957eaba24612cff5e176341f |