Python API reference¶
Every public class and function of tenqsp, generated from the docstrings. Import the
package as
import tenqsp as tq
| Page | What is there |
|---|---|
| Building a model | tq.Model and its methods; slices, conditions |
| Reading and writing text | tq.load, tq.table, tq.Model.from_text, tq.formula |
| Formula functions | tq.exp, tq.sigmoid, …; shapes tq.normal, tq.point, … |
| Regimens | tq.bolus, tq.infusion, tq.regimen_from_table, tq.regimens_from_table, tq.Regimen |
| Simulation | tq.Scenario, the simulator, results, grids, batches, pre-runs |
| Derivatives | sim.function, sim.sensitivity and what they return |
| Solutions and the ledger | what m.solve returns; the conservation ledger |
| Plots | tq.plot.trajectories, fan, sensitivity, snapshot |
| Checks and errors | tq.validate, reports, the IR, every exception and warning; tq.known_issues, tq.check_updates |
The tasks these serve are explained in the User guide; the model language in the Notation reference.