Exercises
General Information
The exercises are based on the lectures and take place in the same room after the lecture completes. Links to the exercises are provieded with the lecture slides in the weekly plan The exercises are designed to offer a tiered level of understanding based on the background of the student. Most exercises are prepared as python notebooks that guides you step by step through the exercises. New python commands will be introduced when needed and links to the manual pages will be provided. This is not a course on python programming, you will learn to use this powerful language for different image processing tasks throughout the course.
Install Python
If you use colab, kaggle or mybinder you won’t need python on your own machine but if you want to set it up in the same way the class has you can follow the instructions shown in the video here and below
- Install Anaconda Python. You find instructions here: https://docs.anaconda.com/anaconda/install/
- Download the course from github as a zip file
- Extract the zip file
- Open a terminal (or command prompt on windows)
- Go to the root folder inside the course directory (something like:
Downloads/Quantitative-Big-Imaging-2021-master
) - Install the environment
conda env create -f environment.yml -n qbi2021
- Activate the environment
conda activate qbi2021
oractivate qbi2021
- Start python
jupyter notebook
Install Git and clone the lecturematerial
- Follow the instructions to install git.
- Clone the lecture repository.
- Go to the github page for QBI lecture material
- Click the clone button
- Copy the path
- Windows: open ‘git bash’, MacOS/Linux: open a terminal.
- Go to the folder where you want to place the lecture material.
- Type:
git clone <paste the repository path here>
, press enter and wait…
Now you should have a folder called Quantitative-Big-Imaging-2021 at location where you called the clone.
Get the latest version
Update from git with the latest changes
- Open a terminal
- Go to the repository folder
- Type
git pull
and wait for the download. - The local folder is updated with the latest changes.
Update conda environment
The lectures are an on-going development and there may be new modules required from week to week. Therefore it is recommended to update your environment before starting your exercises. This is done using:
$ conda activate qbi2021
$ conda env update -f environment.yml
Assistance
The exercises will be supported by Stefano van Gogh and Anders Kaestner Thursdays right after the lectures. For further support, please contact us for an appointment.
Online Tools
The exercises will be available on Kaggle as ‘Datasets’ and we will be using mybinder as stated above.