2020-04-01 14:44:37 +02:00
2020-04-01 15:45:07 +02:00
2020-04-01 15:45:57 +02:00
2020-04-01 12:34:22 +00:00
2020-04-02 09:18:03 +02:00

pricklypear

PricklyPear matlab/neuron model

Installation

  1. Clone this repository or download and unzip on your computer
  2. Install Neuron from their website
  3. Compile the .mod files using nmodl
  4. In the pricklypear/matlab directory, make a copy of the pp_dir.template.txt file, rename it to pp_dir.txt and edit the contents to reflect the location of the pricklypear directory

To test your installation:

  1. Test neuron
  • Copy the files from the neuron/eventtimes directory into the neuron directory
  • Double click on the msomodel_default.hoc
  • If the command window does not give any errors and the data/_direct directory contains multiple files named like run_00001__vm_ad.txt, the neuron part of the pricklypear model is working
  1. Test Matlab
  • Start Matlab and set the working directory to pathto/pricklypear/matlab directory or add the pathto/pricklypear/matlab to the Matlab path
  • Execute PP = pricklypear('debug');
  • Execute run(PP);
  • Execute plot(PP(0));
  • If you see a stacked plot of electrophysiology-like data, the Matlab part of the pricklypear model is working

Usage

  1. Start Matlab and set the working directory to pathto/pricklypear/matlab directory or add the pathto/pricklypear/matlab to the Matlab path
Description
PricklyPear matlab/neuron model
Readme 68 KiB
Languages
MATLAB 26.2%
NMODL 9.9%
XML 9.9%
Text 0.1%
Other 53.9%