""" SRAS Scan File Viewer PyQt6 application for visualizing channel data from .sras binary scan files. Channel semantics (fixed by sc3_aui_app.py acquisition settings): CH1 — RF Acoustic Packet (AC-coupled, 100 mV/div): FFT → peak frequency CH3 — Bias A (DC-coupled, 50 mV/div): waveform mean CH4 — Bias B (DC-coupled, 50 mV/div): waveform mean RF images are masked: pixels where CH4_dc < dc_threshold show 0. File parsing lives in sras_format, image/alignment math in sras_compute, and background workers in sras_workers — none of which import Qt or matplotlib, so multiprocessing children can load them cheaply. """ import faulthandler faulthandler.enable() # print a native stack trace on SIGSEGV/SIGABRT/etc. from .canvases import ImageCanvas, RoiQuad, WaveformCanvas # noqa: E402,F401 from .common import CH_LABELS, CMAPS, VELOCITY_MODE_IDX # noqa: E402,F401 from .dialogs import ( # noqa: E402,F401 FftOptionsDialog, ManualAlignmentDialog, RowAverageFftOptionsDialog, ) from .main_window import SrasViewerWindow, main # noqa: E402,F401