Code material for the interactive recitations and homeworks of the NYU course Introduction to Neural Engineering.
These recitations are based on Jupyter notebooks that can be either run locally on your laptop, or executed in an online Binder environment.
- Download and install a Python distribution from https://www.anaconda.com/download/ using the Anaconda installer
- Open the Anaconda prompt
- Clone this repository:
git clone https://github.com/tjjlemaire/IntroNE.git
. To do this you will need to have Git installed on your computer. Alternatively, you can download the repo archive and unzip it (although the Git way is highly advised). - Move to the repo folder:
cd IntroNE
- Create a new anaconda environment:
conda create -n introne python=3.8
- Activate the anaconda environment
conda activate introne
- Install the code dependencies:
pip install -r requirements.txt
- You're all set!
- Open an anaconda prompt
- Activate the anaconda environment:
conda activate introne
- Move to this repository
- Download the latest updates from the online repository:
git pull
- Install the code dependencies:
pip install -r requirements.txt
- Start a jupyter lab session:
jupyter lab
- Open the notebook of interest by double-clicking on it
- In the upper right corner, make sure that jupyter is running with the right kernel (
Python 3.8.12 64-bit ('introne': conda)
). If not, click and select the appropriate kernel from the drop-down list. - You're all set!
You can use Binder to access and run the notebooks online without a local installation:
Notebook name: tuto_extracellular_recordings.ipynb
Notebook name: tuto_spike_sorting.ipynb
Note: This tutorial uses a significant amount of RAM, hence execution in the Binder environment will be ridiculously slow. It is therefore highly advised to execute the notebook locally.
Notebook name: tuto_extracellular_stim.ipynb
Note: for Windows users, you will to download and install a NEURON distribution in order to run this notebook on your machine.
Notebook name: homework1.ipynb
Note: for Windows users, you will to download and install a NEURON distribution in order to run this notebook on your machine.
This notebook requires some input data to run. Make sure to follow the assignment instructions for how to download and extract the dataset.
For any questions, you can contact me by email: theo.lemaire@nyulangone.org