Wiki » History » Version 3
Version 2 (Padraig Gleeson, 30 Apr 2014 14:57) → Version 3/4 (Padraig Gleeson, 30 Apr 2014 14:57)
Introduction
============
More details on the Connection Set Algebra can be found [here](http://software.incf.org/software/csa).
Installation of CSA
-------------------
Either install the latest stable version from [here](http://software.incf.org/software/csa/download), or get the latest code with:
svn co http://svn.incf.org/svn/csa
cd csa
sudo python setup.py install
Clone the CSA Showcase project
------------------------------
Get a local copy of this project from OSB with:
git clone https://github.com/OpenSourceBrain/CSAShowcase.git
cd CSAShowcase
Examples
--------
### Basic CSA A simple example
A [simple example](http://www.opensourcebrain.org/projects/csashowcase/repository/revisions/master/entry/CSA/gaussian.py) can be run be run with
cd CSA
python gaussian.py
This should produce a view of the generated network as follows:
![](Selection_135.png)
### CSA example using PyNN
[Another example](http://www.opensourcebrain.org/projects/csashowcase/repository/revisions/master/entry/CSA/pynn_csa.py) illustrates the interaction of CSA and PyNN. The following code:
<pre>
python pynn\_csa.py nest
</pre>
will generate and run the example on NEST, while this:
<pre>
python pynn\_csa.py neuroml2
</pre>
will generate the network and save the structure in NeuroML 2 format.
For more details on how NeuroML 2 an PyNN work together, see [here](http://www.neuroml.org/pynn.php).
============
More details on the Connection Set Algebra can be found [here](http://software.incf.org/software/csa).
Installation of CSA
-------------------
Either install the latest stable version from [here](http://software.incf.org/software/csa/download), or get the latest code with:
svn co http://svn.incf.org/svn/csa
cd csa
sudo python setup.py install
Clone the CSA Showcase project
------------------------------
Get a local copy of this project from OSB with:
git clone https://github.com/OpenSourceBrain/CSAShowcase.git
cd CSAShowcase
Examples
--------
### Basic CSA A simple example
A [simple example](http://www.opensourcebrain.org/projects/csashowcase/repository/revisions/master/entry/CSA/gaussian.py) can be run be run with
cd CSA
python gaussian.py
This should produce a view of the generated network as follows:
![](Selection_135.png)
### CSA example using PyNN
[Another example](http://www.opensourcebrain.org/projects/csashowcase/repository/revisions/master/entry/CSA/pynn_csa.py) illustrates the interaction of CSA and PyNN. The following code:
<pre>
python pynn\_csa.py nest
</pre>
will generate and run the example on NEST, while this:
<pre>
python pynn\_csa.py neuroml2
</pre>
will generate the network and save the structure in NeuroML 2 format.
For more details on how NeuroML 2 an PyNN work together, see [here](http://www.neuroml.org/pynn.php).