Show
Ignore:
Timestamp:
02/12/10 11:29:45 (2 years ago)
Author:
apdavison
Message:

Some documentation updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/highlevelapi.txt

    r701 r707  
    258258Again, there is a performance penalty for this, so if you wish each node to write its own file, add ``gather=False`` to the argument list. 
    259259 
    260 It is possible to save data in various different formats. The default (if you pass a filename) is a text file, but you can also save in various binary formats. To save in HDF5 format, for example:: 
     260It is possible to save data in various different formats. The default (if you pass a filename) is a text file, but you can also save in various binary formats. To save in HDF5 format (this requires the PyTables package to be installed), for example:: 
    261261 
    262262    >>> h5file = recording.files.HDF5ArrayFile("spikefile.h5", "w") 
     
    393393The second example connects each neuron to all its neighbours within a range of 3 units (distance is in µm if positions have been specified, in array coordinate distance otherwise). Note that boolean values ``True`` and ``False`` are automatically converted to numerical values ``1.0`` and ``0.0``. 
    394394 
    395 The calculation of distance may be controlled by specifying a `Space` object. 
     395The calculation of distance may be controlled by specifying a ``Space`` object. 
    396396 
    397397By default, the 3D distance between cell positions is used, but the ``axes`` argument may be used to change this, e.g.:: 
     
    516516    >>> prj1_1.randomizeDelays(delay_distr) 
    517517 
    518 ## NOTE: Need to add information about getting/setting individual weights and delays 
     518It is also possible to access the attributes of individual connections using the 
     519``connections`` attribute of a projection:: 
     520 
     521    >>> for c in prj1_1.connections[:5]: 
     522    ...   c.weight *= 2 
     523     
     524In general, though, this is less efficient than using list- or array-based access. 
    519525 
    520526Accessing weights and delays