.. _gen_script:

Gen Script
==========

Generates example synthetic :term:`observations` from a |poppkpd| model. 

Note that running |popy| on a :ref:`gen_script` creates similar outputs to running it on a :ref:`sim_script`. However, a :ref:`gen_script` also generates the time point and dose data to simulate the entire data file |not| just the observations.

Main Sections of a Gen Script
---------------------------------

.. include:: /_autogen/reference/short_ref/gen_spec_short.txt

.. only:: browser

    Full Structure of a Gen Script
    --------------------------------

    .. toctree::
        /_autogen/reference/gen_spec__config
