Brownian Bridge Process#

Simulate and visualise paths

# Author: Dialid Santiago <d.santiago@outlook.com>
# License: MIT
# Description: Simulate and visualise a Bessel process

from aleatory.processes import BrownianBridge
from aleatory.styles import qp_style

qp_style()  # Use quant-pastel-style

p = BrownianBridge()
p.draw(n=200, N=100, figsize=(10, 7), colormap="Spectral", envelope=True)
Brownian Bridge, Simulated Paths $X_t, t \in [t_0, T]$
<Figure size 2000x1400 with 1 Axes>
p.plot(n=100, N=10, figsize=(12, 7))
Brownian Bridge
<Figure size 2400x1400 with 1 Axes>

Total running time of the script: (0 minutes 1.342 seconds)

Gallery generated by Sphinx-Gallery