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.1-cp314-cp314-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.14Windows x86-64

robarma-0.1.1-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.1-cp314-cp314-macosx_11_0_arm64.whl (885.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

robarma-0.1.1-cp313-cp313-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.13Windows x86-64

robarma-0.1.1-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.1-cp313-cp313-macosx_11_0_arm64.whl (884.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

robarma-0.1.1-cp312-cp312-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.12Windows x86-64

robarma-0.1.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (884.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: robarma-0.1.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • 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.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6dfb3607eb76ba8cb90ccc32c6664da3a1cb19c2fc5572dc61e93f5d39520d6e
MD5 6a134dbf4cde14550666af8aefbc95a6
BLAKE2b-256 2e89d91e0c83ff3bcf26ab6e6664d91127644c00b14107ba7011fa7ceb6193ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for robarma-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de8cadf7703918fcbb045671072188174f1afb2e595706bbec9cfd5d823640e1
MD5 4c390bacd76d5eba0b73076475f2c73d
BLAKE2b-256 923baa9ddbc9f213faa4ab125c4e054ff96f200dcf4b0cf8a9bccde20e3455ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for robarma-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1ebdb09d84bec6ba825e12ba6a7b58100c529fe4a15ec3be7eefeaae4331e3b
MD5 3e8f34f9735d7787a3cbc17cfbed0487
BLAKE2b-256 b5be22bbfa106341cfef6c094d1a0546a4755820e6a58e519ac446a7e3fdce2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: robarma-0.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • 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.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 657af5fe3b3e85599c2f54035a13fe2bc8d01174790f7b646c0eb5f8fdf949b9
MD5 c27e285588b6828dd29547c1d9424939
BLAKE2b-256 0d8675c5491b4651cdee825461688e0e3998ccf1d59cd0fed3d94c82a1594bbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for robarma-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 beaa2591798aadfc80f9bb9f7e8cf2d9f4750b934c98dd82569b38f7fc24aaec
MD5 9e7928f31e29a4bc107276a0ec3453c4
BLAKE2b-256 4b278095fb6aea621cd4a8f71ebd9ca1e00a6d333de1cbb5717656ebc444aa4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for robarma-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee027a1ff0360ccc485c0cd04379b88819153cab0b985d6f046db03504356261
MD5 231c8b115c5f8f83ed165d391cd84039
BLAKE2b-256 a8e1b2995b22a70fc9997646927eaab79a4dbc98752bb25d2a8d3dc0b21b2495

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: robarma-0.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • 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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 20b563d842d40937f87d5700f6eef31920dc85a784f03349e913c6afd667fb29
MD5 0a040b45e007d01a54bb14769a80f0d1
BLAKE2b-256 280b5aca113945dc170af77bf3c622f2008319788c100bbb06b12d36bf0cd1ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for robarma-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68221dd5afee108dd63e2627090fb8bac9fbdd8d2b92bbbb9d8dc607703e207c
MD5 67bc7f9564814fca9f14aac9072ebaf9
BLAKE2b-256 8aad070cd1833410d0ff09cd717f56af2d0f19e25f849b87d766ab4304bfea93

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for robarma-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9f0a7f0b836bb7ddb4292a7f6ded328cdd21630b4108b7138a943e69e9cc9aaf
MD5 cac92f38a0bd61b640032e808828a0ce
BLAKE2b-256 cffac4c15e3406b81d5503d91156f4c6a9e846bc21c287c0fab05e47cc5b9200

See more details on using hashes here.

Provenance

The following attestation bundles were made for robarma-0.1.1-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