pkpd.protocols.protocol_pkpd_twocompartments_both_pd module

class pkpd.protocols.protocol_pkpd_twocompartments_both_pd.ProtPKPDTwoCompartmentsBothPD(**kwargs)[source]

Bases: pkpd.protocols.protocol_pkpd_ode_base.ProtPKPDODEBase

Fit a mono-compartment model to a set of plasma and effect measurements (any arbitrary dosing regimen is allowed)

The differential equation is dC/dt = -Cl * C/V -Clp *(C-Cp)/V + 1/V * dD/dt, dCp/dt=Cl*C/Vp+Clp*(C-Cp)/Vp and E=E0+a*C^b/(Cm^b+C^b)

where C is the concentration, Cl the total clearance (metabolic and excretion), V the distribution volume, Clp is the Clearance

to the peripheric compartment, Vp is the volume of the peripheric compartment, and D the input dosing regime. E is the measured effect, E0 a baseline effect, a and b fitting constants and Cm the biophase concentration at which

half the maximum effect is attained. This protocol assumes that you have measures of both the central and peripheral compartments.

Confidence intervals calculated by this fitting may be pessimistic because it assumes that all model parameters are independent, which are not. Use Bootstrap estimates instead.

Protocol created by http://www.kinestatpharma.com

createModel()[source]
getXYvars()[source]