Generates dummy medical image data with realistic headers to be used in image handling tests
Project description
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-v0.2.tar.gz
(702.4 kB
view hashes)
Built Distribution
Close
Hashes for medimages4tests-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875d8142d704769c9e85a85979992cd88ffa8a8eccee27fd6b59bc780a95c476 |
|
MD5 | 68b79498ed8138b76930bbf5a572584a |
|
BLAKE2b-256 | 66c1aba35541f806651ee1d0e1322c1b48b726e0a317ada042608fb4a2fe40f8 |