Skip to main content

Installation

pip install tse-motion

CLI

rate-motion <path_to_nifti_file>
gen-motion <path_to_nifti_file> <output_file_name>

Python

from tse_rating.utils import rate, segment
img = nib.load('tse.nii.gz').get_fdata()
score = rate_motion_artifact(img)

score, grad_cam = rate_motion_artifact(img, save_gradcam=True)

masks = segment(nib.load('tse.nii.gz')) # returns a [2, W, H, Z] 4-dimensional tensor with the first and the second channel containing the left and the right hippocampus
mask = segment(nib.load('tse.nii.gz').get_fdata()[:,:,10]) # returns a [2, W, H] 3-dimensional tensor with the first and the second channel containing the left and the right hippocampus

Metadata

Release files for tse-motion 0.2.8.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tse-motion 0.2.8.6
File Size Uploaded Provenance Actions
tse_motion-0.2.8.6.tar.gz 55.1 MB Without provenance Details for tse_motion-0.2.8.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tse-motion 0.2.8.6
File Interpreter ABI Platform Actions
tse_motion-0.2.8.6-py3-none-any.whl Python 3 none any Details for tse_motion-0.2.8.6-py3-none-any.whl

Total release size: 110.1 MB

Release files / tse_motion-0.2.8.6.tar.gz

Download URL tse_motion-0.2.8.6.tar.gz
Size 55.1 MB
Tags Source
SHA-256 checksum
How to use checksums
d633fcfafa5d7e1a6744792891412dbf329ddb4964bd03e2d0666266e1376147
BLAKE2b-256 checksum
How to use checksums
2b8b170178287e9321796c02e03054c21e3b86778e8c2736eb15b684d7ae83bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / tse_motion-0.2.8.6-py3-none-any.whl

Download URL tse_motion-0.2.8.6-py3-none-any.whl
Size 55.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
38c38515ff854419d8bcdb9f1998fe3bfd2304ecbfa274ea85b66ee345219cfa
BLAKE2b-256 checksum
How to use checksums
8f6119f79400c9579777db3dc5b5330620246b404cc05d981301626386b5900c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Security for tse-motion 0.2.8.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page