Configuration Reference¶
U-MIMIC uses YAML configuration files validated by Pydantic. All fields have sensible defaults, so you only need to specify what you want to change.
Top-Level: ExperimentConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Experiment name |
|
|
|
|
|
|
|
Random seed for reproducibility |
|
|
see below |
Cell-state dynamics settings |
|
|
see below |
Pharmacokinetic model settings |
|
|
see below |
Dosing schedule settings |
|
|
see below |
Observation model settings |
|
|
see below |
Inference engine settings |
|
|
see below |
Prior distribution settings |
|
|
see below |
Data loading settings |
|
|
see below |
Simulation / synthetic data settings |
DynamicsConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Active cell states (P, Q, A, R) |
|
|
|
Enable logistic density dependence |
|
`float |
null` |
|
|
|
|
Apoptotic cell clearance rate (1/h) |
PKConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
|
|
|
|
Volume of distribution (1-compartment) |
|
|
|
Elimination rate constant (1/h) |
|
|
|
Absorption rate constant (oral dosing) |
|
|
|
Central volume (2-compartment) |
|
|
|
Peripheral volume (2-compartment) |
|
|
|
Clearance (2-compartment) |
|
|
|
Inter-compartmental clearance |
DosingConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
|
|
|
|
In-vitro concentration list |
|
|
|
Dose amount per administration |
|
|
|
Dosing interval (hours) |
|
|
|
Number of doses |
|
|
|
Time of first dose (hours) |
ObservationConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Enabled modalities |
|
|
|
Negative Binomial overdispersion |
|
|
|
BLI photons-per-cell scaling |
|
|
|
BLI log-normal noise sigma |
|
|
|
Volume conversion factor |
|
|
|
Volume measurement noise |
|
|
|
Biomarker precision parameter |
InferenceConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
MCMC samples per chain |
|
|
|
Number of MCMC chains |
|
|
|
MCMC warmup / burn-in samples |
|
|
|
SMC particle count |
|
|
|
MLE multi-start restarts |
SimulationConfig¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
|
|
|
|
Initial cell count |
|
|
|
Simulation duration (hours) |
|
|
|
Observation interval (hours) |
|
|
|
Replicates per condition |
|
|
|
Simulation random seed |
PriorConfig¶
Prior distributions for inference parameters. Each entry is a dict of distribution parameters (keys depend on the distribution family).
Field |
Default |
Description |
|---|---|---|
|
|
Birth rate prior |
|
|
Death rate (P) prior |
|
|
Emax death prior |
|
|
EC50 death prior |
|
|
Hill coefficient prior |
Complete Example¶
name: cytotoxic_breastcancer
context: in_vitro
seed: 123
dynamics:
states: [P, Q]
density_dependent: false
dosing:
type: constant
concentrations: [0, 0.01, 0.03, 0.1, 0.3, 1.0, 3.0, 10.0]
observations:
modalities: [cell_counts]
cell_count_overdispersion: 15.0
simulation:
method: gillespie
initial_cells: 200
t_max: 96.0
dt_obs: 6.0
n_replicates: 3
inference:
mode: mle
backend: scipy
n_restarts: 10