# Vpc Script

Creates VPC plots. The visual predictive check is designed to plot a population of PK/PD curves on one graph.

A Vpc Script is usually created as a child script of a MSim Script.

See Visual Predictive Check for Simple PopPK Model and Visual Predictive Check for Two Compartment PopPK Model for working examples.

## Full Structure of a VPC Script

- METHOD_OPTIONS
  - py_module
- PARALLEL
  - SINGLE
  - MPI_WORKERS
    - n_workers
- FILE_PATHS
  - input_data_file
  - msim_file_glob
  - rx_zero_data_file
  - output_folder
  - temp_folder
  - log_folder
  - output_file_ext
- PREPROCESS
- DATA_FIELDS
  - type_field
  - id_field
  - time_field
- OUTPUT_GRAPHS
  - COMB_QUANT_SIM_VPC
    - graph_title
    - y_axis_label_list
    - y_var_src_list
    - y_var_label_list
    - y_var_colour_list
    - x_var
    - x_axis_label
    - x_scale
    - y_var_list
    - y_scale_list
    - bin_indexer
      - EQUAL_SPACE
        - n_bins
      - UNEQUAL_SPACE
        - bin_edge_list
      - K_MEANS
        - n_bins
        - init_method
    - quantile_list
    - min_bin_count
    - options_list
    - conf_interval_prop
    - y_var_norm_list
    - norm_method
    - split_field
    - export_stats