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 QApplication with the dashboard’s icon and font conventions (reusing the setup_gui approach).

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 provide pypeit_file (the required positional .pypeit argument) and may provide redux_path.

Returns:

The Qt application exit code.

Return type:

int