Skip to main content

No project description provided

Project description

PeTu

Python Versions Stable Version Documentation Status tests codecov License

Description

Features

Installation

With a Python 3.10+ environment, you can install petu directly from PyPI:

pip install petu

Use Cases and Tutorials

A minimal example to create a segmentation could look like this:

from petu import Inferer

inferer = Inferer()

# Save NIfTI files
inferer.infer(
    t1c="path/to/t1c.nii.gz",
    fla="path/to/fla.nii.gz",
    t1="path/to/t1.nii.gz",
    t2="path/to/t2.nii.gz",
    ET_segmentation_file="example/ET.nii.gz",
    CC_segmentation_file="example/CC.nii.gz",
    T2H_segmentation_file="example/T2H.nii.gz",
)

# Or directly use pre-loaded NumPy data. (Both outputs work as well)
et, cc, t2h = inferer.infer(
    t1c=t1c_np,
    fla=fla_np,
    t1=t1_np,
    t2=t2_np,
)

[!NOTE]
If you're interested in the PeTu package, the Pediatric Segmentation may also be of interest.

Citation

If you use petu in your research, please cite it to support the development!

TODO: citation will be added asap

Contributing

We welcome all kinds of contributions from the community!

Reporting Bugs, Feature Requests and Questions

Please open a new issue here.

Code contributions

Nice to have you on board! Please have a look at our CONTRIBUTING.md file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

petu-0.0.5.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

petu-0.0.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file petu-0.0.5.tar.gz.

File metadata

  • Download URL: petu-0.0.5.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for petu-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ad4edba0d276ba33015a567ec4e31f7ef1bbc7cf76637923f5cf8223a18f6af4
MD5 09e82c127037877d0712dc3ab9db1a8d
BLAKE2b-256 a35094785ba67ec835552a8d5a00c271a9123b3809eb562bbeb3fca9ff6ba667

See more details on using hashes here.

File details

Details for the file petu-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: petu-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for petu-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6c1895095e5783d911469b7eda254c6b297743a1be7e6d01193420000a0c67
MD5 039cd8124b38c3fb46d7356520b6cc86
BLAKE2b-256 4e5e12a384a4fc943681f6e3ccf9e54ca30d7d31674a10f97c7316dbd5319dbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page