Skip to main content

mzprojection

Projection operator method for statistical data analysis (Fortran90 or Python3)
Language grade: Python

Overview

The Mori-Zwanzig projection operator method splits ensembles of the analyzed time-series data into correlated and uncorrelated parts with regard to the variable of interests .

Contents

fortran/ - Fortran90 source code. See README.txt in detail  
python/ - Python3 source code. See README.txt in detail  
sample_data/ - A sample of time-series data and its projected results  
QUICK_START.txt - Simple explanation on how to run this source code  

Usage (Python3)

mzprojection requires external packages: numpy, scipy.

(i) Input data is ensembles of the analyzed time-series data f(t)^i and the variable of interest u(t)^i, du(t)^i/dt in a prescribed format (nperiod points in time range, and nsample points in ensambles, namely u[0:nperiod,0:nsample], dudt[0:nperiod,0:nsample], f[0:nperiod,0:nsample], and time step size delta_t).

(ii) mzprojection_ensemble_of_time_series calculates the Mori-Zwanzig projection of f(t)^i on u(t)^i as,
f(t)=\Omega u(t)+s(t)+r(t),
s(t)=-\int_0^t \Gamma(t) u(t-v)dv.
The Markov coefficient \Omega, the memory function \Gamma(t) and the uncorrelated term r(t) are obtained as outputs. (Some correlations, e.g., <r(t)u>, are also obtained to check the result.)

from mzprojection import mzprojection_ensemble_of_time_series

omega, memoryf, s, r, uu, ududt, fdudt, rr, rdudt, ru, fu, ff = \
    mzprojection_ensemble_of_time_series(nsample, nperiod, delta_t, u, dudt, f)

See also python/Demo_Jan2021.ipynb, which clearly shows examples of usage including output figures.

Reference

Shinya Maeyama and Tomo-Hiko Watanabe, "Extracting and Modeling the Effects of Small-Scale Fluctuations on Large-Scale Fluctuations by Mori-Zwanzig Projection operator method", J. Phys. Soc. Jpn. 89, 024401 (2020).
doi

Metadata

Release files for mzprojection-pkg 0.0.3

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

Source distribution (sdist)

Source distribution for mzprojection-pkg 0.0.3
File Size Uploaded Provenance Actions
mzprojection-pkg-0.0.3.tar.gz 6.3 kB Without provenance Details for mzprojection-pkg-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mzprojection-pkg 0.0.3
File Interpreter ABI Platform Actions
mzprojection_pkg-0.0.3-py3-none-any.whl Python 3 none any Details for mzprojection_pkg-0.0.3-py3-none-any.whl

Total release size: 12.7 kB

Release files / mzprojection-pkg-0.0.3.tar.gz

Download URL mzprojection-pkg-0.0.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6156ede35f7bb7a44c91fe30793f5c3e5d851b60c0d3747c590082e33a6e4768
BLAKE2b-256 checksum
How to use checksums
9a9797bba1620fef16225f63c9aae4a5cef97625b9813ef31d27c9b944c2e620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

Release files / mzprojection_pkg-0.0.3-py3-none-any.whl

Download URL mzprojection_pkg-0.0.3-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9714f3b4e73d1808a4e88017a592e134c4d0df84487ba9f70c263f45a587fc02
BLAKE2b-256 checksum
How to use checksums
e085d931d995e252ffc695697f6294beb084c5f3d48e92a0baf07d8daaca5496
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

Security for mzprojection-pkg 0.0.3

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.

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