Skip to main content

CardioTensor

Cardiotensor logo


A Python package to quantify and visualize 3D cardiomyocyte orientation in heart imaging datasets

CI Doc License DOI PyPI version

Introduction

Cardiotensor is a user-friendly and memory-efficient toolkit designed for analyzing the orientation of cardiomyocyte fibers in large heart imaging datasets. It uses advanced image processing techniques to help researchers to accurately quantify 3D cardiomyocyte orientations with high efficiency.

Installation

Cardiotensor is published as a Python package and can be installed with pip, ideally by using a virtual environment. Open up a terminal and install cardiotensor with:

pip install cardiotensor

Documentation

Cardiotensor's documentation is available at josephbrunet.fr/cardiotensor/

Getting Started

Have a look at our simple example that runs you through all the commands of the package

Cardiotensor pipeline for 3D cardiac orientation analysis

More Information

This package uses the structure-tensor package to calculate the structure tensor, extending its capabilities for cardiac imaging.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! If you encounter a bug or have suggestions for new features:

  • Report an Issue: Open an issue in the repository.
  • Submit a Pull Request: Fork the repository, make changes, and submit a pull request.

For major changes, please discuss them in an issue first.

Contact

For questions, feedback, or support, please contact the maintainers at [j.brunet@ucl.ac.uk].

Reference

If you use Cardiotensor in your research, please cite:

Primary Reference

Brunet, J., Chestnutt, L., Chourrout, M., Dejea, H., Sabarigirivasan, V., Lee, P. D., & Cook, A. C. "Cardiotensor: A Python Library for Orientation Analysis and Tractography in 3D Cardiac Imaging." Journal of Open Source Software 11(121) (2026): 9720. 🗎

@article{Brunet2026,
  doi={10.21105/joss.09720},
  url={https://doi.org/10.21105/joss.09720},
  year={2026},
  publisher={The Open Journal},
  volume={11},
  number={121},
  pages={9720},
  author={Brunet, Joseph and Chestnutt, Lisa and Chourrout, Matthieu and Dejea, Hector and Sabarigirivasan, Vaishnavi and Lee, Peter D. and Cook, Andrew C.},
  title={Cardiotensor: A Python Library for Orientation Analysis and Tractography in 3D Cardiac Imaging},
  journal={Journal of Open Source Software}
}

Other Papers

Brunet, J., Cook, A. C., Walsh, C. L., Cranley, J., Tafforeau, P., Engel, K., Arthurs, O., Berruyer, C., Burke O'Leary, E., Bellier, A., et al. "Multidimensional analysis of the adult human heart in health and disease using hierarchical phase-contrast tomography." Radiology 312(1) (2024): e232731. 🗎

Metadata

Release files for cardiotensor 1.1.92

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

Source distribution (sdist)

Source distribution for cardiotensor 1.1.92
File Size Uploaded
cardiotensor-1.1.92.tar.gz 39.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cardiotensor 1.1.92
File Interpreter ABI Platform
cardiotensor-1.1.92-py3-none-any.whl Python 3 none any Details

Total release size: 39.2 MB

Release files / cardiotensor-1.1.92.tar.gz

Download URL cardiotensor-1.1.92.tar.gz
Size 39.0 MB
Tags Source
SHA-256 checksum
How to use checksums
482a70b6a1594bbeaea5542606a5e6eea67d9dbb8d3f223e8dd4bafcc4cf8bb5
BLAKE2b-256 checksum
How to use checksums
f883a84d614b60168ce60f1c952b48732e440b6c968d9dcc90ec9774bcdc9e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / cardiotensor-1.1.92-py3-none-any.whl

Download URL cardiotensor-1.1.92-py3-none-any.whl
Size 148.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e0b9aa0b82e3f092f5302b5dc70a3617bb42ab707e276ce45b1113698699874
BLAKE2b-256 checksum
How to use checksums
ece04f9782d7b31fea8920a2d16f5182318c8d49b6ee0327d1db1d0076319c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release history Release notifications | RSS feed

This release

1.1.92 This release

2 release files

1.1.91

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

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