Skip to main content

NFourSID

Implementation of the N4SID algorithm for subspace identification [1], together with Kalman filtering and state-space models.

State-space models are versatile models for representing multi-dimensional timeseries. As an example, the ARMAX(p, q, r)-models - AutoRegressive MovingAverage with eXogenous input - are included in the representation of state-space models. By extension, ARMA-, AR- and MA-models can be described, too. The numerical implementations are based on [2].

Installation

Releases are made available on PyPi. The recommended installation method is via pip:

pip install nfoursid

For a development setup, the requirements are in dev-requirements.txt. Subsequently, this repo can be locally pip-installed.

Documentation and code example

Documentation is provided here. An example Jupyter notebook is provided here.

References

  1. Van Overschee, Peter, and Bart De Moor. "N4SID: Subspace algorithms for the identification of combined deterministic-stochastic systems." Automatica 30.1 (1994): 75-93.
  2. Verhaegen, Michel, and Vincent Verdult. Filtering and system identification: a least squares approach. Cambridge university press, 2007.

Metadata

Release files for nfoursid 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nfoursid 1.0.2
File Size Uploaded
nfoursid-1.0.2.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nfoursid 1.0.2
File Interpreter ABI Platform
nfoursid-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.9 kB

Release files / nfoursid-1.0.2.tar.gz

Download URL nfoursid-1.0.2.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d65ba1bb98715f6310d0136aecdc997313caa239c08cc95f7e48378f77d06a24
BLAKE2b-256 checksum
How to use checksums
ab361c0543d9c5ca3a692ea5244de68a74776e38e49b77b6ddb1ec3e8e28beca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

Release files / nfoursid-1.0.2-py3-none-any.whl

Download URL nfoursid-1.0.2-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b51f319346a65bd2a66554d9bfd7846feb9ad359fad678566dfa3f124eace70
BLAKE2b-256 checksum
How to use checksums
8d36fae16163620cbf04de0e50f67d946782ff4964e65276852dceea8a3c655a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page