Operator methods for dynamical systems.
Requires Python 3.12 or above.
venv and pipCreate Python virtual environment:
python3 -m venv venv
Activate virtual environment:
source ./venv/bin/activate
Install nlsa module and dependencies by running one of the following command from within the Python directory of the NLSA repo. Additional information on install packages can be found in pyproject.toml.
pip install -e .
pip install -e ".[cuda]"
pip install -e ".[dev]"
pip install -e ".[cuda, dev]"
Various numerical examples can be found in the directory Python/examples.
Deactivate virtual environment:
deactivate
Save notebook to HTML, including current state of widgets (check that Settings -> Save Widget State Automatically is selected):
jupyter nbconvert --to html --no-input <notebook_name>.ipynb
Running from REPL:
import importlib as i
nl = i.import_module("nlsa")
i.reload(nl)
List installed packages:
pip freeze > requirements.txt