Installation¶
Requirements¶
deltab requires Python 3.8 or later and the following packages (installed automatically via pip):
| Package | Purpose |
|---|---|
numpy |
Array operations, linear algebra (pseudoinverse, SVD) |
scikit-learn |
PCA decomposition |
scipy |
Kernel density estimation (used in example plots) |
matplotlib |
Visualisation (examples only) |
pandas |
Tabular output (examples only) |
Install from PyPI¶
Install from source¶
The -e flag installs in editable mode, so local changes to the source are reflected immediately without reinstalling.
Verify installation¶
TRE / HPC environments¶
In TRE environments without internet access, install from a pre-downloaded wheel or from a local clone. If using pip with --break-system-packages is required:
Or create a virtual environment first: