A simple program that calculates the Christoffel symbols (Levi-Civita connection coefficients) from the components of a user-defined symmetric metric tensor.
- Python
Install Python 3.9 or higher. Create a virtual environment with:
python3 -m venv <virtual-environment-name>
Example: To create a virtual environment called christoffel-symbols
, use
python3 -m venv christoffel-symbols
Activate the virtual environment with:
source <path-to-virtual-environment>/bin/activate
The virtual environment can be deactivated with:
deactivate
- Jupyter Notebook
Install Jupyter Notebook with:
pip install notebook
To run the notebook:
jupyter notebook
- Additional Requirements
Install the necessary packages listed in requirements.txt
via:
pip install -r requirements.txt