Release notes for sbmlsim 0.60.0
The app of a model draws map panels, regions of knobs and live figures of its experiments, a fold of the engine core resumes exactly, and a fit weights every data point with the count of its own row.
Changes
- Map panels, regions of knobs and live figures (#787, #788).
sbmlsim.paneldeclaresMapPanel(mappanel/1) of aMapGeometrywithMapReadouts and aColorScaleSpec,LiveFigure(livefigure/1) ofLiveBindings,ExperimentFigure(the reference of a model to a figure of an experiment),PanelSimulation.startandchanges, andAppFigure.knobsandvalues(regions of knobs on the drawing of a model).sbmlsim.live.live_figures(experiment, knobs=...)derives the live figures from the figures of an experiment, element for element as the static spec. The annotation holds<map>and<figure>next to<panel>,Project.mapsandProject.live_figuresoverride it, the service answers/api/models/{model}/maps/{map}and/figures/{figure}(withsimulate), and the bundlepanelbundle/1carriesmapsandfigureswith the recipe of every run.examples/panels/lobule.pyis the demo. - The browser app draws them (#788). sbmlsim-web 0.8.0 is vendored (
<sbmlsim-map-panel>,<sbmlsim-live-figure>, regions of knobs) and the rendererplot.wasmof sbmlsim-core is embedded in the page only for an app with maps or live figures, so the page of an app of panels alone is unchanged. Every run of a bundle carriesx_factor, the factor from the time unit of the model to the unit ofx, which a reader multiplies the times of the steps of the integrator by. - Per-row count weights. A fit mapping whose count column differs per row weights every data point with the count of its own row (
FitSettings.count_weighting,rowby default), instead of weighting the whole curve with its smallest count. A data point that is the mean ofnsubjects has variancesigma^2 / n, sonis its weight. The fit document carries the count of each row in the point weights (weights.points), the report names the rule, and the PEtab extension 0.7.0 carries the setting and the count of every measurement of such a mapping. - The citation of a model without a DOI.
ReleaseSettings(doi=None), now the default, or an empty text gives a citation ending withZenodo., with no DOI badge in its README and docs;App.doitakesNone. A release still requires the DOI. The citation keeps every initial of a hyphenated given name,Tautenhahn, H.-M.(#785). - Requires sbmlsim-core 0.54.0.
Bug fixes
- A chained fold resumes from the end state (#782). A fold of two or more formulas on the engine core (
Simulator.simulate, e.g. a relative dosePODOSE + dat several changes) resumes each segment from the state at the end of the one before, with the root guard carried over, and is bitwise equal to the request from the start. A fold of two or more formulas on a model with a concentration species that is the target of a rate rule now equals the from-start result; it differed by up to 9e-6 relative before.
Changed results
- Fits with per-row counts. Under the curve weighting
MAPPINGthe cost and the fitted parameters of a fit with such a mapping change; across the 69 adopted fits of pkdb_models, 16 fits have such mappings and their training cost at the adopted parameters changes by between 0 and +6.5 %. A count that is the same in every row gives bitwise the results of 0.59. A row of such a mapping without a positive count raises when a least squares problem is initialized; fits of the likelihood or the posterior are unchanged.count_weighting="smallest"is the rule of 0.59, which the stored settings of every earlier fit are read with, so their reports, profiles and assessments are unchanged; it still warns. A resumed fit runs its missing repeats with the rule of its stored repeats. - Folds of concentration rate-rule species move to the exact from-start result, see the bug fix above.