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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9df55e6168015948e8f2e5fb1fb9d28d76a71fcaaaf46bee3e42f77f7aad9155
|
|
| MD5 |
9003a30f411af68453cc6e3632ec507f
|
|
| BLAKE2b-256 |
6d466c10bbc64eaf18752ec0ecb876dc4f7c909332b3b88458f3105d51708540
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b54238ad350ce50552a84e53d48eabc7ed40a1e4671545a15680b2ca28489a33
|
|
| MD5 |
e57a064b0a7eab9ebe4b7e347fa50248
|
|
| BLAKE2b-256 |
6c4a76318fa146bd6727c843ce0f6c17d559a4efe93617a872c5508e3efe956f
|