PoPy
1.0.1
  • 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
        • Main Sections of a Fit Script
        • Full Structure of a Fit Script
      • Gen Script
      • Sim Script
      • Tut Script
      • Comp Script
      • MFit Script
      • MGen Script
      • MSim Script
      • 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 »
  • Fit Script
  • View page source

Fit Script¶

The fit script is probably the script you will use most often, as it performs the most common form of PK/PD analysis - finding parameter estimates for a PK/PD model given a set of observations.

See Fitting a Simple PopPK Model using PoPy or Fitting a Two Compartment PopPK Model for walk through examples.

Main Sections of a Fit Script¶

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

Full Structure of a Fit Script¶

  • METHOD_OPTIONS
    • py_module
    • rand_seed
    • float_format
  • DESCRIPTION
    • name
    • title
    • author
    • abstract
    • keywords
  • FILE_PATHS
    • input_data_file
    • output_folder
    • temp_folder
    • log_folder
    • output_file_ext
    • input_solution_file
    • output_iteration_results
  • DATA_FIELDS
    • type_field
    • id_field
    • time_field
  • PREPROCESS
  • LEVEL_PARAMS
    • params
    • split_field
    • split_dict
  • 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
  • COVARIANCE
    • NO_COVARIANCE
    • FINITE_DIFF
      • var_covariance_flag
      • inv_hessian_flag
  • OUTPUT_SCRIPTS
    • GRPH
      • output_mode
      • share_axes
    • SIM
      • output_mode
      • sim_time_step
      • share_axes
    • MSIM
      • output_mode
    • FITSUM
      • output_mode
Next Previous

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

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