Files
RFG_stm32_ADC_receiver_GUI/rfg_adc_plotter/constants.py
2026-04-10 21:02:14 +03:00

18 lines
310 B
Python

"""Shared constants for sweep parsing and visualization."""
WF_WIDTH = 1000
FFT_LEN = 2048
BACKGROUND_MEDIAN_SWEEPS = 64
SWEEP_FREQ_MIN_GHZ = 3.3
SWEEP_FREQ_MAX_GHZ = 14.3
LOG_BASE = 10.0
LOG_SCALER = 0.001
LOG_POSTSCALER = 10.0
LOG_EXP_LIMIT = 300.0
C_M_S = 299_792_458.0
DATA_INVERSION_THRESHOLD = 10.0