A library of noise processes for stochastic systems like stochastic differential equations (SDEs) and other systems that are present in scientific machine learning (SciML)
There should be a proper dispatch for the special case of a NoiseFunction.
But reinitializing a NoiseFunction has the added complication that the “original” initial time t0 (given in Y = NoiseFunction(t0, y)) goes to Y.curt and is lost when Y is advanced. The sensible solution is to also add a field t0 to the NoiseFunction struct.
Currently,
reinit!
does not work withNoiseFunction
.reinit!
assumes there is a fieldt
as the other typical noise processes.See, e.g. https://github.com/SciML/DiffEqNoiseProcess.jl/blob/6536a7d1b6de3c82a22b17b1e7be281d34d59903/src/noise_interfaces/common.jl#L46
There should be a proper dispatch for the special case of a
NoiseFunction
.But reinitializing a
NoiseFunction
has the added complication that the “original” initial timet0
(given inY = NoiseFunction(t0, y)
) goes toY.curt
and is lost whenY
is advanced. The sensible solution is to also add a fieldt0
to theNoiseFunction
struct.