Importance Sampling for State Space Models (isssm)
written in jax
Install
Option 1: Install from PyPI (for users)
pip install isssmOption 2: Development Setup with uv (for contributors)
This project uses uv for dependency management and virtual environments.
Install uv (if not already installed):
# On macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh # On Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Clone the repository:
git clone https://github.com/stefanheyder/isssm.git cd isssmCreate a virtual environment:
uv venvActivate the virtual environment:
# On macOS/Linux source .venv/bin/activate # On Windows .venv\Scripts\activateInstall the package in development mode:
uv pip install -e ".[dev]"
How to use
Please check out the documentation for details and examples.
For the mathematics and further details, please have a look at my PhD thesis.
Development Workflow with nbdev
This project uses nbdev for literate programming. Here’s how to work with it:
Edit notebooks in the
nbs/directory:All development happens in Jupyter notebooks in the
nbs/directory.Export your changes to Python modules:
nbdev_exportBuild the documentation:
nbdev_docsPreview the documentation locally:
nbdev_preview