GithubHelp home page GithubHelp logo

guparan / pulsephysiology Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sofa-framework/pulsephysiology

0.0 2.0 0.0 50 KB

[WIP] GSoC project binding SOFA and Pulse Engine

CMake 2.48% C++ 95.80% C 1.72%

pulsephysiology's Introduction

Inspired from https://github.com/sofa-framework/sofa/tree/master/applications/plugins/CImgPlugin

Build instructions

  • Build SOFA master and install it in a separate directory, let's say /home/user/sofa/install

  • Build Pulse and install it in a separate directory, let's say /home/user/pulse/install

  • Create some build dir on the same level as the plugin: PulsePhysiology-build

  • cd into this build dir and run cmake-gui ../PulsePhysiology

  • Add a variable CMAKE_PREFIX_PATH and set it to both SOFA and Pulse install dirs.
    In the example case: CMAKE_PREFIX_PATH=/home/user/sofa/install;/home/user/pulse/install

  • Also set CMAKE_INSTALL_PREFIX to the build dir. In the example case : CMAKE_INSTALL_PREFIX= /PulsePhysiology-build

  • Configure + Generate

  • Build the plugin

Using the built plugin

  • Various patient states are available in ./states directory inside PulsePhysiology-build. The default is [email protected] but can be modified while calling the LoadStateFile() function.

  • cd into the build directory : PulsePhsyiology-build

  • Type command make followed by make install

  • Now to run simulation for a particular condition, run command bin/PulsePhysiology condition

  • Lets say you want to run simulation for Pulmonary Function, the command will be bin/PulsePhysiology PulmonaryFunctionTest"

  • Some of the other conditions are : AirwayObstruction Asthma BrainInjury CPR TensionPneumothorax

  • The data from the simulations is stored in the /PulsePhysiology-build with the name as condition.log

pulsephysiology's People

Contributors

m4n4n avatar guparan avatar

Watchers

James Cloos avatar  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.