PlotQCGridConfig
Configuration for AMARES Fit Quality Control Grids.
Parameters¶
| Parameter | Type | Default | Description |
|---|
style | str | seaborn-v0_8-white | Matplotlib style sheet. |
fontfamily | str | sans-serif | Font family used for all text. |
Grid Layout¶
| Parameter | Type | Default | Description |
|---|
max_cols | int | 10 | Maximum number of columns in the grid. |
max_plots | int | None | None | Max subplots. If None (default), plots all spectra. If N > max, samples evenly. |
sharey | bool | False | Share Y-axis limits across all plots to accurately compare absolute amplitudes. |
Quality Control¶
| Parameter | Type | Default | Description |
|---|
crlb_threshold | float | 20.0 | CRLB % threshold to flag a bad fit. |
fail_color | str | #ffe6e6 | Background color for failed fits (default: light red). |
Aesthetics¶
| Parameter | Type | Default | Description |
|---|
plot_residuals | bool | True | Whether to plot the residual line below the fit. |
xlim | tuple[float, float] | None | None | X-axis limits for zooming (e.g., (10.0, -20.0)). |
ylim | tuple[float, float] | None | None | Y-axis limits for zooming (e.g., (-10, 100)). |