This repository contains instructional materials for PSYC 5270, a course I teach on computational systems neuroscience at the University of Virginia. Students in this course learn how to process neuroscience data and model the way the brain processes, stores, and generates information. They also gain expertise in using scientific programming (specifically Python and its ecosystem of numerical and graphics libraries) to perform analyses and build models.
The current syllabus is here.
The easiest way to run the exercises is to use mybinder. This will ensure that you have the latest version of the notebooks, all the data files, and the correct versions of required libraries. Click the badge at the top of this page to start a session. Note that this site does not save your work, so you have to be careful to download your ipynb
files after you finish a session.
If you have a These instructions should work on any operating system to give you a working Python environment with all the required packages.
Install the Python 3.x version of anaconda (or miniconda if you are comfortable using the shell). Run the following commands in a terminal, one at a time so that you can stop and fix any errors.
conda create -n comp-neurosci python=3.9.7 numpy scipy pandas matplotlib notebook cython ipywidgets ipykernel
conda activate comp-neurosci
pip install -e .
python -m ipykernel install --user --name comp-neurosci --display-name "comp-neurosci"
When you run Jupyter, you will have the option of selecting the comp-neurosci
kernel, which should have all of your software dependencies.
Make sure you work on a copy of the notebook (go to File/Make a Copy...
in the notebook) that you name with your UVA computing ID; otherwise you may run into conflicts if you try to pull updates to the notebooks from the github repository.
Instructors may wish to have a single installation of the code and data to be shared by multiple users.
By default, the notebooks will load pregenerated data from files in the data
subdirectory of this repository. If you are running a course and