Python 3 (3.5 or later)
- Create a new virtual environment in the venv folder:
python3 -m venv venv
or:
python3 -m virtualenv venv
depending whether you use the python3 built-invenv
module or the optionalvirtualenv
. Ifvenv
is not available you can installvirtualenv
by running:
python3 -m pip install --user virtualenv
- Activate this environment:
source venv/bin/activate
-
You may need to update pip before installing topoly:
pip3 install --upgrade pip
-
Install topoly package
pip3 install topoly
- Loading data and
- Finding loops (and other loop-like structures)
python import_and_find.py
- Knots, links and their polynomials
python knots_links.py
- Gaussian linking number (GLN)
python GLN.py
- Lassos and minimal surfaces
python lasso_minimal_surface.py
- Map manipulation: Knot maps, GLN maps
python matrices.py