Skip to main content

acfmperiod

Python port of the original R package acfMPeriod for classical and robust autocovariance/autocorrelation estimation using periodogram and M-periodogram methods.

Features

  • Univariate and multivariate ACF/ACOVF from periodogram (PerACF)
  • Robust ACF/ACOVF from M-periodogram (MPerACF)
  • Periodogram and cross-periodogram estimators
  • Covariance/correlation matrix wrappers at lag 0 (CovCorPer, CovCorMPer)
  • Plotting support for robust and classical outputs

Installation

pip install acfmperiod

For local development:

pip install -e .[dev]

Quick Start

import numpy as np
from acfmperiod import PerACF, MPerACF, CovCorPer

rng = np.random.default_rng(7)
x = rng.normal(size=(128, 2))

res = PerACF(x, lagmax=20, typevalue="correlation", doplot=False)
print(res.acf.shape)   # (20, 2, 2)

rob = MPerACF(x, lagmax=20, doplot=False)
cov0 = CovCorPer(x, typevalue="covariance")
print(cov0)

API

  • PerioReg, MPerioReg
  • CrossPeriodogram, MCrossPeriodogram
  • PerACF, MPerACF
  • CovCorPer, CovCorMPer
  • plotrobacf

Lowercase aliases are available without underscore naming. ß

Metadata

Release files for acfmperiod 0.1.0

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

Source distribution (sdist)

Source distribution for acfmperiod 0.1.0
File Size Uploaded Provenance
acfmperiod-0.1.0.tar.gz 48.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 94.9 kB

Release files / acfmperiod-0.1.0.tar.gz

Download URL acfmperiod-0.1.0.tar.gz
Size 48.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0c022b35658ed3eb18d3b18cfe3e3c88c3f2205d3c5be33aba43923b237219d1
BLAKE2b-256 checksum
How to use checksums
ea8ff591422ac335006fc1403bdf680f746abd161d7365991680d23bc76ede65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / acfmperiod-0.1.0-py3-none-any.whl

Download URL acfmperiod-0.1.0-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb0be78dbc72a2d30fe8e55772abf303695be3cc28bae78ad6b21e147759938a
BLAKE2b-256 checksum
How to use checksums
e77a7e1d6d596d37724496d8a454c08207cb82f06f49cb9bed7cff0d83e6f2a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Security for acfmperiod 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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