petab.visualize.plot_residuals
Functions for plotting residuals.
Functions
|
Plot goodness of fit. |
|
Plot residuals versus simulation values for measurements with normal noise assumption. |
- petab.visualize.plot_residuals.plot_goodness_of_fit(petab_problem: Problem, simulations_df: Union[str, Path, DataFrame], size: Tuple = (10, 7), ax: Optional[Axes] = None) Axes [source]
Plot goodness of fit.
- Parameters:
petab_problem – A PEtab problem.
simulations_df – A simulation DataFrame in the PEtab format or path to the simulation output data file.
size – Figure size.
ax – Axis object.
- Returns:
ax
- Return type:
Axis object of the created plot.
- petab.visualize.plot_residuals.plot_residuals_vs_simulation(petab_problem: Problem, simulations_df: Union[str, Path, DataFrame], size: Optional[Tuple] = (10, 7), axes: Optional[Tuple[Axes, Axes]] = None) Axes [source]
Plot residuals versus simulation values for measurements with normal noise assumption.
- Parameters:
petab_problem – A PEtab problem.
simulations_df – A simulation DataFrame in the PEtab format or path to the simulation output data file.
size – Figure size.
axes – Axis object.
- Returns:
ax
- Return type:
Axis object of the created plot.