Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

PlotQCGridConfig

Configuration for AMARES Fit Quality Control Grids.

Parameters

Figure & Canvas

ParameterTypeDefaultDescription
stylestrseaborn-v0_8-whiteMatplotlib style sheet.
fontfamilystrsans-serifFont family used for all text.

Grid Layout

ParameterTypeDefaultDescription
max_colsint10Maximum number of columns in the grid.
max_plotsint | NoneNoneMax subplots. If None (default), plots all spectra. If N > max, samples evenly.
shareyboolFalseShare Y-axis limits across all plots to accurately compare absolute amplitudes.

Quality Control

ParameterTypeDefaultDescription
crlb_thresholdfloat20.0CRLB % threshold to flag a bad fit.
fail_colorstr#ffe6e6Background color for failed fits (default: light red).

Aesthetics

ParameterTypeDefaultDescription
plot_residualsboolTrueWhether to plot the residual line below the fit.
xlimtuple[float, float] | NoneNoneX-axis limits for zooming (e.g., (10.0, -20.0)).
ylimtuple[float, float] | NoneNoneY-axis limits for zooming (e.g., (-10, 100)).