Bone Microarchitecture
Lightweight microarchitecture measurements from binary masks and optional calibrated grayscale arrays.
This package intentionally has no Slicer dependency and no image I/O dependency. Callers are responsible for loading images, calibration, and putting masks on a common grid.
GPU Backends
Exact Hildebrand sphere fitting supports three diameter-accumulation backends:
cpu: NumPy/SciPy fallback.mps: native Apple Metal backend for macOS.opencl: OpenCL backend for Windows/Linux systems withpyopencland a working GPU OpenCL runtime.
Use thickness_backend="auto" to select Metal on macOS when available, OpenCL on Windows/Linux when available, and CPU otherwise.
Optional installs:
pip install "bone-microarchitecture[mps]"
pip install "bone-microarchitecture[opencl]"
pip install "bone-microarchitecture[gpu]"
Parameter Definitions
Tb.BMD: mean calibrated grayscale value inside the trabecular compartment.Tb.BV/TV: trabecular bone volume divided by trabecular total volume.Tb.Th: maximal-sphere local thickness of trabecular bone.Tb.Sp: maximal-sphere local thickness of non-bone space in the trabecular compartment.Tb.N: inverse ridge-to-ridge spacing estimate in the trabecular compartment.Tb.1/N.SD: standard deviation of ridge-to-ridge spacing.Tb.BV: trabecular bone volume.Tb.TV: trabecular compartment volume.Ct.BMD: mean calibrated grayscale value inside the cortical compartment.Ct.Th: maximal-sphere local thickness of cortical bone.Ct.Po: cortical pore volume divided by cortical total volume.Ct.Po.V: cortical pore volume.Ct.Po.Dm: maximal-sphere local diameter of cortical pore space.Ct.BV: cortical bone volume.Ct.TV: cortical compartment volume.
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 bone_microarchitecture-0.2.1.tar.gz.
File metadata
- Download URL: bone_microarchitecture-0.2.1.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
438d88de7effc33727e6a501bec038e4c02af866b275ea917c2375b8aa8c2f03
|
|
| MD5 |
8328079d62962cf3b5930b2186096757
|
|
| BLAKE2b-256 |
57fbfefd538ee5ad5f605637c049875c022bbe0e5eb45f80455fbe56022fe093
|
Provenance
The following attestation bundles were made for bone_microarchitecture-0.2.1.tar.gz:
Publisher:
publish-pypi.yml on wallematthias/bone-microarchitecture
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bone_microarchitecture-0.2.1.tar.gz -
Subject digest:
438d88de7effc33727e6a501bec038e4c02af866b275ea917c2375b8aa8c2f03 - Sigstore transparency entry: 2647179366
- Sigstore integration time:
-
Permalink:
wallematthias/bone-microarchitecture@32c99b3e45643db168fd476cd4a7861e6abc523f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/wallematthias
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@32c99b3e45643db168fd476cd4a7861e6abc523f -
Trigger Event:
push
-
Statement type:
File details
Details for the file bone_microarchitecture-0.2.1-py3-none-any.whl.
File metadata
- Download URL: bone_microarchitecture-0.2.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af54c144772d180380455705b74d44b7ad8c56430892588f650ca8c37521ef0
|
|
| MD5 |
4cc92d3177bb81c4822b9174dae23471
|
|
| BLAKE2b-256 |
150a3fdc437b7e6cb74e9f8edaeb71aa66157573cd5a73091aea12ce10d553dd
|
Provenance
The following attestation bundles were made for bone_microarchitecture-0.2.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on wallematthias/bone-microarchitecture
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bone_microarchitecture-0.2.1-py3-none-any.whl -
Subject digest:
9af54c144772d180380455705b74d44b7ad8c56430892588f650ca8c37521ef0 - Sigstore transparency entry: 2647179374
- Sigstore integration time:
-
Permalink:
wallematthias/bone-microarchitecture@32c99b3e45643db168fd476cd4a7861e6abc523f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/wallematthias
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@32c99b3e45643db168fd476cd4a7861e6abc523f -
Trigger Event:
push
-
Statement type: