Skip to main content

Python Package for Stochastic Interpolation via multipoint fractional Brownian bridges

Project description

A python package for stochastic interpolation of sparse or incomplete time series by fractional Brownian motion.

For further references, see: J. Friedrich, S. Gallon, A. Pumir, and R. Grauer, Phys. Rev. Lett. 125, 170602 (2020).

Installation

The fBb package is available on pypi and can be installed using pip

pip install fBb

How to use this package

Stochastic interpolation

To use fBb to interpolate sparse measurement points X_i at times t_i import the multipoint fractional Brownian bridge process with the desired Hurst parameter H and the desired time step dt of the underlying fractional Brownian motion.

from fBb import MFBB

mfbb = MFBB(X_i, t_i, H, dt)
X_bridge = mfbb.bridge()
t_bridge = mfbb.t_fine()

plt.scatter(t_i, X_i)
plt.plot(t_bridge, X_bridge)
plt.show()

Project details


Download files

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

Source Distribution

fbb-0.1.13.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file fbb-0.1.13.tar.gz.

File metadata

  • Download URL: fbb-0.1.13.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for fbb-0.1.13.tar.gz
Algorithm Hash digest
SHA256 316fa9eb3b8f6604e8c93ceeb5f674e8f4a734cd4fe682ed60fbb84e65552ca5
MD5 b5921dd7a51a07a1542d09889c5ecd73
BLAKE2b-256 2e39e07723265b1d134395340aa04291a2df3b4fdba82ab26f10510c7befcdc7

See more details on using hashes here.

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