Changeset 29256 in project


Ignore:
Timestamp:
06/27/13 02:22:28 (7 years ago)
Author:
Ivan Raikov
Message:

nemo: added NEST netstim unit test in granule cell example

Location:
release/4/nemo/trunk/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/nemo/trunk/examples/Golgi/Golgi_DeSouza10.nemo

    r29126 r29256  
    18211821// Load the Golgi cell template
    18221822xopen("Golgi_template.hoc")
     1823
    18231824objref goc
    18241825goc = new GoC()
  • release/4/nemo/trunk/examples/Granule/Granule_DeSouza10.nemo

    r29230 r29256  
    17401740EOF
    17411741)
     1742
    17421743    ("testrun.sli" () 
    17431744#<<EOF
     
    17741775
    17751776
     1777    ("netstim.sli" () 
     1778#<<EOF
     1779
     1780(granulemodule) Install
     1781
     1782[ 1.0 20.0 50.0 100.0 200.0 ]
     1783
     1784{
     1785
     1786/i exch def
     1787
     1788(Granule_netstim_) i cvs (_Hz) join join /label exch def
     1789
     1790/dt 0.025 def
     1791
     1792/seeds 0 /total_num_virtual_procs get array 1 add def
     1793
     1794ResetKernel
     17950
     1796 <<
     1797   /resolution  dt
     1798   /rng_seeds seeds
     1799 >> SetStatus
     1800
     1801/neuron /Granule Create def
     1802/neuron_params << /V_m -65.0 >> def
     1803neuron neuron_params SetStatus
     1804
     1805/input1 /poisson_generator Create def
     1806/input2 /poisson_generator Create def
     1807/input3 /poisson_generator Create def
     1808
     1809/vlog /voltmeter Create def
     1810
     1811/poisson_parameters1 << /rate i Hz /start 1000.0 >> def
     1812input1 poisson_parameters1 SetStatus
     1813
     1814/poisson_parameters2 << /rate i Hz /start 1000.0 >> def
     1815input2 poisson_parameters2 SetStatus
     1816
     1817/poisson_parameters3 << /rate i Hz /start 1000.0 >> def
     1818input3 poisson_parameters3 SetStatus
     1819
     1820/vlog_parameters << /interval dt /label label /to_file true  /to_memory false >> def
     1821vlog vlog_parameters SetStatus
     1822
     1823/conn_parameters1 << /receptor_type 1 /weight 0.1 /delay 1.0 >> def
     1824input1 neuron conn_parameters1 Connect
     1825
     1826/conn_parameters2 << /receptor_type 1 /weight 0.1 /delay 12.0 >> def
     1827input2 neuron conn_parameters2 Connect
     1828
     1829/conn_parameters3 << /receptor_type 1 /weight 0.1 /delay 15.0 >> def
     1830input3 neuron conn_parameters3 Connect
     1831
     1832vlog neuron Connect
     1833
     18346000.0 Simulate
     1835
     1836i
     1837}
     1838Map
     1839EOF
     1840)
     1841
    17761842
    17771843) ;; end template declarations
Note: See TracChangeset for help on using the changeset viewer.