A package to rate motion artifacts in medical images.
Project description
Installation
pip install tse-motion
CLI
rate-motion sub-003_ses_01_acq_hipp_T2w.nii.gz
Input: sub-003_ses-01_acq-hipp_T2w.nii.gz | Motion Rating: 4.0
Python
from tse_rating.artifact_rating import rate
img = nib.load('tse.nii.gz').get_fdata()
score = rate_motion_artifact(img)
score, grad_cam = rate_motion_artifact(img, save_gradcam=True)
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
tse_motion-0.2.5.tar.gz
(26.2 MB
view details)
Built Distribution
File details
Details for the file tse_motion-0.2.5.tar.gz
.
File metadata
- Download URL: tse_motion-0.2.5.tar.gz
- Upload date:
- Size: 26.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 389ddfd0afe7b4683015eeaa91322097eb9fc7c491fc0decc120fdfdaf5b2662 |
|
MD5 | 440a72a98413be6d7c6eef1e8d08b476 |
|
BLAKE2b-256 | 3638be59025a5a378c788615306fa50c02ee383527586d7792feb4c14aefb231 |
File details
Details for the file tse_motion-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: tse_motion-0.2.5-py3-none-any.whl
- Upload date:
- Size: 26.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5918a82a08d21501a1ab115f3fbac0100739d8e88971e53541d7556d7d38d5a9 |
|
MD5 | b1a7b79157855a5691fbe4aa7225460c |
|
BLAKE2b-256 | 8439a73f3c5d0a739d1974f46f7559bec0cfa3d103699b2cc33492eebbb3121b |