Skip to content

Stochastic simulation (SSA) of cytoskeleton, implemented using CUDA JIT from numba for fast parallel processing on a GPU. Intended for microtubules in neurites, but is much more flexible.

License

Notifications You must be signed in to change notification settings

maxschelski/cytostoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CytoStoch

Stochastic simulation (SSA) of microtubules in neurites, implemented using jit from numba (numba.cuda.jit) for fast parallel processing on a GPU. Programmed in a generalized fashion, to be used for stochastically simulating any model with different species, with optional properties for each species member, in an arbitrary spatial domain.

The example under \scripts contains a simple simulation of MTs in the neurite running on a GPU.

Note: Execution on CPUs currently not supported. Will be added again in the future.

Installation

The package was developed and tested in Windows.

  1. If you don't already have Anaconda installed: Download and install Anaconda from https://www.anaconda.com/.
  2. If you don't already have git installed: Download and install git from https://git-scm.com/downloads
  3. Open an Anaconda terminal, navigate to the folder where you want to put cytotorch and clone the cytostoch repository:

git clone https://github.com/maxschelski/cytostoch.git

  1. Navigate into the folder of the repository (cytostoch):

cd cytostoch

  1. Create environment for cytotorch with Anaconda:

conda env create -f environment.yml

  1. Activate environment in anaconda:

conda activate cytostoch

  1. Install cytostoch locally using pip:

pip install -e .

  1. You can now import cytotorch to build and simulate your model:

import cytostoch

About

Stochastic simulation (SSA) of cytoskeleton, implemented using CUDA JIT from numba for fast parallel processing on a GPU. Intended for microtubules in neurites, but is much more flexible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages