Coder Social home page Coder Social logo

binder-test's Introduction

Jupyter Notebook GUI for a PhysiCell project

This project requires a Python distribution with modules not found in the standard library. In particular, it needs matplotlib (and all its dependencies), scipy.io, and Jupyter (notebooks). You have at least a couple of different options:

  1. Perhaps the easiest way to get all of this is to download and install the Anaconda Python 3.x distribution: https://www.anaconda.com/download/ however, that distribution (which includes a LOT of additional modules), is ~500-600MB.

  2. If you want to downlod a much smaller bundle, but in multiple steps, you could try to:

then install the additional, required modules:

conda install matplotlib
conda install scipy
conda install jupyter

After you have the desired Python modules:
  • Copy your project's configuration file (.xml) to this directory, calling it "myconfig.xml"
  • Copy your project's executable to this directory, e.g., heterogeneity, in the example below.
  • Generate the Python module of widgets for your user params (a "tab" in the Notebook GUI). From a Terminal/Command Prompt window, run:

python gen_user_tab.py myconfig.xml

Then run the notebook:

jupyter notebook PhysiCell.ipynb

Make changes to the configuration parameters via the Jupyter notebook GUI, press the 'Write' button, then run your simulation from a shell window, e.g.:

heterogeneity myconfig.xml

If you don't have your current working directory in your PATH, you will need to be more explicit, e.g.:

./heterogeneity myconfig.xml     # on Unix
.\heterogeneity myconfig.xml     # on Windows

Binder Click the binder badge to play with the notebook from your browser without installing anything.

binder-test's People

Contributors

rheiland avatar

Watchers

 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.