Changeset 719
- Timestamp:
- 03/02/10 11:11:07 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
doc/installation.txt (modified) (2 diffs)
-
src/neuron/__init__.py (modified) (1 diff)
-
src/recording/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/installation.txt
r718 r719 34 34 loading membrane mechanisms from /home/andrew/dev/pyNN/hoc/i686/.libs/libnrnmech.so 35 35 Additional mechanisms from files 36 adexp.mod alphaisyn.mod alphasyn.mod expisyn.mod hh_traub.mod netstim2.mod refrac.mod reset.mod stdwa_guetig.mod stdwa_softlimits.mod stdwa_songabbott.mod stdwa_symm.mod tmgsyn.mod vecstim.mod 36 adexp.mod alphaisyn.mod alphasyn.mod expisyn.mod hh_traub.mod netstim2.mod refrac.mod reset.mod 37 stdwa_guetig.mod stdwa_softlimits.mod stdwa_songabbott.mod stdwa_symm.mod tmgsyn.mod vecstim.mod 37 38 38 39 If your model relies on other NMODL mechanisms, call the ``load_mechanisms()`` function with the path to the directory containing the ``.mod`` files. … … 99 100 This will install PyNEST to your Python ``site-packages`` directory, and may require root privileges. 100 101 If you wish to install it elsewhere, see the full installation instructions. 102 Make sure you have the GNU Scientific Library (GSL) installed, 103 otherwise some PyNN standard models (e.g. ``IF_cond_exp``) will not be available. 101 104 102 105 Now try it out:: -
trunk/src/neuron/__init__.py
r713 r719 58 58 if extra_params.has_key('use_cvode'): 59 59 simulator.state.cvode.active(int(extra_params['use_cvode'])) 60 if extra_params.has_key('rtol'): 61 simulator.state.cvode.rtol(float(extra_params['rtol'])) 62 if extra_params.has_key('atol'): 63 simulator.state.cvode.atol(float(extra_params['atol'])) 60 64 return rank() 61 65 -
trunk/src/recording/__init__.py
r714 r719 110 110 data_array = self._get(gather, compatible_output) 111 111 id_offset = self.population and self.population.first_id or 0 112 data_array[:,0] -= id_offset # relies on fact that id is always first column 112 if data_array.size > 0: 113 data_array[:,0] -= id_offset # relies on fact that id is always first column 113 114 self._data_size = data_array.shape[0] 114 115 return data_array
