Enhance plot output with ID tracking and two display modes
- Add commit hash (6 chars) and UTC timestamp to all plots via text boxes - Add nuclear data header (nuclide, endpoint, transition, corrections) to plots - Two display modes: - DEBUG (-vv): 4-panel debug view with all correction factors - Normal (default): single spectrum plot with nuclear data header - CLI: --plot now passes show_components=(args.verbose >= 2)
This commit is contained in:
@@ -265,7 +265,10 @@ def _run(args: argparse.Namespace) -> None:
|
||||
# Generate plot
|
||||
if args.plot:
|
||||
analyzer = BetaSpectrumAnalyzer(spectrum, config, logger=logger)
|
||||
analyzer.plot_analysis(save_path=args.plot)
|
||||
analyzer.plot_analysis(
|
||||
save_path=args.plot,
|
||||
show_components=(args.verbose >= 2),
|
||||
)
|
||||
logger.info("Analysis plot saved to %s", args.plot)
|
||||
|
||||
logger.info("Done.")
|
||||
|
||||
Reference in New Issue
Block a user