Skip to content

connor-duffin/statkdv-paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce results in the statKdV paper

This repo contains the code to reproduce the analysis in the statKdV paper.

Code is given to run the statistical finite element method on simulated data and on experimental data. Simulated data is generated with dedalus and experimental data is located in the data/ directory. Code is also given to run the Burgers and KS examples with fenics.

To run this code you will need

  • statkdv (included: pip install -e statkdv)
  • statfenics (included: pip install -e statfenics)
  • fenics
  • dedalus
  • numpy
  • scipy
  • matplotlib
  • pandas
  • h5py
  • mpi4py
  • sympy

Details for the installation of fenics and dedalus can be found on their respective websites.

In order for compute times to be a shorter, some of the resolutions aren't as high as in the paper. Editing the appropriate files in inputs/ should hopefully set these up appropriately.

Any bugs/questions/comments, please don't hesitate to email me at connor.duffin@research.uwa.edu.au

About

Code to accompany "Statistical finite elements for misspecified models" (https://doi.org/10.1073/pnas.2015006118).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published