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
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
medimages4tests-v0.2.tar.gz
(702.4 kB
view details)
Built Distribution
File details
Details for the file medimages4tests-v0.2.tar.gz
.
File metadata
- Download URL: medimages4tests-v0.2.tar.gz
- Upload date:
- Size: 702.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32fed8c0551d935745526757d720c9be17ab9fcf0ee85e738616ab715dcb408 |
|
MD5 | 0e97bab8d87d002c6b8ba3157ce8a35c |
|
BLAKE2b-256 | 20b8f90d4e929a59d9ca0c41648fc63edd830404f5a65d8df913425ac23111ef |
Provenance
File details
Details for the file medimages4tests-0.2-py3-none-any.whl
.
File metadata
- Download URL: medimages4tests-0.2-py3-none-any.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875d8142d704769c9e85a85979992cd88ffa8a8eccee27fd6b59bc780a95c476 |
|
MD5 | 68b79498ed8138b76930bbf5a572584a |
|
BLAKE2b-256 | 66c1aba35541f806651ee1d0e1322c1b48b726e0a317ada042608fb4a2fe40f8 |