.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/Potjans_2014/stimulus_params.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_Potjans_2014_stimulus_params.py: PyNEST Microcircuit: Stimulus Parameters ----------------------------------------------- A dictionary with parameters for an optional external transient stimulation. Thalamic input and DC input can be switched on individually. .. GENERATED FROM PYTHON SOURCE LINES 29-66 .. code-block:: default import numpy as np stim_dict = { # optional thalamic input # turn thalamic input on or off (True or False) 'thalamic_input': False, # start of the thalamic input (in ms) 'th_start': 700.0, # duration of the thalamic input (in ms) 'th_duration': 10.0, # rate of the thalamic input (in spikes/s) 'th_rate': 120.0, # number of thalamic neurons 'num_th_neurons': 902, # connection probabilities of the thalamus to the different populations # (same order as in 'populations' in 'net_dict') 'conn_probs_th': np.array([0.0, 0.0, 0.0983, 0.0619, 0.0, 0.0, 0.0512, 0.0196]), # mean amplitude of the thalamic postsynaptic potential (in mV), # standard deviation will be taken from 'net_dict' 'PSP_th': 0.15, # mean delay of the thalamic input (in ms) 'delay_th_mean': 1.5, # relative standard deviation of the thalamic delay (in ms) 'delay_th_rel_std': 0.5, # optional DC input # turn DC input on or off (True or False) 'dc_input': False, # start of the DC input (in ms) 'dc_start': 650.0, # duration of the DC input (in ms) 'dc_dur': 100.0, # amplitude of the DC input (in pA); final amplitude is population-specific # and will be obtained by multiplication with 'K_ext' 'dc_amp': 0.3} .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.000 seconds) .. _sphx_glr_download_auto_examples_Potjans_2014_stimulus_params.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: stimulus_params.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: stimulus_params.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_