Fig 2. Algorithm used in the model to automatically estimate the parameters of LD pharmacodynamics, via minimization of a cost function.
It is worth-noting that a similar algorithm has been previously used to estimate the pharmacokinetics (PK) parameters too, to model the temporal pattern of plasma dopamine concentration.