Code for Stöckl et al. 2014

Encoding of social signals in all three electrosensory pathways of Eigenmannia virescens

Data

Download the example data and unpack it into a directory of you choice. The entire dataset has 1.1G and can be obtained from us on request. Download the stimuli and unpack it into a directory of you choice.

Code

To run the code, you need to download the python files and unpack it. The code is written in python 2.7 and requires the following python package: scipy, numpy, sklearn, matplotlib.
python train_classifiers.py -d PATH_TO_DATA -e EOD -c -o OUTPUTDIR -m 1_vs_base -s STIMDIR -b 1000  DATE TYPE
where If you want to produce a figure as in Figure 9 then you need to run the above command for one date and several eod lengths. Then you can run:
python train_classifiers.py -d PATH_TO_DATA -e EOD -c -o NEWOUTPUTDIR -p OLDOUTPUTDIR -m 1_vs_base -s STIMDIR -b 1000  DATE TYPE
Figure 10 can be reproduced with the script
python eod_vs_performance_baseline.py
to work properly, one needs to ensure the following conditions

Reference

@article{2014a,
  author = "A. Stöckl and F. Sinz and J. Benda and J. Grewe",
  title = "Encoding of social signals in all three electrosensory pathways of Eigenmannia virescens",
  year = 2014,
  journal = "Journal of Neurophysiology (accepted)",
  month = "Aug",
  doi = "10.1152/jn.00116.2014"
}

License

The datasets provided on this page by A. Stöckl, F. Sinz, J. Benda, J.Grewe are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. This license requires that you contact us before you use the data in your own research. In particular, this means that you have to ask for permission if you intend to publish a new analysis performed with this data (no derivative works-clause).
Creative Commons License

The code for the paper "Encoding of social signals in all three electrosensory pathways of Eigenmannia virescens Data" by A. Stöckl et al. is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License