-------------------------------------------------- lines 5-58 of file: example/user/other_database.py -------------------------------------------------- # {xrst_begin user_other_database.py} # {xrst_comment_ch #} # # Using Data Interval Compression # ############################### # # Purpose # ******* # This example shows how to use the # :ref:`option_table@Other Database` options. # # Integrands # ********** # For this example there are one integrand, ``Sincidence`` . # # Nodes # ***** # There is only one node called ``world`` for this example. # There are no random effects because there are no child nodes. # # True Iota # ********* # For this example, the true incidence rate *iota* is the following # constant value: # {xrst_code py} iota_true = 0.01 # {xrst_code} # # Model # ***** # There is only one rate *iota* and it constant w.r.t age and time. # # Data # **** # There is one data point measuring Sincidence # with the true value of *iota* . # but faster to compute. # # other_input_table # ***************** # For this example, # the :ref:`option_table@Other Database@other_input_table` is # {xrst_code py} other_input_table = 'data node' # {xrst_code} # # Source Code # *********** # {xrst_literal # BEGIN PYTHON # END PYTHON # } # # {xrst_end user_other_database.py}