Skip to main content

System Identification Toolbox (Slow is Better)

Project description

pysib — System Identification Toolbox

DOI PyPI License:MIT

pysib is a System Identification Toolbox for identifying discrete-time SISO dynamic systems from input/output data.

The package implements classical polynomial model structures used in system identification, with an emphasis on reliable model estimation rather than fast black-box routines.

Documentation: https://pysib.net/

Install

pip install pysib

Requirements: Python >= 3.9, NumPy, SciPy, Matplotlib, and LAPACK (Accelerate on macOS, liblapack on Linux).

For development from a local checkout:

pip install -e .

Quick Start

import numpy as np
import pysib
from scipy.signal import lfilter

N = 1000
u = np.sin(np.arange(N) * 2 * np.pi / 100)
y = lfilter([0, 1], [1, -0.9], u) + 0.01 * np.random.randn(N)

# Estimate an ARX model by least squares
theta, model = pysib.arx(u, y, na=1, nb=1, nz=1)

# Estimate an Output Error model with the nonlinear optimizer
theta, model = pysib.oe(u, y, nb=1, nf=1, nz=1)

# Use the estimated model
yp = pysib.predict(u, y, model)
ys = pysib.simulate(u, model)

All estimators return (theta, model), where theta is the estimated parameter vector and model is a dictionary with polynomial arrays A, B, C, D, and F.

Included API

  • Estimators: arx, iv, correlation, sm, oe, armax, bj, oe_filtered, armax_filtered, bj_filtered.
  • Model use: predict, simulate.
  • Utility: plota.

See https://pysib.net/ for the complete documentation.

Publications

Test

python3 -m pytest tests/ -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysib-0.2.4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pysib-0.2.4-cp314-cp314t-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

