pypeit.dashboard.app module
Application bootstrap for the PypeIt Dashboard.
This mirrors the setup_gui startup path (controller.start_gui +
SetupGUIController.start): it creates the QApplication, applies
the shared window-icon/font conventions, installs the loud-failure
excepthook, builds the main window from the reduction metadata, and runs
the Qt event loop.
Generated by JXP and Claude.
- pypeit.dashboard.app._make_application()[source]
Create the
QApplicationwith the dashboard’s icon and font conventions (reusing thesetup_guiapproach).Generated by JXP and Claude.
- Returns:
The application instance.
- Return type:
QApplication
- pypeit.dashboard.app.launch(args)[source]
Launch the PypeIt Dashboard and run the Qt event loop.
Generated by JXP and Claude.
- Parameters:
args (
argparse.Namespace) – Parsed command-line arguments. Must providepypeit_file(the required positional.pypeitargument) and may provideredux_path.- Returns:
The Qt application exit code.
- Return type: