plate-rod-thinning
plate-rod-thinning provides topology-preserving trabecular bone plate/rod thinning and morphometry for HR-pQCT-style binary masks.
The package ports the original MATLAB plate/rod workflow into Python while keeping the core algorithm outside the Slicer Bone Imaging Toolbox. It produces 1-voxel skeleton topology labels, full-thickness plate/rod/junction labels, individual full-thickness component labels, and summary morphometry metrics.
Install
python -m pip install plate-rod-thinning
Prebuilt macOS wheels include the compiled C backend when available. The package also has a Python fallback, and on Apple platforms the Metal skeletonizer can be enabled with:
export PLATE_ROD_USE_METAL_FULL=1
Development
The compiled extension is opt-in for local source builds:
PLATE_ROD_BUILD_EXT=1 python -m pip install .
python -m pytest -q
Metadata
Release files for plate-rod-thinning 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plate_rod_thinning-0.1.0.tar.gz | 44.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| plate_rod_thinning-0.1.0-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details |
| plate_rod_thinning-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl | CPython 3.13 | CPython 3.13 | macOS 10.13+ x86-64 | Details |
| plate_rod_thinning-0.1.0-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
| plate_rod_thinning-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl | CPython 3.12 | CPython 3.12 | macOS 10.13+ x86-64 | Details |
Total release size: 273.1 kB
Release files / plate_rod_thinning-0.1.0.tar.gz
| Download URL | plate_rod_thinning-0.1.0.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e06668cc27ec3f54d78ba2db1465052cc42e932cd387015fa7d4b32f4d65c3a3
|
|
BLAKE2b-256 checksum How to use checksums |
e945556e33d8098a92971bb0c2fa237367b7ba105e93782f79aa16755ce65fb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / plate_rod_thinning-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | plate_rod_thinning-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 56.6 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
901a7601c1ea6b3a2530c8a7773eef3431d9f228f623924bb51135541c7d0494
|
|
BLAKE2b-256 checksum How to use checksums |
1560337a127d997fcc9d832d3e92e3d7555065c6309ca63ffc1533e0788bced4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / plate_rod_thinning-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | plate_rod_thinning-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 57.9 kB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
1cb163d39a009a3908c0a673450faccc12ed68c19058e9428b6a5382848b46bb
|
|
BLAKE2b-256 checksum How to use checksums |
4d6c0a7dda3ce5c967706118e77944d97007a095efb24e0fbf272f840cd4faa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / plate_rod_thinning-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | plate_rod_thinning-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 56.6 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
892dc1d250277b6ee0efa5f0d8c110a23ab386c7a01eb0654ac6c6b93813f287
|
|
BLAKE2b-256 checksum How to use checksums |
632d01bc26f4a0598ec7c121c710efa42a37155c6a174d4ac2f2a62925fd0fd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / plate_rod_thinning-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | plate_rod_thinning-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 57.9 kB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ee1f1eeeb6238de13a598bcb405d2cd0686ec417573cb48375c03c8bb4a9eaa
|
|
BLAKE2b-256 checksum How to use checksums |
b185616b7a34b5f7ea21f19c03bbbc475787364083263a6105d866e3dd844d9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency log