Giter VIP home page Giter VIP logo

sw_estimation's Introduction

Stroke work estimation

This repository contains code of a program to estimate the left ventricular stroke work. The method is based on a lumped parameter model. User have to predefine the maximal pressure (Pmax), maximal volume (Vmax) and minimal volume (Vmin) during the heart cycle. Also, the model parameters Eao, Evc, Rao, Rvc, and T have to be specified. The program can compute the PV Loop and stroke work based on these settings. Following figure shows the graphical user interface with an example result. Program

Getting Started

These instructions will explain how to install and use the program.

Prerequisites

This program was developed for Python 3.5. Following packages have to be installed before:

  • numpy (1.17.3)
  • matplotlib (3.0.3)
  • pyqtgraph (0.10.0)
  • guidata (1.7.6)
  • PyQt4 (4.11.4)
  • scipy (1.4.1)

Run the program

Run following command in your terminal:

python SW_estimation.py

1. Predefine parameters

Program Eao, Evc, Rao, Rvc, and T are model parameters that can be defined by the user. Standard values serve as default which we found through empirical experiments.

Pmax, Vmax, and Vmin have to be defined by the user in advance. They define the boundaries of the PV loop.

2. Compute the stroke work

After clicking on the "Compute" button, the program runs an optimization process in the background that can take up to a minute. Program

After finishing, the PV loop is plotted and other computation results are shown in the bottom half of the window. The red lines graphically represent the boundaries (Pmax, Vmax, and Vmin) of the PV loop. Program

Methods

The method is based on a lumped parameter model that was developed by Pironet et al. (see references). The model is fitted to the predefined parameters Pmax, Vmax, and Vmin.

References

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

Acknowledgments

This study was supported by Fördergemeinschaft Deutsche Kinderherzzentren e.V.

sw_estimation's People

Contributors

xi2pi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.