Yuexuan Li1,2, Zhong-Wu Liu2, Gustavo Santana1,3, Ana Marta Capaz 4, Etienne Doumazane 4,Xiao-Bing Gao2, Nicolas Renier 4, Marcelo O.Dietrich*1,2,3
1Laboratory of Physiology of Behavior, Department of Comparative Medicine, School of Medicine, Yale University; New Haven, 06520, United States of America
2Department of Comparative Medicine, School of Medicine, Yale University; New Haven, 06520, United States of America
3Department of Neuroscience, School of Medicine, Yale University; New Haven, 06520, United States of America
4 Laboratoire de Plasticité Structurale, Sorbonne Université, ICM Paris Brain Institute, INSERM U1127, CNRS UMR7225, AP-HP, 75013 Paris, France
*Corresponding Author
Analysis is done using Jupyter notebooks. You will need to have Jupyter or Jupyterlab installed on your machine.
Installation instructions
-
Install Miniconda on your machine https://docs.anaconda.com/free/miniconda/. On Mac you can use these commands in the terminal.
mkdir -p ~/miniconda3 curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm -rf ~/miniconda3/miniconda.sh
-
Install jupyterlab in the base environment with
nb_conda_kernel
conda install jupyter
-
Once Miniconda is installed create the environment used for nearly all notebooks in this repository by running from the command line.
conda create -n env python=3.10 conda activate env
-
Install the library needed to run the code by running
pip install -e .
while in theenv
environment.
- For each notebook, first update file path to data.
- Next, check the versions of packages for reproductivity before running notebooks.