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.4.tar.gz
(26.2 MB
view details)
Built Distribution
File details
Details for the file tse_motion-0.2.4.tar.gz
.
File metadata
- Download URL: tse_motion-0.2.4.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 | 091e43ee31a940ad0104983378fa494aa8f1a00c9da21e5f0a768528701e34dc |
|
MD5 | 785e7a52c7c141952f5df4e75767266d |
|
BLAKE2b-256 | 88f82aae485a773207247c4ca01d253dec8d9c337899d243a4043d04086c2722 |
File details
Details for the file tse_motion-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: tse_motion-0.2.4-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 | 9cdc3cd242cebecfbad517f63c7b71013e0037194445a45b05899f90a35cb016 |
|
MD5 | 787db29d89aae367ad0173b72cb1a2d9 |
|
BLAKE2b-256 | 56f3f9cb437246316f6cb3349d620ad7e8cbab5321fff3086e989060cf1d1e63 |