GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - finitewave/Finitewave-Tools: Python tools for cardiac mesh preparation, fiber generation, visualization, and electrophysiology analysis, complementing Finitewave.

BranchesTags
Open more actions menu

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
Tutorials
Tutorials
 
 
docs
docs
 
 
finitewave_tools
finitewave_tools
 
 
notebooks
notebooks
 
 
.gitignore
.gitignore
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Finitewave-Tools

Tools for preparing cardiac meshes, visualizing simulation results, building animations, and analyzing cardiac electrophysiology data. Finitewave-Tools complements Finitewave.

The package includes:

  • PyVista grids for structured tissue meshes, element meshes, and surfaces.
  • 2D and 3D frame rendering with MP4 and GIF export.
  • Linear solvers, geodesic coordinates, and rule-based fiber generation.
  • Point sampling and conduction velocity calculation utilities.

Installation

Python 3.11 or newer is required. Clone the repository and create an isolated environment:

git clone https://github.com/finitewave/Finitewave-Tools.git
cd Finitewave-Tools
python -m venv .venv

Activate it with source .venv/bin/activate on macOS/Linux, or .venv\Scripts\Activate.ps1 in Windows PowerShell, then install:

python -m pip install --upgrade pip
python -m pip install -e .

Installation includes NumPy, SciPy, PyAMG, Matplotlib, tqdm, natsort, PyVista, VTK, PyAV, ImageIO, and scikit-image. PyAV handles MP4 encoding; ImageIO handles GIF export. Dependency minimum versions are defined in pyproject.toml.

Tutorials

Browse the documentation for worked examples covering meshes, fibers, animations, electrophysiology, electrograms, and neural networks. The notebooks and accompanying data live in Tutorials/.

To run them locally from the activated environment:

python -m pip install jupyterlab
cd Tutorials
jupyter lab

Run notebook cells in order with Tutorials/ as the working directory so data paths resolve correctly. Simulation notebooks also require Finitewave; consult each notebook for additional packages and setup instructions.

Build the documentation

To work on the documentation without installing the package's runtime dependencies:

python -m pip install -r docs/requirements.txt
python -m mkdocs serve -f docs/mkdocs.yml

Build with python -m mkdocs build --strict -f docs/mkdocs.yml. See docs/pages/contributing.md for authoring and publishing.

About

Python tools for cardiac mesh preparation, fiber generation, visualization, and electrophysiology analysis, complementing Finitewave.

finitewave-tools.readthedocs.io/en/latest/

Topics

atrial-fibrillationcardiac-electrophysiologycardiac-modelingconduction-velocityfiber-generationfinitewavelatpinnpythonventricular-tachycardia

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.