Testing Utils#

Attributes#

Functions#

generate_random_parameter_samples(num_samples, ...)

Generates an array of random parameter samples.

add_gaussian_noise_to_tac_based_on_max(→ numpy.ndarray)

Adds Gaussian noise to a Time Activity Curve (TAC) based on the maximum TAC value.

scatter_with_regression_figure(axes, fit_values, ...)

Generates a scatter plot with regression for the specified axes, fitted and true values.

bland_atlman_figure(axes, fit_values, true_values, ...)

Generates a Bland-Altman plot for the specified axes, fitted and true values.

ratio_bland_atlman_figure(axes, fit_values, ...[, ...])

Generates a ratio Bland-Altman plot for the specified axes, fitted and true values.

Module Contents#

petpal.utils.testing_utils._TEXT_BOX_#