No project description provided
Project description
PeTu
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,
)
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
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 petu-0.0.4.tar.gz.
File metadata
- Download URL: petu-0.0.4.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f044317ef88253179f31ca59a59305a5df0673feaf35386088feb1603b92be5
|
|
| MD5 |
3d56762c4282de51953853e514861374
|
|
| BLAKE2b-256 |
2b2ea401a887d188c21b06007548f1909e5a3f5d4d6dcb4e6a4626e16a8c277d
|
File details
Details for the file petu-0.0.4-py3-none-any.whl.
File metadata
- Download URL: petu-0.0.4-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efc021ffed7182aca48992602567f2a76a9b5438d43424f778cdadfd20dcccba
|
|
| MD5 |
88b712ab16c0c16bbe795d9a52c90c75
|
|
| BLAKE2b-256 |
f0189737e54a51b5837ef7d45cd0c1a38f4bd452c3356c92c7c9370a50ce82f8
|