pysib-0.2.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp314-cp314t-macosx_11_0_arm64.whl (41.6 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

pysib-0.2.4-cp314-cp314-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

pysib-0.2.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp314-cp314-macosx_11_0_arm64.whl (41.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pysib-0.2.4-cp313-cp313-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pysib-0.2.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp313-cp313-macosx_11_0_arm64.whl (41.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pysib-0.2.4-cp312-cp312-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pysib-0.2.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp312-cp312-macosx_11_0_arm64.whl (41.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pysib-0.2.4-cp311-cp311-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pysib-0.2.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp311-cp311-macosx_11_0_arm64.whl (41.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pysib-0.2.4-cp310-cp310-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pysib-0.2.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp310-cp310-macosx_11_0_arm64.whl (41.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pysib-0.2.4-cp39-cp39-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

pysib-0.2.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pysib-0.2.4-cp39-cp39-macosx_11_0_arm64.whl (41.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file pysib-0.2.4.tar.gz.

File metadata

  • Download URL: pysib-0.2.4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for pysib-0.2.4.tar.gz
Algorithm Hash digest
SHA256 bf927c5f77ab4cb8e8c4007a07348c6a64f97e05ffe1f0770cedaa94bcf3a985
MD5 4d3d6bd0d93eb564534eb92881b1ad02
BLAKE2b-256 8b934c2ef6102ecbbc5137783104c5a09f2ccbfafb3c2018e52438dd7f604b43

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 38c56b5a483a88c4a1666c65c0b089bd451d2cfecd4cba4796d0eedd33eaf64d
MD5 525a4a9373d236bad9e9f450994d960e
BLAKE2b-256 601f0f51eaf06a2e828c1ecccfc3d57dce62099334222c55ef2ce3d6e7fb0f73

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8191b2f1150275cdc39e6419e2ff3b117cf39693dbcac38e563253b5ebf6e40d
MD5 66b7097e4981a0791082972150de47f6
BLAKE2b-256 7e1e0e8031812e0e2b10564520619ea3fb281f4f6614cdc681241988b3a8101b

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6401e344fe221ed1970fcf436710663101bf720897be078e51c4efc58480799
MD5 afa849fbe95121ca44f361d729c27983
BLAKE2b-256 f0cc54ec5c67c66ce3c7383af40c46c3a180df7be9c61f5c6b0ed703330607c3

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cee6f8b80aea088655905f9df342cdf0c971098ad29bf777c9814954f26e0d76
MD5 7828bdf5992dd910a556c0207762b1ef
BLAKE2b-256 b6262ebf38b168c87095db4ebd3d874f44127d25a21c309643cc633c1caa6a26

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 76612c0950bbaf8f94483e2b961cdc339f56d101e3c6a1fb6a9b12780fa007e3
MD5 7c66191cebef3346fa15c7d2ecb58c58
BLAKE2b-256 2ab39f041de5c15e251df128235ccad1a30140e166af83cf155314614d9755fb

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0871ad36ebebc4f2724e97b19d935d8679f67432e269d647cb89df82a0eec6bc
MD5 8c1258436d050c9c503a79337c19264b
BLAKE2b-256 4d4a5dcf273529fd9a636afa7c5c6cebde8f7638fa8efa26da48a94b68d1b051

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2888604a29a6a6af37da7f9b53a814f65d925500306ff6de95e2266ddd9601f
MD5 3037a02317ca523e72c4cbbbcb2e5640
BLAKE2b-256 017f4b6734d7c8123a59791bc026bdeaf61a992c9d7b5d2cc560eb5f6bd53e4e

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b97304e480c3eabf0bef148ff7f8042674efe819b2f438ee0c7ba4cf76525ac
MD5 ea71a31449decdcff51623a998fdb48c
BLAKE2b-256 57a139a251d26ec9f5b53272a4987305d1675b3bc99e00c551cfc5f2cfcb52f2

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c29fbcd42e8596aba49426fb56a0254f597e5d05aa4473880bd83c2c09d582e4
MD5 e96b5b2ee17d21ee6fd5b0781e9d178c
BLAKE2b-256 ccfcd72a97f6c53412c4e302e0b9612370c07ff8c92ddbef94cb886cdfcd7e93

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 afeee62d6c76d42b78ed8e6d1192207c9d53afc425da48503f7734f187d82234
MD5 229626fb9f5db0c83c9ac452ca694174
BLAKE2b-256 4b5046d6b63b4a4e92811ceced4513f0bab45665dc1d725c0bd5594f45dfab1f

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d789ff8785706ba667ff85c9b0fc9903303541e26a8be9ef349008371a286ff
MD5 5b16f317ce1a73e031642d330b6a4288
BLAKE2b-256 84e91cff194463365be27520e5e5831968253cbe6e6fe04033b482aaf3c547ed

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 afbb856e1db6d4f7d14cf67c3b5b61d9cf275cd21013c16551e003b8d94eab79
MD5 6b878304948283b4184f5be9d73141e8
BLAKE2b-256 5f2dae988ade8126feb86ba7a19d9f3031715f7d72ceed1fb8b0e404f7e29035

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 db6dd328f15a9421e6d16586ca2590b680ceb66ba0392930d0cf3d3679c7665c
MD5 040dcfc6a0269deb86740bf48422322a
BLAKE2b-256 9d98e7fba6b1075fbb31e0dde276283c09fd23578bfb713c291bdd1cfc6ad5b3

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93d2c74f1e5ceb56de9831455afba329126a2a20da06ebfe019b271a213aac34
MD5 d093c513b65917b2880a6a890d032497
BLAKE2b-256 15751fcc20356b087ce67f4ae54bef5c5c35b834c01b27f3910f099aa905150f

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5bfaca82e64ce8e18a1d7ce3e4d1fe858303494b2e8d72793baf5d47c873c897
MD5 8cd12c314155d0b4ce2e6d2b218c0556
BLAKE2b-256 2d62466392b42d6471959d66398a5ddc4e4f81f208541b198fb2dd7ce2bd593a

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 804fa1cbf09bc9f090833305543a276a969da4ca48420311cdd1bb996fb8567a
MD5 1dc362831f33cc1fa77896aab4c13abd
BLAKE2b-256 958e7449f7f27e1b63154cc4e21e836ec044c723ba0e6e308ba7c14bc61022bd

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6c5bbe8c07460ddca70157f7dfd5ac5ad06ca1b91960d2a49f08c974376826c8
MD5 c11cd528bb1fcb0224b8a376e0301170
BLAKE2b-256 5c916b7ca0ecfce6c003a379acd18a91a03c36cc0276cb175315bfcf190d04b7

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c283855ad242c9e07d66d9f9df38c36998d8ea34be16e6fd8b3a2ed598a6b42e
MD5 9bd9c46cb8791ff6a43e156913e88ec1
BLAKE2b-256 bf012d6ce343576e410052587ac2ea0bb9e6ae21f8cd7a65b51d07eee32fab89

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 98a4a39eeee9d799e6f991260c44380a24eaae361110742d5ffe0ce4edb9c2fe
MD5 c6becd20941d8afb0088b7f2edcbadaf
BLAKE2b-256 442448a2c959fbdb60c59d39ed2d63c0106950438563e73ed4ccf7dfac45df36

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pysib-0.2.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74b65953f50a6c6fbf93d9be06df35ab606b45a75f546f53bb8db7e3e23f34bc
MD5 161811b16eab9e5a638cff0a69e10818
BLAKE2b-256 44ec380aa376e7a391c73e5cef6e62576964aa66908d8ea6193999e1e95847fa

See more details on using hashes here.

File details

Details for the file pysib-0.2.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pysib-0.2.4-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 41.0 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for pysib-0.2.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2d55333bcff2fc67dbb7d12b716c616e42ed4ac2e16726210b986b67f81d8b4
MD5 a0799b83773d9eedec47dc71e0483758
BLAKE2b-256 344d79076dc3ec0f718c3865857b10ed1133fb0ec2619ebd643c27e140195807

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page