Skip to content

rhjohnstone/RossJ

Repository files navigation

RossJ

This is a Chaste project, originally based on James Grogran's PyChaste project. The idea is to wrap solving of action potential models (done by Chaste) in Python to make MCMC easier by passing vectors of parameter values all over the place.

The RossJ project code needs to be included in the projects folder of the main Chaste source. This can be done with a symbolic link:

cd $CHASTE_SOURCE_DIR/projects
ln -s $ROSSJ_PROJECT_SOURCE_DIR

or just by copying the project in. To build, create a build directory outside the source tree and proceed as:

cd $BUILD_DIR
cmake $CHASTE_SOURCE_DIR
make project_RossJ
make project_RossJ_Python

Usage

I haven't messed around with adding anything to the PYTHONPATH yet.

The package can be imported in Python as normal. For example, in a Python session do:

>>> import rossj
>>> ross = rossj.RossManual("hello")
>>> print ross.GetMessage()

hello

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published