Installation#
sequince requires Python 3.11 or later. Install it from PyPI:
python -m pip install sequince
The core installation includes NumPy, SciPy, MiniPCN, and the Array API compatibility packages. It supports NumPy-based sampling with the default MiniPCN mutation backend.
Optional integrations#
Install extras for the integrations you need, for example:
python -m pip install "sequince[jax,blackjax,hdf5]"
Extra |
Provides |
|---|---|
|
JAX arrays and functional execution |
|
BlackJAX mutation algorithms |
|
emcee ensemble mutation |
|
Eryn ensemble mutation |
|
HDF5 result storage and checkpointing |
|
Corner plots |
For example, install sequince[emcee] to select emcee mutation instead of
the default MiniPCN backend. See
Mutation configuration for mutation-specific
requirements.
See Array backends for backend selection, accelerator setup, and SciPy Array API configuration.