SXXXXXXX_ControlPanel/VideoReceiverSFP/core/config.py

23 lines
652 B
Python

"""Configuration for VideoReceiverSFP local behavior."""
from __future__ import annotations
import os
# Directory to store dumps (relative to repo root by default)
DUMPS_DIR = os.path.join(os.getcwd(), "dumps")
# Number of latest files to keep per type (png, bin)
DUMP_KEEP_COUNT = 100
# Debug save flags for payload types
# Set these to True/False to control saving of raw payloads
SAVE_RAW_MFD = False
SAVE_RAW_SAR = False
SAVE_RAW_UNKNOWN = True
# Flags to also save decoded previews for quick inspection
# MFD: save BMP; SAR/UNKNOWN: save BMP by default for lossless grayscale
SAVE_BMP_MFD = False
SAVE_BMP_SAR = True
SAVE_BMP_UNKNOWN = True