https://github.com/computationalphysiology/ldrb
A software for assigning myocardial fiber orientations based on the Laplace Dirichlet Ruled-Based algorithm
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: ncbi.nlm.nih.gov -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.6%) to scientific vocabulary
Repository
A software for assigning myocardial fiber orientations based on the Laplace Dirichlet Ruled-Based algorithm
Basic Info
- Host: GitHub
- Owner: ComputationalPhysiology
- License: lgpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://computationalphysiology.github.io/ldrb
- Size: 15.4 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Laplace-Dirichlet Rule-Based (LDRB) algorithm for assigning myocardial fiber orientations
A software for assigning myocardial fiber orientations based on the Laplace Dirichlet Ruled-Based algorithm.
Bayer, J.D., Blake, R.C., Plank, G. and Trayanova, N.A., 2012. A novel rule-based algorithm for assigning myocardial fiber orientation to computational heart models. Annals of biomedical engineering, 40(10), pp.2243-2254.(https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3518842/)
```python
Decide on the angles you want to use
angles = dict( alphaendolv=30, # Fiber angle on the LV endocardium alphaepilv=-30, # Fiber angle on the LV epicardium betaendolv=0, # Sheet angle on the LV endocardium betaepilv=0, # Sheet angle on the LV epicardium alphaendosept=60, # Fiber angle on the Septum endocardium alphaepisept=-60, # Fiber angle on the Septum epicardium betaendosept=0, # Sheet angle on the Septum endocardium betaepisept=0, # Sheet angle on the Septum epicardium alphaendorv=80, # Fiber angle on the RV endocardium alphaepirv=-80, # Fiber angle on the RV epicardium betaendorv=0, # Sheet angle on the RV endocardium betaepirv=0, # Sheet angle on the RV epicardium )
Choose space for the fiber fields
This is a string on the form {family}_{degree}
fiberspace = "P2"
Compute the microstructure
fiber, sheet, sheetnormal = ldrb.dolfinldrb( mesh=mesh, fiberspace=fiberspace, ffun=ffun, markers=markers, **angles )
Store files using a built in xdmf viewer that also works for functions
defined in quadrature spaces
ldrb.fibertoxdmf(fiber, "fiber")
And visualize it in Paraview
```

Installation
Install with pip
In order to install the software you need to have installed FEniCS (versions older than 2016 are not supprted)
The package can be installed with pip.
python -m pip install ldrb
or if you need the most recent version you can install the source
python -m pip install git+https://github.com/finsberg/ldrb.git
Documetation
Documentation is hosted at http://finsberg.github.io/ldrb
Getting started
Check out the demos
License
ldrb is licensed under the GNU LGPL, version 3 or (at your option) any later version.
ldrb is Copyright (2011-2019) by the authors and Simula Research Laboratory.
Contributors
Henrik Finsberg (henriknf@simula.no)
Owner
- Name: Computational Physiology at Simula Research Laboratory
- Login: ComputationalPhysiology
- Kind: organization
- Location: Fornebu, Norway
- Website: https://computationalphysiology.github.io
- Repositories: 51
- Profile: https://github.com/ComputationalPhysiology
GitHub organization for the computational physiology department at Simula Research Laboratory
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- peaceiris/actions-gh-pages v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- fenics
- h5py
- mshr
- numba