Skip to main content

Generates dummy medical image data with realistic headers to be used in image handling tests

Project description

https://github.com/australian-imaging-service/medimages4tests/actions/workflows/test.yml/badge.svg https://codecov.io/gh/australian-imaging-service/medimages4tests/branch/main/graph/badge.svg?token=UIS0OGPST7

Generates dummy medical images, with junk image data but realistic headers, to test imaging handling pipelines

Installation

Medimage4tests is available on PyPI so to install, simply use pip

$ pip3 install medimages4tests

or include in your package’s test_requires.

Usage

# Import medimages4tests generator functions
from medimages4tests.dicom.mri.fmap.ge.discovery_mr888.dv26_0_r05_2008a import sample_image

# Return generated images in pytest fixtures (or alternative test framework)
@pytest.fixture()
def ge_dicom_fmap():
    return sample_image()

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

medimages4tests-0.1.tar.gz (701.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medimages4tests-0.1-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file medimages4tests-0.1.tar.gz.

File metadata

  • Download URL: medimages4tests-0.1.tar.gz
  • Upload date:
  • Size: 701.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for medimages4tests-0.1.tar.gz
Algorithm Hash digest
SHA256 9df55e6168015948e8f2e5fb1fb9d28d76a71fcaaaf46bee3e42f77f7aad9155
MD5 9003a30f411af68453cc6e3632ec507f
BLAKE2b-256 6d466c10bbc64eaf18752ec0ecb876dc4f7c909332b3b88458f3105d51708540

See more details on using hashes here.

File details

Details for the file medimages4tests-0.1-py3-none-any.whl.

File metadata

  • Download URL: medimages4tests-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for medimages4tests-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b54238ad350ce50552a84e53d48eabc7ed40a1e4671545a15680b2ca28489a33
MD5 e57a064b0a7eab9ebe4b7e347fa50248
BLAKE2b-256 6c4a76318fa146bd6727c843ce0f6c17d559a4efe93617a872c5508e3efe956f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page