Skip to content

frog

frog ¤

The main module for the FROG program.

Attributes¤

Functions¤

run() ¤

Run FROG.

Source code in frog/__init__.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
def run() -> None:
    """Run FROG."""
    import sys

    from PySide6.QtWidgets import QApplication

    # This must be done before our own modules are imported
    from frog.logger import initialise_logging

    initialise_logging()

    from frog import hardware  # noqa
    from frog.gui.main_window import MainWindow

    app = QApplication(sys.argv)

    window = MainWindow()
    window.show()

    app.exec()