$npx skillfedfor your agent

nfoursid

Implementation of N4SID, Kalman filtering and state-space models

With conditionsPyPI Scientific/EngineeringReleased Jul 2025358.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nfoursid-1.0.2-py3-none-any.whl
v1.0.2 · released 2025-07-24 · Python >=3.7 · 3 runtime deps: matplotlib, numpy, pandas

Yes, if you need subspace identification or Kalman filtering for state-space models. The package is stable, permissively licensed, and has low install friction. However, maintenance is aging (last release 386 days ago), so verify that the implementation meets your numerical accuracy requirements and check the documentation and examples before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • Low friction install with a pure-Python wheel.
  • Maintenance is aging—last release was 386 days ago—but the repository remains active and the package is marked Production/Stable.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2025-07-24 (386 days) · last repo commit 2025-07-24 · 28 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 358,929 downloads/mo, #7,255 on PyPI

Verify before relying

pip install nfoursid

import nfoursid
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

# Use with numpy arrays or pandas DataFrames for time-series data
# See documentation at https://nfoursid.readthedocs.io/ for examples
  • Specific N4SID algorithm implementation details and numerical accuracy compared to the referenced papers
  • Performance characteristics on large time-series datasets
  • Whether Kalman filtering is provided as a standalone tool or only within state-space models
Same gist for agents: .md · .json

What it is and what it does

NFourSID is a Python implementation of the N4SID (Numerical algorithms for Subspace System IDentification) algorithm, a classical method for identifying state-space models from time-series data. It includes Kalman filtering and supports a family of linear time-series models—ARMAX, ARMA, AR, and MA—all representable as state-space systems. The package depends on numpy for numerical computation, pandas for data handling, and matplotlib for visualization.

The library is designed for researchers and practitioners working with multi-dimensional time-series who need to fit linear dynamical systems. It implements algorithms from foundational control theory literature and is suitable for system identification tasks where you have input-output or output-only measurements and want to recover the underlying state-space structure.

Use it for

  • Identify state-space models from experimental time-series data in control systems or signal processing applications.
  • Fit ARMAX or ARMA models to univariate or multivariate time-series for forecasting or analysis.
  • Implement Kalman filtering for state estimation in linear dynamical systems.
  • Perform subspace identification on combined deterministic-stochastic systems from measurement data.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need subspace identification or Kalman filtering for state-space models.

The package is stable, permissively licensed, and has low install friction. However, maintenance is aging (last release 386 days ago), so verify that the implementation meets your numerical accuracy requirements and check the documentation and examples before committing to production use.

Install

nfoursid on PyPI

Before you install

Low friction install with a pure-Python wheel. Maintenance is aging—last release was 386 days ago—but the repository remains active and the package is marked Production/Stable.

Requires Python 3.7 or later.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install nfoursid

import nfoursid
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

# Use with numpy arrays or pandas DataFrames for time-series data
# See documentation at https://nfoursid.readthedocs.io/ for examples

Verify before relying

  • Specific N4SID algorithm implementation details and numerical accuracy compared to the referenced papers
  • Performance characteristics on large time-series datasets
  • Whether Kalman filtering is provided as a standalone tool or only within state-space models

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
matplotlibnumpypandas
MaintenanceAging 386 days since the last release
Last repo commit
First released
Downloads358,929 / month, #7,255 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3

Evidence: nfoursid-1.0.2-py3-none-any.whl

Tags

Capabilities
state-space model identificationN4SID subspace identificationKalman filtering implementationARMAX ARMA time seriessystem identification algorithmtime series state-space models
Topics
system-identificationkalman-filtertime-series

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “state-space model identification”

  • nfoursidImplements the N4SID algorithm for subspace identification of…
  • mamba-ssmMamba-ssm implements state-space model architectures (Mamba, Mamba-2,…
  • statsmodelsstatsmodels provides statistical models, inference methods, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also control · simdkalman · filterpy · pykalman · mamba-ssm · ai4ts · tbats · lttb · timesfm · neuralforecast