pypi sbmlsim 0.45.0

53 minutes ago

Release notes for sbmlsim 0.45.0

sbmlsim

The analysis of a model is faster and its output smaller: the profiles of the engine stop at the tolerances of a point, the figures carry only the points which can be seen, the workers of a pool simulate on their share of the CPUs, a credibility assessment initializes every fit problem once and the web app reads its models once per bundle. On the HCTZ model of pkdb_models the profiles of the PK fit take 29 s instead of 100 s, the run over the draws writes 182 MB instead of 1.4 GB, the factory takes about 10 s instead of 40 s and run_credibility --uncertainty about half the time, with the same numbers.

Features

  • The links of a staged run (#680, fixes #669). display.relocated(moves) lets the links printed within it name the folder an output ends up in, the deepest folder first; a command which writes into a staging folder and moves it into its place afterwards (pkpdsim) prints the links of the final folder.
  • Thinned figures (#681). Chart.spec thins curves, bands and areas of 100 points or more by Ramer-Douglas-Peucker in the coordinates of the panel (log10 on a log axis) to THIN_TOLERANCE, 1e-4 of the span of the axis, at most 0.1 px on a panel of 1000 px. Markers, error bars, the first and the last point, gaps, jumps, the extremes of every column and the points around the limits of the x axis are kept, so the limits and the ticks are the same. Chart(thinning=None) keeps every point.

Changes

  • The points of a profile of the engine (#677) get the tolerances of a point in python (default_tolerance of the relative tolerance of the integrator for gtol, xtol and ftol), and an analysis may give xtol and ftol (POINT_TOLERANCES). Without them every point chased the noise of the integrator and ended in NumericalNoProgress or SolverFailed.
  • The workers of a pool on the engine core (#681) simulate their scans on their share of the CPUs, which grows as other workers finish (parallel.working()); a worker simulated on one thread before. The figures of a run are collected into _figures as hard links.
  • A credibility assessment initializes every fit problem once (#682): the checks of the tolerances and of the integrator evaluate the problem of the fit with changed settings of the integrator (OptimizationProblem.integrating), the collections of the fits share one instantiation of the experiments, the draws of the uncertainty run in the process on the engine core, the variability runs in one pool for both problems with tasks balanced over the subjects, and the workers of a pool start together.
  • The export of the panels (#679) reads every model once per bundle (ModelDistributions), the factory of a model with bands of the uncertainty writes its app in a fraction of the time.

Fixes

  • The restore of the state of the integrator of the engine core (CoreSBMLModel.set_integrator_state) replaces the settings instead of merging them (#682).

Don't miss a new sbmlsim release

NewReleases is sending notifications on new releases.