Create a white noise process¶
In this basic example we are going to build a white noise process by its distribution.
from __future__ import print_function import openturns as ot import math as m
# Define the distribution myDist = ot.Normal()
# Define the mesh myMesh = ot.IntervalMesher().build(ot.Interval([0.0], [1.0]))
# Create the process: process = ot.WhiteNoise(myDist, myMesh) print(process)
WhiteNoise(Normal(mu = 0, sigma = 1))
# Draw a sample sample = process.getSample(6) sample.drawMarginal(0)