fit_props_printer#
- petpal.cli.cli_tac_fitting.fit_props_printer(fit_props: dict, segment: str | None = None) None#
Nicely formats and prints fit parameter estimates and uncertainties.
This function prints a table of fitted parameter values, standard errors and percent errors. If a segment label is provided, it is printed as a header before the table, which is useful when printing results for multiple ROIs.
- Parameters:
fit_props (dict) – Dictionary containing the fit results. It is expected to contain a
"FitProperties"entry with nested"FitValues"and"FitStdErr"mappings of parameter names to numerical values.segment (str, optional) – Optional label for the TAC segment (for example, ROI name). If provided, the label is printed above the table.