Code Monkey home page Code Monkey logo

nilearn-tutorial-eugloh-2021's Introduction

Binder

nilearn tutorial EUGLOH 2021

This repository holds the materials for the Nilearn tutorial for the EUGLOH Summer School focused on Neuroscience.

The notebooks are based from previous nilearn tutorials:

Install

To be able to run the tutorial materials we need a few things:

  • Python 3: Most recent systems come with Python pre-installed. However, depending on your system, you might still have python 2 as your default Python.
Danger: Nilearn does not support Python 2 anymore, so make sure to have Python 3 installed.
  • pip: pip is the standard package manager for Python. It is a very powerful tool to manage your python packages. You can learn more on pip here.
Tip: If you want to check whether you have pip installed:

Linux:

$ python -m pip --version
pip X.Y.Z from .../site-packages/pip (python X.Y)

Windows:

C:\> py -m pip --version
pip X.Y.Z from ...\site-packages\pip (python X.Y)
  • git: git is the most popular VCS (version controlled software). Although we recommand having git installed to download these notebooks, you can also use the download button on GitHub. You can learn more on git here.

The easy case

If you have these tools installed, you can download the repository with the notebooks:

$ git clone [email protected]:NicolasGensollen/nilearn-tutorial-EUGLOH-2021.git
$ cd nilearn-tutorial-EUGLOH-2021

Install the requirements (this will install nilearn and its dependencies, as well as Jupyter-notebooks):

$ pip install -r requirements.txt

Launch the notebooks:

$ cd Notebooks
$ jupyter-notebook

The harder case

If you don't have these tools installed already, we recommand to rely on anaconda. Anaconda is a distribution of the Python programming languages for scientific computing which aims at simplifying package management and deployment. The distribution includes data-science packages suitable for Windows, Linux, and macOS.

Once you have downloaded and installed anaconda, you can create a new virtual environment dedicated to nilearn:

$ conda create -n nilearn python=3.9
$ conda activate nilearn

You can then go back to the "The easy case" section and follow the instructions.

Running the turorial notebooks online

Alternatively, you can run the notebooks online via Binder by clicking this link: https://mybinder.org/v2/gh/NicolasGensollen/nilearn-tutorial-EUGLOH-2021/HEAD or clicking the Binder badge at the top of the README file.

nilearn-tutorial-eugloh-2021's People

Contributors

nicolasgensollen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ymzayek

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.