Updating posteriors for scanning a chemical system

Here’s a Gist which provides simulator(a, b, c, ...)