Skip to main content

Python bindings for the robarma C++ library

Project description

RobARMA Python

Python bindings for the RobARMA C++ library.

About this repository

This repository provides a modern, pip-installable Python interface to the RobARMA C++ library, which implements robust and classical estimators ARMA(p, q) processes.

Features:

  • Robust estimators:
    • S
    • FTAU (filtered tau)
    • MM
    • BIP-MM (bounded innovation propagation MM)
  • Classic estimators:
    • OLS (ordinary least squares)
    • MLE (maximum likelihood via Kalman filter)

Installation

Clone this repository and initialize submodules:

git clone https://github.com/kustij/robarma-py.git
cd robarma-py
git submodule update --init --recursive

Building

Ceres and Eigen are required. Simplest way is to use vcpkg and pass it to pip install as

pip install . --config-settings=cmake.args="-DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake"

Usage

import robarma
import numpy as np

# Simulate an ARMA(1, 1) process
y = robarma.simulate(phi=np.array([0.5]), theta=np.array([0.2]), mu=1.0, n=100)

# Fit an ARMA(1, 1) model using OLS
model = robarma.arma_model(y, 1, 1)
fit = robarma.mm(model)
print(fit.params)

Documentation

  • Python docstrings are available for all major classes and functions.
  • For full C++ API documentation, see the robarma Doxygen docs.

License

See LICENSE file. The underlying C++ library is licensed under the same terms as robarma.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

robarma-0.1.0-cp314-cp314-win_amd64.whl (323.3 kB view details)

Uploaded CPython 3.14Windows x86-64

robarma-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (18.8 MB view details)

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

robarma-0.1.0-cp314-cp314-macosx_11_0_arm64.whl (885.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

robarma-0.1.0-cp313-cp313-win_amd64.whl (314.1 kB view details)

Uploaded CPython 3.13Windows x86-64

robarma-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (18.8 MB view details)

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

robarma-0.1.0-cp313-cp313-macosx_11_0_arm64.whl (885.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

robarma-0.1.0-cp312-cp312-win_amd64.whl (314.1 kB view details)

Uploaded CPython 3.12Windows x86-64

robarma-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (18.8 MB view details)

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

robarma-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (885.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file robarma-0.1.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: robarma-0.1.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 323.3 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for robarma-0.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 b72ec2598bfc2a93a2d5946bdb552004b6330b97f82950a68c28f7faba481607
MD5 152548a3e3b8bc40fb8b0059944315c8
BLAKE2b-256 26c56ded58c6ec99d726f4ca025028af95f90fa37e1e5637dd3cdd07f2a9df55

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for robarma-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aef15885726b8c1c923327e37a35e7075a08c7d4cc6c78e263ddd5785b46c553
MD5 dfd8bad9505b7ca9ae26782145a6a75f
BLAKE2b-256 e97cc0a79eff3f83c394f9bc9ed4c1925ae700fc728d460e3ccfcb3a85106e2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for robarma-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7eb252cfdfc280e19403cf581ac10e55f36b14ed2b38752e4d8b07585b9bb27c
MD5 777dea3056a72b602d9c0cb302f4aa8c
BLAKE2b-256 cb6dc94a0ab6d99c3338621bf8d2b135d7da9c4024f307235abce57234c53bca

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: robarma-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 314.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for robarma-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d6cc8554a2cd1a2991bc341ba0c1bf386517dff9a751ccbbe234ba6670105150
MD5 4d17ba4cabd4471ecf8887fb444acc06
BLAKE2b-256 b80e874accc073e2eca9b3187e8a7afbcf500a67018baf43af91da7af9fa2f79

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for robarma-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6510b2c64051275a0799e04e53e5f931fdf8cf0f7d2da032bc11896445566310
MD5 f5b5299ed9d54b8a872c6288eabbbca5
BLAKE2b-256 6dee54d141910dcb875561c0eef5dae21a7216f179baaea5e2a1eb08f7d3ef00

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for robarma-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 92fa8deda79d7bb5624789deb874932575a31f6580dbf435a8281aa790a99f2e
MD5 0e70f898982534b19eafe9441f52a9fc
BLAKE2b-256 bdf5dfe6acb0f4db8a2e0be279ed55fc34362f9caa11b9ea165e1315068a2ed2

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: robarma-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 314.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for robarma-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6b55fb86da7578f35beeba1ee7b1c7c5a29bb1c3d8f7e7e7f027ea4390e7bcbb
MD5 7c1764835538d8f5b081dd19219051ae
BLAKE2b-256 eb0c4b4c262c589954468599c663a9381dcef2c85253b104497863e5bdc17dcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for robarma-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 383a70cb5bc3738de78d99d2c8fb0a55482d97efa1346854b2c4128138e0d9bc
MD5 2c4a47bce54be49f4b30a449815ca622
BLAKE2b-256 cbc9c8961a3b0232051b1056a6e93fa9368a50f2478fe807cba68bd07f8551af

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robarma-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for robarma-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36ed80250685c206a359908ca82d6b6ad1551855e79598696d84340cbbb1b5fb
MD5 568ed91bed531d21368d1c8a6d9ee888
BLAKE2b-256 f99c372d97bf316ff07508fbda7fe2731f704dd52295dffddcbd2ffa8df851a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/robarma-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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