Code to reproduce the figures and results reported in the following paper are published here along with simulation results and experimental data (all already in the public domain or released with agreement of the authors):
Stochastic sampling provides a unifying account of visual working memory limits. Schneegans S, Taylor R & Bays PM. Proceedings of the National Academy of Sciences Aug 2020, 2020...