All the slides that will be used in this session are here.
We're going to be working with some example datasets, which you can download from here.
For this module, you need to set up a conda environment to analyse tracking data in Jupyter notebooks.
- Make sure you first installed conda properly by following these instructions.
- Open Anaconda Prompt (use
terminal
on Macs) and type the following to create a new environment:conda create --name cell-tracking python=3.12
- Check that the environment was created:
conda env list
- Activate your new environment so you can use it:
conda activate cell-tracking
- Install the necessary packages for this session:
conda install matplotlib pandas numpy seaborn jupyter
- Open Jupyter Notebook and check that the installed packages can be correctly imported.
When Jupyter notebook opens in the web browser, open a new notebook with File/New/Notebook
jupyter notebook
Select a python kernel
Type in one cell import numpy as np
and run
If no error is found, it means that the package has been installed correctly.For more information on using conda, see here.
For a detailed explanation on Jupyter Notebook, visit the Jupyter Notebook User Documentation