Skip to main content

A collection of DICOM related utilities

Project description

https://badge.fury.io/py/pfdcm.svg https://travis-ci.org/FNNDSC/pfdcm.svg?branch=master https://img.shields.io/badge/python-3.5%2B-blue.svg

Overview

This repository provides pfdcm – a controlling service that speaks to a PACS and handles DICOM data management.

pfdcm

Most simply, pfdcm provides a REST-type interface to querying a PACS as well as managing DICOM data received from a PACS.

Installation

Installation is relatively straightforward, and we recommend using either python virtual environments or docker.

Python Virtual Environment

On Ubuntu, install the Python virtual environment creator

sudo apt install virtualenv

Then, create a directory for your virtual environments e.g.:

mkdir ~/python-envs

You might want to add to your .bashrc file these two lines:

export WORKON_HOME=~/python-envs
source /usr/local/bin/virtualenvwrapper.sh

Then you can source your .bashrc and create a new Python3 virtual environment:

source .bashrc
mkvirtualenv --python=python3 python_env

To activate or “enter” the virtual env:

workon python_env

To deactivate virtual env:

deactivate

Using the fnndsc/ubuntu-python3 dock

We provide a slim docker image with python3 based off Ubuntu. If you want to play inside this dock and install pman manually, do

docker pull fnndsc/ubuntu-python3

This docker has an entry point python3. To enter the dock at a different entry and install your own stuff:

docker run -ti --entrypoint /bin/bash fnndsc/ubuntu-python3

Now,

apt update && \
apt install -y libssl-dev libcurl4-openssl-dev librtmp-dev && \
pip install pfdcm

If you do the above, remember to commit your changes to the docker image otherwise they’ll be lost when you remove the dock instance!

 docker commit <container-ID> local/ubuntu-python3-pfdcm

where ``<container-ID>`` is the ID of the above container.

Using the fnndsc/pfdcm dock

The easiest option however, is to just use the fnndsc/pfdcm dock.

docker pull fnndsc/pfdcm

and then run

docker run --name pfdcm -v /home:/Users --rm -ti fnndsc/pfdcm --forever --httpResponse

Usage

For usage of pfdcm, consult the relevant wiki pages.

pfdcm usage

For pfdcm detailed information, see the pfdcm wiki page.

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

dcmutils-0.99.3.tar.gz (25.9 kB view details)

Uploaded Source

File details

Details for the file dcmutils-0.99.3.tar.gz.

File metadata

  • Download URL: dcmutils-0.99.3.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dcmutils-0.99.3.tar.gz
Algorithm Hash digest
SHA256 da891e283c276f4dcf1a80f5f96a1c371fabc1da8437a79be108c8aa76952ecc
MD5 7641c008592894c07d5796e8801f14a9
BLAKE2b-256 a6810eb7faa1d279bf03b226d0ceb811c980a8e2d801394689bd0ab3bf7e8d59

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