Setting up your environment
The BODAQS analysis software uses an interactive computing platform called Jupyter Lab to process, analyze and present logger data. Jupyter Lab is widely used in science, engineering, finance and other quantitative disciplines.
To use Jupyter Lab you will need to do some setting up on your computer. This will include:
- Downloading the BODAQS analysis files to a local folder on your computer
- Installing Python. Python is a programming language that is used for data analysis. We need it because Jupyter Lab runs Python code, among its other capabilities.
- Creating a Python virtual environment. This is a ring-fenced area of your computer where the BODAQS software runs. Having it in its own environment keeps it isolated from everything else on your computer so that nothing breaks anything else.
- Installing the BODAQS dependencies, including Jupyter Lab. These are additional software packages that BODAQS uses.
To do these steps, you will need to use a command line interface like PowerShell on Windows or Terminal on macOS.
Get the BODAQS analysis files
Section titled “Get the BODAQS analysis files”Most users should download the latest BODAQS analysis release as a .zip file and extract it to a local folder such as C:\Users\YourName\Documents\BODAQS on Windows or ~/Documents/BODAQS on macOS.
Go to the ‘releases’ page in the BODAQS github repository here and download the latest analysis package.
You do not need Git to run the notebooks. Cloning the repo is still fine if you are contributing to development or want the latest in-progress version.
Install Python
Section titled “Install Python”BODAQS currently uses Python 3.14.3.
Download Python 3.14.3 from the official Python website:
Run the installer and make sure you tick:
- Add python.exe to PATH
- Install launcher for all users (recommended)
Then open a new PowerShell window and check that Python is available:
python --versionpip --versionIf python is not recognised, close and reopen PowerShell. If that still
doesn’t work, rerun the installer and make sure Add python.exe to PATH
was ticked.
Install Homebrew if you don’t have it already, then install pyenv:
brew install pyenvAdd pyenv to your shell so it initialises automatically. For zsh (the default on modern Macs):
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrcecho 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrcecho 'eval "$(pyenv init -)"' >> ~/.zshrcsource ~/.zshrcThen install the Python version used by BODAQS:
pyenv install 3.14.3pyenv local 3.14.3Create the virtual environment
Section titled “Create the virtual environment”Open a terminal in the BODAQS folder you unzipped (or cloned), then create the virtual environment:
cd C:\path\to\BODAQSpython -m venv .venvcd /path/to/BODAQSpython -m venv .venvActivate the virtual environment
Section titled “Activate the virtual environment”.\.venv\Scripts\Activate.ps1source .venv/bin/activateUpgrade pip
Section titled “Upgrade pip”With the virtual environment active, upgrade pip:
python -m pip install --upgrade pipInstall the dependencies
Section titled “Install the dependencies”requirements.txt pins every BODAQS dependency, including JupyterLab,
ipykernel, pandas, numpy, scipy, plotly, and the interactive notebook
widgets. Install them all with:
python -m pip install -r requirements.txtNo separate pip install jupyterlab step is needed after this; the repo-root
requirements.txt is the canonical live environment specification.
Once this finishes, continue to Loading your data.