Notebooks containing the code used to generate most of the figures of my Ph.D. Thesis
Before you begin, ensure you have met the following requirements:
To set up the project development environment, follow these steps:
First, clone the repository to your local machine:
git clone https://github.com/albertomercurio/PhD-Thesis-Notebooks
cd PhD-Thesis-Notebooks
Create a new Conda environment by running:
conda create -n myenv python=3.12
conda activate myenv
Replace myenv
with a name of your choice, and feel free to specify another version of Python if needed.
Install the required packages using pip
from the requirements.txt
file:
pip install -r requirements.txt
To use the newly created Conda environment in VSCode, particularly for running Jupyter notebooks, follow these steps:
- Open VSCode.
- Press
Ctrl+Shift+P
to open the Command Palette. - Type
Jupyter: Select Interpreter to Start Jupyter Server
and select it. - Choose the Conda environment you created earlier (it should be prefixed with
Python 3.12
or the version you installed).
Make sure to activate your Conda environment and start VSCode from the same terminal to ensure the environment settings are retained:
conda activate myenv
code .
Now you can run the Jupyter notebooks from VSCode, ensuring all code executes within the context of your Conda environment.