API reference¶
The API reference is generated from the docstrings of the package.
Some building blocks of the models are part of sbmlsim and are documented in its API reference: the texts of the licenses of a model (sbmlsim.licenses), the distrib formulas of the draws of a fitted parameter (sbmlsim.distrib), the dimensions, the timecourse, the band and the start and end values of a point of a scan (sbmlsim.result.scan), the SId of a text (sbmlsim.experiment.to_sid), the definition of a unit (sbmlsim.units.define_unit), the renaming of the units of a table (sbmlsim.data.rename_units), the run of the experiments of a model (sbmlsim.project.Project.run_experiments) and the run of the experiments over the draws of the fitted parameters (sbmlsim.experiment.draws).
pkpdsim¶
| module | description |
|---|---|
| pkpdsim | the package and its version |
| templates | creators and terms_of_use of a model, see Templates and annotations |
| annotations | compartments, the annotations of the recurring compartments, see Templates and annotations |
| data | studies_dir, collect_tsv_files: the study data of a model from the study folders of PK-DB, see Study data |
| initial_values | init_concentrations_changes, init_amounts_changes, get_species_keys: the initial values of a substance in every tissue, see Initial values |
| timecourse | SimPart, Simulation, run_simulation: the timecourse of a roadrunner model which is simulated in parts, see Timecourses in parts |
| model | PKPDModel (a project of sbmlsim.project; run_experiments, run_simulation_experiments: the run of the simulation experiments of a model), FigureSettings, ExtraAction, ExtraActionFunction, RUN_ACTIONS, RUN_WORKERS, DEFAULT_SIMULATOR, DEFAULT_JIT_OPTIMIZATION: the description of a model; Sex (pkpdsim.sex): the sex of a build, see Models and their commands |
| cli | run_command, fit_command, report_command, identifiability_command: the commands of a model, wrappers of the kinds of python -m sbmlsim.run; profile_dir and --profile |
| fit | default_fit_settings, mapping_metadata, metadata_filter, check_sampling_sites: the shared fit settings, the check of the metadata, the filter of the PK metadata (the filters, the selection of the mappings, the starts, the fixed adopted fits and the records of the fits are those of sbmlsim.fit) and the check of the sampling sites, see Experiments and their metadata |
| metadata | Tissue, Route, Dosing, Fasting, ApplicationForm, Health, Coadministration, Genotype, Phenotype, AdministrationSite, DataType, PKPDData, SamplingSite, PKPDMappingMetaData: the vocabulary of the metadata of a fit mapping, see Experiments and their metadata |
| experiment | PKPDSimulationExperiment: the base of the simulation experiments of a model, the SIds of its keys and the units of its data, see Experiments and their metadata |
| impairment | the presets of the renal function, the cirrhosis and the cardiac function with their colors |
| pk | scan_nca, nca_frame: the non-compartmental analysis of a timecourse at every point of a scan, vectorized, and its rows; PK_LABELS, PK_UNITS: the labels and units of the pharmacokinetic parameters |
| sensitivity | pk_observables, max_after_dose: the PK observables of a sensitivity analysis; library_parameters, notes_sources, SEVERITY_IDS, NonzeroLocalAnalysis: the parameters and the local analysis of a model of the PBPK library; the runner and the table of the parameters are sbmlsim.sensitivity.runner and sbmlsim.sensitivity.parameters, see Scans and sensitivity analyses |
| release | PKReleaseHook, HOOK: the release hook of pkpdsim, the PK parts of a release of sbmlsim; release, main: the release of a model repository, the command pkpd_release, see Release of a model repository |
| verify | pkpdsim-verify: the verification of a change of a model |
| sbml | U, MODEL_UNITS, OrganUnits, Value, Formula, fitted, value_parameter, observer, SbmlObjects, initial_assignment, TAXA: the SBML writing kit, the units, values, parameters and objects every library of pkpdsim writes its models with, see Parameter database |
| pbpk | PBPKDefinition, Substance, Binding, Erythrocytes, Kp, KpMethod, Excretion, Metabolism, Transport, CustomReaction, Route, Variants, PDComponent, SlowPool, build, compose, create_archive, sex_definition, model_figure: the PBPK model library and its modules, see PBPK library |
| pbpk organs | Organ, Part, Pool, parts_for, StandardOrgan, OrganComponent, GutComponent, Boundary, OrganContext, ZonatedLiver, NephronKidney, SegmentedIntestine, SingleLumen, LumenConversion, RegionalAbsorption, the segments and builders of the intestine, steady_state, stationary: the standard organ, its placement of the chemistry, the Kp methods, the organ variants, the steady state of the organs as formulas and the generated steady state, see Standard organ |
| pbpk physiology | physiology_objects, the populations, the impairment, the observers and the sinks, see Physiology |
| pbpk experiment | PBPKSimulationExperiment, ScaledRenalMap, healthy_gfr, REFERENCE_GFR: the base of the experiments of a model built on the library, the healthy GFR, the renal function of a measured clearance and the classes of impairment as the severities of the library, see Impairment |
| pbpk equilibration | equilibrated_simulation, Equilibration, drug_free_zeros, accumulating_states, growing_states, EQUILIBRATION_TOLERANCES: the drug-free equilibration of a condition, which the experiments and the groups of a sensitivity analysis share (SensitivityGroup(prepare=Equilibration(...))); flat_model, loaded_model: a flat model file parsed and compiled once for the equilibration and the validity of the kidney outflow, see Impairment |
| pbpk regional absorption | derive_regional_absorption, release_auc_ratios, regional_key: the factors of a regional absorption profile derived with the model from a release study, see Intestine and routes |
| pbpk kidney validity | kidney_outflow, KidneyOutflow, simulated_individuals, individual_values: the simulated individual and the validity of the kidney outflow, which the experiments check, see Standard organ |
| pbpk ids and data | ids, annotate, load, cite, EXTRA_UNITS, axis: the id scheme, the annotation, the data files and the units a model of the library defines where it uses one, see Annotation; the values with provenance (Value, fitted) and the units of every model (U) are the kit's, see sbml |
| pbpk figures | the anatomy resources, the body of an individual, the anatomical figure of a definition, its interactive page and the publication figure, see Figures |
| zonation | ZonationBuilder, effective_peclet, ZonationSettings, Geometry, FlowBoundary, BileTransport, SinusoidGeometry, Layer, Profile, Weights, Solute, ImposedFlow, PressureFlow, LeakyTube, CellPorts, ZoneProfile, ZoneColumn, Band, zone_profiles, lobule_map, draw_lobule, lobule_axes, panel_aspects, fill_band, ColorScale, colorbar, MISSING, space_time, tube_mesh, lobule_bands, lobule_isoline, zone_values, zone_band, series_band, zone_column, band_text: the zonation engine, a chain of zones with a cell model each, with its settings, geometry, profiles, transport, flow, observers, ids, figures and the bridge from a simulation result to them, see Zonated liver |
| perfusion | PerfusionDefinition, Circuit, Perfusate, LiverOrgan, KidneyOrgan, GenericOrgan, CoreParameters, build, create_archive, interactive_circuit, PerfusionSimulationExperiment, medium_change, perfusion_changes: the machine perfusion library, a circuit with a zonated organ, its experiments and medium changes, see Machine perfusion |