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.12.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file fBb-0.1.12.tar.gz.

File metadata

  • Download URL: fBb-0.1.12.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for fBb-0.1.12.tar.gz
Algorithm Hash digest
SHA256 f832972fc43874c2802c79a41a8753f48a9e6c2e2719ec2893f1a3332b1de4b6
MD5 f5b4c1694f1c28137a11cac55223d7ed
BLAKE2b-256 b383eb93abe7d7eabcd48cae5845316f366b7b81540f7d83de48d7f2a8cfabf7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page