Documentation is on the way! Not ready, but it is starting to take shape. You can find it here: Docs
As I am finalizing core functions and adding visualization methods, I will be adding new documentation. Some changes in the code might occur, since this project is still under developement.
We currently do not have a released version of this project, however, you can clone our repository and install the source code locally:
- Clone our repo using
git clone https://github.com/Nobregaigor/Project-Heart
- If you have a virtual enviroment (recommended), activate it.
- Go to the repo directory
cd ./Project-Heart
and install dependencies withpip install -r requirements.txt
- Install (locally) Project-Heart with
pip install .
As we are still working on this library, it is a good pratice to check for a new version of the repo; we might correct or add new content. The functions at notebooks
directory should be working, as we try to monitor them at every new update.
To check and update your local repository with the lastest version you can do:
- Go to directory you cloned this repo with
cd path/to/project-heart
- Fetch new content with
git fetch
- Pull new content with
git pull
-
To read/write .feb and read .xplt:
- Reference: febio-python
- Install:
pip install febio-python==0.1.4
-
For Tetrahedralizer backends:
- Reference: Wildmeshing
- Install:
conda install -c conda-forge wildmeshing
- Reference: Tetgen
- Install:
pip install tetgen
-
For LV fiber computation:
- Reference: LDRB
- Install:
conda install -c conda-forge ldrb
Note: we currently only support python==3.9.7
due to dependencies.