This repository contains the code to perform and implement the Virtual Aging Brain (VAB) as described in [1].
-
Clone this repo in your laptop
-
Open the terminal and run the command
-
git clone https://github.com/ins-amu/virtual_aging_brain.git
-
-
You can always download this folder from the website
- Open the terminal and verify to have python3 by running
python3
The version should be < 3.9 if possible
- Run the following commands in your git folder.
rm -rf env
python3 -mvenv env
. env/bin/activate
pip3 install --upgrade pip
pip3 install wheel
pip3 install -r requirements.txt
pip3 install -e .
- To use the environment from the Jupyter notebooks, you can either register the kernel, or install the
jupyter-lab
in the environment. Here we show the latter. Open a new tab on the terminal and run the following commands
. env/bin/activate
pip3 install jupyterlab
jupyter-lab
- Copy the paste the locahost link in your favourite browser or use the deafult opening session
- Test the tutorials (.ipynb file) by pressing Shift + Enter with your keyboard
- Enjoy
-
Create an Anaconda environment
-
Download an anaconda from the website
-
Download the zip folder from the github website and unzip it. We suggest to place it in the documents folder
-
Open the Anaconda prompt
-
Move to the folder of the project by running the command (modify accordingly)
-
cd C:\Users\<Username>\Documents\eitn_school_2021_tvb_project
-
Run the following commands in the terminal
-
conda create -n env python=3.6 conda activate env pip3 install wheel pip3 install -r requirements.txt pip3 install -e .
Again, either install the kernel to global jupyter instance, or install jupyterlab in the environment.
-
Run the following command:
-
conda deactivate env conda activate env jupyter-lab
-
Copy the paste the locahost link in your favourite browser or use the deafult opening session
-
Test the tutorials (.ipynb file) by pressing Shift + Enter with your keyboard
-
Enjoy
- Windows Linux Subsystem (WSL): You can repeat the step above in the new WSL terminal if installed in windows --> See Install WSL | Microsoft Docs
- Enjoy again
This work is licensed under MIT license. See LICENSE.txt for the full text.
Mario Lavanga (1), Johanna Stumme (2,3), Bahar Hazal Yalcinkaya (1), Jan Fousek (1), Christiane Jockwitz (2,3), Hiba Sheheitli (1), Nora Bittner (2,3), Meysam Hashemi (1), Spase Petkoski (1), Svenja Caspers (2,3), Viktor Jirsa (1)
(1) Institut de Neurosciences des Systèmes (INS), Inserm, Aix-Marseille University, Marseille 13005, France
(2) Institute of Neuroscience and Medicine (INM-1), Research Centre Jülich, Jülich, Germany
(3) Institute for Anatomy I, Medical Faculty & University Hospital Düsseldorf, Heinrich-Heine University Düsseldorf, Düsseldorf, Germany
[1] M. Lavanga, J. Stumme, B. H. Yalcinkaya, J. Fousek, C. Jockwitz, H. Sheheitli, N. Bittner, M. Hashemi, S. Petkoski, S. Caspers, V. Jirsa, The virtual aging brain: a model-driven explanation for cognitive decline in older subjects (2022), bioRxiv, https://doi.org/10.1101/2022.02.17.480902