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-NotebooksCreate a new Conda environment by running:
conda create -n myenv python=3.12
conda activate myenvReplace 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.txtTo use the newly created Conda environment in VSCode, particularly for running Jupyter notebooks, follow these steps:
- Open VSCode.
- Press
Ctrl+Shift+Pto open the Command Palette. - Type
Jupyter: Select Interpreter to Start Jupyter Serverand select it. - Choose the Conda environment you created earlier (it should be prefixed with
Python 3.12or 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.