.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/Potjans_2014/sim_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_sim_params.py: PyNEST Microcircuit: Simulation Parameters ------------------------------------------------ A dictionary with parameters defining the simulation. .. GENERATED FROM PYTHON SOURCE LINES 28-58 .. code-block:: default import os sim_dict = { # The full simulation time is the sum of a presimulation time and the main # simulation time. # presimulation time (in ms) 't_presim': 500.0, # simulation time (in ms) 't_sim': 1000.0, # resolution of the simulation (in ms) 'sim_resolution': 0.1, # list of recording devices, default is 'spike_recorder'. A 'voltmeter' can # be added to record membrane voltages of the neurons. Nothing will be # recorded if an empty list is given. 'rec_dev': ['spike_recorder'], # path to save the output data 'data_path': os.path.join(os.getcwd(), 'data/'), # Seed for NEST 'rng_seed': 55, # number of threads per MPI process 'local_num_threads': 1, # recording interval of the membrane potential (in ms) 'rec_V_int': 1.0, # if True, data will be overwritten, # if False, a NESTError is raised if the files already exist 'overwrite_files': True, # print the time progress. This should only be used when the simulation # is run on a local machine. 'print_time': True} .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.000 seconds) .. _sphx_glr_download_auto_examples_Potjans_2014_sim_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: sim_params.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: sim_params.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_