davestanley / DynaSim

DynaSim toolbox for modeling and simulating dynamical systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DynaSim

Join the chat at https://gitter.im/DynaSim/DynaSim

DynaSim toolbox for modeling and simulating dynamical systems in Matlab or Octave

Installation:

  1. Download the DynaSim toolbox: git clone https://github.com/dynasim/dynasim.git
  2. Create a file named startup.m located in
    • If Mac/Linux <home folder>/Documents/MATLAB
    • If Windows <home folder>\Documents\MATLAB
  3. Put the below in the file:
    • If Mac/Linux addpath(genpath('/path/to/dynasim'))
    • If Windows addpath(genpath('\path\to\dynasim'))

Documentation:

Mailing lists:

Branches:

  • master - a direct fork of Jasons code
  • dave_mods - the modded branch

This fork contains Dave Stanley's customizations to DynaSim. Changes incliude:

Core simulator

  • SimulateModel.m: 'parallel_flag' now works (it will produce some warnings due to lock files on server, but these can be ignored)

Plotting

  • PlotFR2.m: New plotting command, an expansion of Jason's PlotFR command with better functionality for handling parameter sweeps (only works with plotting single variables for now).

Utilites (functions that operate on DynaSim Data Structures)

  • ThevEquiv.m: Calculates the ThĂ©venin equivalent voltage and conductance for a given set of M specified ionic channels.
  • CalcAverages.m: which operates on a DynaSim data structure and averages over all cells. This structure can then be passed to PlotData as a means to force PlotData to produce average plots.
  • DownsampleData: Downsamples all data in a DynaSim data structre
  • CalcSumOverFields.m: Creates a new field that is the sum of a bunch of other fields (specified by the "fields" cell array). Useful for adding multiple ionic currents together.

About

DynaSim toolbox for modeling and simulating dynamical systems

License:MIT License


Languages

Language:MATLAB 95.6%Language:Mathematica 4.4%