PoPy
1.0.0
  • Getting Started Guide
  • Principles of Pharmacokinetics
  • Population Models in PoPy
  • PoPy Example Models
  • PoPy for Nonmem Users
  • PoPy Reference Guide
    • Open a PoPy Command Prompt
    • PoPy Activation
    • Configure PoPy
    • PoPy Website
    • Validate PoPy
    • Command Line Tools
    • Script File Formats
      • Fit Script
      • Gen Script
      • Sim Script
      • Tut Script
      • Comp Script
      • MFit Script
      • MGen Script
      • MSim Script
      • MTut Script
        • Main Sections of a MTut Script
        • Full Structure of a MTut Script
      • MComp Script
      • Grph Script
      • Vpc Script
      • FitSum Script
      • GenSum Script
      • TutSum Script
      • N2PDat Script
      • P2NDat Script
    • Script File Sections
    • Script File Elements
    • Script File Outputs
    • PoPy Quick Reference Guide
  • Appendices
PoPy
  • Docs »
  • PoPy Reference Guide »
  • Script File Formats »
  • MTut Script
  • View page source

MTut Script¶

Generates multiple synthetic populations sets from a PK/PD model, then fits the same model to each population. A multi population version of Tut Script.

Generates a MGen Script and a MFit Script. Also creates a MComp Script to compare the true parameters from the synthetic populations with the fitted parameters.

See Generate multiple data sets and Fit using Simple PopPK Model and Generate multiple data sets and Fit using a Two Compartment Model for walk through examples.

Main Sections of a MTut Script¶

  • METHOD_OPTIONS
  • DESCRIPTION
  • FILE_PATHS
  • DATA_FIELDS
  • LEVEL_PARAMS
  • MODEL_PARAMS
  • STATES
  • DERIVATIVES
  • PREDICTIONS
  • ODE_SOLVER
  • FIT_METHODS
  • OUTPUT_OPTIONS
  • OUTPUT_SCRIPTS

Full Structure of a MTut Script¶

  • METHOD_OPTIONS
    • py_module
    • rand_seed
    • float_format
  • DESCRIPTION
    • name
    • title
    • author
    • abstract
    • keywords
  • FILE_PATHS
    • output_folder
    • output_file_ext
    • output_iteration_results
  • DATA_FIELDS
    • type_field
    • id_field
    • time_field
  • LEVEL_PARAMS
    • split_field
    • split_dict
    • gen_params
    • fit_params
  • MODEL_PARAMS
  • STATES
  • DERIVATIVES
  • PREDICTIONS
  • ODE_SOLVER
    • NO_SOLVER
    • ANALYTIC
    • SCIPY_ODEINT
      • atol
      • rtol
      • max_nsteps
      • use_sens
  • FIT_METHODS
    • JOE
      • max_n_main_iterations
      • CONVERGER
        • NONE
        • OBJ_INC
        • OBJ_SIM
      • recompute_jacobians_flag
      • use_chain
      • reset_re_flag
  • OUTPUT_OPTIONS
    • n_pop_samples
  • OUTPUT_SCRIPTS
    • MGEN
      • output_mode
    • MFIT
      • output_mode
    • MCOMP
      • output_mode
      • dot_size
Next Previous

© Copyright 2019, David Cristinacce/Phil Tresadern/Andrew Cristinacce/James Wright.

Built with Sphinx using a theme provided by Read the Docs.