pypi sbmlsim 0.31.0

30 minutes ago

Release notes for sbmlsim 0.31.0

sbmlsim

A model whose parameters were fitted knows them to a distribution and not to a number, and that uncertainty now reaches the figures: a panel which declares one answers the band of its draws next to its curves, in the service and in the static bundle a page runs without one.

Features

  • The band of the uncertainty of the parameters of a panel (#570). The SBML of a fitted model carries the distribution of every fitted parameter (the uncertainty of the distrib package, written by sbmlsim.simulation.sampling.model_distributions from the records of the adopted fits), and a panel which declares an <uncertainty draws="16" maxDraws="64" level="0.9" seed="0"/> draws it: the parameters are a Latin hypercube of their distributions, every point of the grid is run once per draw with the parameters of that draw set before the initialization, and the answer carries the percentiles of those draws at every output time.

    PanelUncertainty is what a panel declares and what travels in its declaration, so a page reads the number of draws from it and may let its reader move it. A request which names no draws runs none and pays for none; one for more draws than the sample holds is a 422 which names both numbers, rather than a band of fewer draws than it asked for; and the draws a request runs are the first ones of the sample, a prefix of a Latin hypercube being a sample of its own, so a band settles as a reader asks for more draws instead of jumping. The curves of a request and the draws of its band are two runs, each shared as a run of this service is shared, and the sample of a model is drawn once per model, number of draws and seed. The band travels per point of the grid, so it interpolates with a knob exactly as a curve does; the curves of the draws themselves travel for a request of a single point alone, where their size is bounded. A draw which did not integrate is no member of the percentiles and is counted in uncertainty.failed, while the curves of the panel and its status are of the model at its own parameters whatever the draws do.

    The static bundle carries the sample itself, so a page without a server runs the draws and reduces them to the same band; tests/serve/test_uncertainty.py pins the two sides against each other on a copy of the HCTZ model whose absorption rate carries the uncertainty of a fit. uncertainty_name of model_distributions is the name the uncertainties of a model share, the fit they were adopted from, which the band reports as its provenance.

Changes

  • the floor of sbmlsim-core is 0.12.0, which runs the draws of a panel in the browser (sbmlsim-core#50), and the vendored components of the web app are sbmlsim-web 0.4.0, which shades the band under every curve and lets a page move the draws (sbmlsim-web#6).

Don't miss a new sbmlsim release

NewReleases is sending notifications on new releases.