Git Product home page Git Product logo

simple_vessel's Introduction

Model to test handshake between PhysiCell and SimVascular

Clone this repo (or use a release). From the root directory:

Generate the desired config file (.xml):

cd data  # from root dir
python generate_simple_vessel.py
# select the "simple_network.csv" in this same dir
# script will generate "simple_test.xml"
cp simple_test.xml simple_vessel.xml

Build the model's executable:

cd src   # from root dir
make -j2

To test in /src:

cp ../data/simple_vessel.xml .
simple_vessel simple_vessel.xml

# kill (ctl-c) the sim after the first 1 or 2 time steps

# analyze, visualize the output files
cd output/
cp ../../examples/pyMCDS_cells.py .
cp ../../examples/info_cells3D.py .
cp ../../examples/fury_cells.py .

python info_cells3D.py

python fury_cells.py   # assuming you have done "pip install fury"

To use the Model Builder (+ Studio) GUI:

From the root directory (if you are in /src, just cd ..)

mv src/simple_vessel .    # don't just copy it, move it!
python bin/pmb.py --studio

Click the Run tab then click Run Simulation (might take a few secs to start). Click the Plot tab and Play output results.

simple_vessel's People

Contributors

rheiland avatar

Watchers

 avatar

Forkers

zasexton

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.