Installation¶
Install from PyPI¶
Install pysib with pip:
Requirements¶
pysib requires:
- Python >= 3.9
- NumPy
- SciPy
- Matplotlib
- LAPACK
On macOS, pysib links against the Accelerate framework. On Linux, it links against liblapack.
Development install¶
For development from a local checkout, run:
This compiles the local C extensions and installs the package in editable mode.
Native extensions¶
The oe, armax, bj, and filtered estimators use C extensions linked against LAPACK.
The arx, sm, correlation, iv, predict, and simulate functions are implemented in Python using NumPy and SciPy.
Verify the installation¶
After installation, check that the package imports correctly:
For a development checkout, run the test suite with: