https://github.com/alleninstitute/glif2nest

GLIF (Generalized Leaky Integrate and Fire) Models for NEST Simulator

https://github.com/alleninstitute/glif2nest

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

GLIF (Generalized Leaky Integrate and Fire) Models for NEST Simulator

Basic Info
  • Host: GitHub
  • Owner: AllenInstitute
  • License: gpl-2.0
  • Language: C++
  • Default Branch: master
  • Size: 170 KB
Statistics
  • Stars: 3
  • Watchers: 5
  • Forks: 2
  • Open Issues: 3
  • Releases: 0
Created almost 8 years ago · Last pushed almost 6 years ago
Metadata Files
Readme Contributing License

README.md

Glif Models Implementation in NEST Simulator

Build and install modules dynamically

bash $ mkdir build $ cd build $ cmake --Dwith-nest=nest-config -Dwith-ltdl=ON [-Dwith-mpi=ON] ../GlifModel $ make $ make install

Issues

  • Use NEST Simulator 2.14.0. The v2.10.0 isn't working.
  • Make sure ltdl-dev libraries are available (before compiling nest). On CentOS run sudo yum install libtool-ltdl-devel, on ubuntu libltdl-dev.
  • When compiling nest make sure to use absolute paths. When completed run nest-config --libs to make sure a full path to the nest libraries are used.

Instantiate Modules in pynest

python import nest nest.Install('glifmodule') neuron = nest.Create('glif_lif') # or glif_lif_r, glif_lif_asc, glif_lif_r_asc

Issues

  • If you get a 'File not found' message when trying to install the module:
    • Try using nest.Install('glifmodule.so') instead (On CentOS 6 lt_dlopenext() isn't working properly).
    • Check LDLIBRARYPATH, if needed set export LD_LIBRARY_PATH="/full/path/to/nest/module:$LD_LIBRARY_PATH

Running and Testing

Download Cell-Types-DB models to local machine

In scripts/ folder, run the following command to install 10 specific modules (AllenSDK is required) bash $ python allensdk_helper.py Or to get a specific set of models for a given cell-id bash $ python allensdk_helper.py CELL-ID1 [CELL-ID2 CELL-ID3 ...]

Test all downloaded models

bash $ python test_glif2nest.py 1> /dev/null

Run and qualitativly compare NEST and AllenSDK implementation

First determine the type in injection schemes are available bash $ python run_model.py --list-stimuli The following will run both NEST and AllenSDK implementation of a model and plot voltage-traces and spike-trains. Model download is not required. bash $ python run_model.py --cells cell-id[,cell_id,...] --model LIF[-R|-ASC|-R-ASC|-R-ASC-A] --stimulus ramp-1[,long-square-1,ramp-2,...]

Run NEST implementation of Glif models with current-based synaptic ports

First determine the type in injection schemes are available bash $ python run_model_psc.py --list-stimuli The following will run NEST implementation of a 4 neurons network as described below and plot voltage-traces and spike-trains. Model download is not required. * One neuron is without synaptic port, the other three are with 2 syaptic ports (one port is 2.0ms and one port is 1.0ms); * The first neuron is connected the first port of the second neuron; * The first neuron is connected the second port of the third neuron; * The first neuron is also connected both ports of the fourth neuron; * The weights between first neuron and other neurons are all 1000.0. bash $ python run_model_psc.py --cells cell-id[,cell_id,...] --model LIF[-R|-ASC|-R-ASC|-R-ASC-A] --stimulus ramp-1[,long-square-1,ramp-2,...]

Run NEST implementation of Glif models with conductance-based synaptic ports

First determine the type in injection schemes are available bash $ python run_model_cond.py --list-stimuli The following will run NEST implementation of a 4 neurons network as described below and plot voltage-traces and spike-trains. Model download is not required. * One neuron is without synaptic port, the other three are with 2 syaptic ports (one port is 2.0ms and one port is 1.0ms); * The first neuron is connected the first port of the second neuron; * The first neuron is connected the second port of the third neuron; * The first neuron is also connected both ports of the fourth neuron; * The weights between first neuron and other neurons are all 30.0. bash $ python run_model_cond.py --cells cell-id[,cell_id,...] --model LIF[-R|-ASC|-R-ASC|-R-ASC-A] --stimulus ramp-1[,long-square-1,ramp-2,...]

Notes

Update

Owner

  • Name: Allen Institute
  • Login: AllenInstitute
  • Kind: organization
  • Location: Seattle, WA

Please visit http://alleninstitute.github.io/ for more information.

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 68
  • Total Committers: 4
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.544
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Binghuang Cai b****c@i****g 31
kael k****i@g****m 16
Binghuang Cai b****8@g****m 16
Binghuang Cai b****c@a****g 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 2
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • torbjone (1)
  • johnhongyumeng (1)
Pull Request Authors
  • kbn-gh (1)
Top Labels
Issue Labels
Pull Request Labels