Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cardiac-geometries

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cardiac-geometries

A python library for cardiac geometries

  • 1.1.7
  • PyPI
  • Socket score

Maintainers
1

Cardiac Geometries

This is a library for creating idealized cardiac geometries in FEniCS using gmsh. Currently you can create bi-ventricular (BiV) and left-ventricular (LV) ellipsoidal geometries as well as slab geometries. There is also support for creating bi-ventricular and slab geometries embedded in a torso / bath.

This package can also output analytic fiber orientations for LV and Slab and integrated with the ldrb algorithm BiV geometries.

Install

User are encourage to use the the provided docker image

docker pull ghcr.io/computationalphysiology/cardiac_geometries:latest

which comes pre-installed with FEniCs and gmsh.

You can also install cardiac-geometries using pip

python3 -m pip install cardiac-geometries

but this requires FEniCS and gmsh to be installed in other ways. See more at https://computationalphysiology.github.io/cardiac_geometries/install.html

Getting started

cardiac-geometries comes with a command-line interface, and to e.g create an LV mesh you can do

cardiac-geometries create-lv-ellipsoid lv-mesh

The same functionality can be accessed through the Python API, e.g

import cardiac_geometries

geo = cardiac_geometries.mesh.create_lv_ellipsoid(outdir="lv-mesh")

See https://computationalphysiology.github.io/cardiac_geometries/quickstart.html for more info.

Documentation

Please read the documentation at http://computationalphysiology.github.io/cardiac_geometries for more info.

Contributing

See https://computationalphysiology.github.io/cardiac_geometries/CONTRIBUTING.html

License

MIT

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc