.. _repeated_dosing:

Repeated Dosing
==================

There need not be only one dose administered to the subject for a given experiment -- several doses may be given, for example to maintain drug concentration at a steady state over a period of time. |popy| handles this by allowing multiple dose lines in the |data_file| and superimposing the resulting curves, see :numref:`table_repeated_dosing`.

.. list-table:: Repeated dosing, administered to a one compartment model with first order elimination
    :class: image_table
    :name: table_repeated_dosing

    * - Repeated Bolus Dosing
      - Repeated Infusion Dosing
    * - .. thumbnail:: /case-studies/indiv_examples/dosing/bolus_repeated_tut/images/gen_sim_grph_outputs/allOBS_vs_TIME/comb_spag.*
      - .. thumbnail:: /case-studies/indiv_examples/dosing/inf_rate_repeated_tut/images/gen_sim_grph_outputs/allOBS_vs_TIME/comb_spag.*
    * - Repeated Gamma Dosing
      - Repeated Weibull Dosing
    * - .. thumbnail:: /case-studies/indiv_examples/dosing/weibull_repeated_tut/images/gen_sim_grph_outputs/allOBS_vs_TIME/comb_spag.*
      - .. thumbnail:: /case-studies/indiv_examples/dosing/gamma_repeated_tut/images/gen_sim_grph_outputs/allOBS_vs_TIME/comb_spag.*

.. note:: 
    
    See :ref:`sum_link_bolus_dosing_repeated_tut`, :ref:`sum_link_inf_rate_dosing_repeated_tut`, :ref:`sum_link_gamma_dosing_repeated_tut` and :ref:`sum_link_weibull_dosing_repeated_tut` for the :ref:`tutorial scripts<tut_script>`  used to generate results in this section.
      
Note |popy| can superimpose consecutive complex :ref:`dosing_functions` (|eg| |weibull| and |gamma| functions) that can cause numerical instability in other |pkpd| packages.
