Changeset 718
- Timestamp:
- 03/02/10 10:37:15 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
doc/installation.txt (modified) (1 diff)
-
src/nest/__init__.py (modified) (2 diffs)
-
src/nest/simulator.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/installation.txt
r706 r718 105 105 $ python 106 106 >>> import nest 107 107 108 -- N E S T 2 beta -- 108 109 Neural Simulation Tool 109 110 Copyright 1995-2009 The NEST Initiative 110 Version 1.9-8 128 Apr 23 2009 14:09:00111 Version 1.9-8558 Mar 2 2010 09:50:16 111 112 ... 112 113 >>> nest.Models() 113 114 ['ac_generator', 'aeif_cond_alpha', 'aeif_w_meter', 'conductancemeter', 114 'cont_delay_synapse', 'correlation_detector', 'dc_generator', 'hh_cond_exp_traub', 115 'hh_psc_alpha', 'iaf_cond_alpha', 'iaf_cond_exp', 'iaf_cond_exp_sfa_rr', 116 'iaf_neuron', 'iaf_psc_alpha', 'iaf_psc_alpha_canon', 'iaf_psc_alpha_presc', 117 'iaf_psc_delta', 'iaf_psc_delta_canon', 'iaf_psc_exp', 'layer', 'layer_3d', 118 'layer_unrestricted', 'mip_generator', 'noise_generator', 'parrot_neuron', 119 'poisson_generator', 'poisson_generator_ps', 'proxynode', 'pulsepacket_generator', 120 'spike_detector', 'spike_generator', 'static_synapse', 'static_synapse_hom_wd', 121 'stdp_pl_synapse_hom', 'stdp_synapse', 'stdp_synapse_hom', 122 'step_current_generator', 'subnet', 'tsodyks_synapse', 'voltmeter'] 115 'cont_delay_synapse', 'correlation_detector', 'dc_generator', 'hh_cond_exp_traub', 116 'hh_psc_alpha', 'ht_generator', 'ht_neuron', 'ht_synapse', 'iaf_cond_alpha', 117 'iaf_cond_alpha_mc', 'iaf_cond_exp', 'iaf_cond_exp_sfa_rr', 'iaf_neuron', 118 'iaf_psc_alpha', 'iaf_psc_alpha_canon', 'iaf_psc_alpha_presc', 'iaf_psc_delta', 119 'iaf_psc_delta_canon', 'iaf_psc_exp', 'iaf_tum_2000', 'layer', 'layer_3d', 120 'layer_unrestricted', 'mat2_psc_exp', 'mip_generator', 'multimeter', 121 'noise_generator', 'parrot_neuron', 'parrot_neuron_ps', 'poisson_generator', 122 'poisson_generator_ps', 'pulsepacket_generator', 'spike_detector', 'spike_generator', 123 'static_synapse', 'static_synapse_hom_wd', 'stdp_pl_synapse_hom', 'stdp_synapse', 124 'stdp_synapse_hom', 'step_current_generator', 'subnet', 'tsodyks_synapse', 'voltmeter'] 123 125 124 126 Check that ``'aeif_cond_alpha'`` is in the list of models. If it is not, you may need to install a newer version of the `GNU Scientific Library`_ and then recompile NEST. -
trunk/src/nest/__init__.py
r717 r718 24 24 25 25 Set = set 26 27 28 26 tempdirs = [] 29 30 27 NEST_SYNAPSE_TYPES = ["cont_delay_synapse" ,"static_synapse", "stdp_pl_synapse_hom", 31 28 "stdp_synapse", "stdp_synapse_hom", "tsodyks_synapse"] 32 33 29 logger = logging.getLogger("PyNN") 34 30 … … 114 110 'min_delay': min_delay, 115 111 'max_delay': max_delay}) 112 simulator.connection_managers = [] 116 113 simulator.reset() 117 114 -
trunk/src/nest/simulator.py
r713 r718 35 35 CHECK_CONNECTIONS = False 36 36 recorder_list = [] 37 connection_managers = [] 37 38 38 39 logger = logging.getLogger("PyNN") … … 158 159 try: 159 160 cell_gids = nest.Create(nest_model, n) 160 except nest.NESTError, errmsg: 161 raise errors.InvalidModelError(errmsg) 161 except nest.NESTError, err: 162 if "UnknownModelName" in err.message and "cond" in err.message: 163 raise errors.InvalidModelError("%s Have you compiled NEST with the GSL (Gnu Scientific Library)?" % err) 164 raise errors.InvalidModelError(err) 162 165 if cell_parameters: 163 166 try: … … 257 260 `parent` -- the parent `Projection`, if any. 258 261 """ 262 global connection_managers 259 263 self.sources = [] 260 264 if synapse_model is None: … … 268 272 assert parent.plasticity_name == self.synapse_model 269 273 self._connections = None 274 connection_managers.append(self) 270 275 271 276 def __getitem__(self, i):
