crflynn / stochastic

Generate realizations of stochastic processes in python.
http://stochastic.readthedocs.io/en/stable/
MIT License
451 stars 80 forks source link

Improvements to fractional Gaussian noise generation #27

Closed anntzer closed 4 years ago

anntzer commented 4 years ago

Quite a few changes to fGn generation.

anntzer commented 4 years ago

I pushed a commit dropping support for Py27/34. I very quickly skimmed through Dieker's paper, it says "The λj are real by construction and they are non-negative in the fGn case when αN is set to γ(N), see [3]. However, we set αN = 0 for reasons that become clear in Section 3." so it looks like that's only relevant for approximation methods?

codecov-commenter commented 4 years ago

Codecov Report

Merging #27 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #27   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           35        35           
  Lines         1222      1286   +64     
=========================================
+ Hits          1222      1286   +64     
Impacted Files Coverage Δ
stochastic/continuous/brownian_motion.py 100.00% <100.00%> (ø)
stochastic/noise/fractional_gaussian_noise.py 100.00% <100.00%> (ø)
stochastic/base.py 100.00% <0.00%> (ø)
stochastic/discrete/moran.py 100.00% <0.00%> (ø)
stochastic/continuous/gamma.py 100.00% <0.00%> (ø)
stochastic/continuous/bessel.py 100.00% <0.00%> (ø)
stochastic/continuous/poisson.py 100.00% <0.00%> (ø)
stochastic/discrete/bernoulli.py 100.00% <0.00%> (ø)
stochastic/noise/colored_noise.py 100.00% <0.00%> (ø)
stochastic/discrete/random_walk.py 100.00% <0.00%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ddcb0b2...b620af9. Read the comment docs.