============= Configuration ============= CalibrationConfig ----------------- .. list-table:: :header-rows: 1 :widths: 22 12 12 54 * - Field - Type - Default - Description * - ``obs_mode`` - ObsMode - Auto - Observation mode (auto-detected if Auto) * - ``pwv_source`` - PwvSource - FitGridRefine - PWV retrieval strategy * - ``pwv_initial_guess`` - f64 - 1.0 - Initial PWV guess for fitting (mm) * - ``pwv_grid_min`` - f64 - 0.01 - Minimum PWV in grid search (mm) * - ``pwv_grid_max`` - f64 - 10.0 - Maximum PWV in grid search (mm) * - ``pwv_grid_steps`` - usize - 100 - Number of grid search points * - ``pwv_per_pixel`` - bool - false - Fit PWV independently per pixel * - ``clip_tsys`` - f64 - 200.0 - Bad channel T_rec threshold multiplier (K) * - ``clip_counts`` - f64 - 0.01 - Minimum hot-cold count ratio * - ``eta_fss`` - f64 - 1.0 - Forward scattering efficiency * - ``eta_mb`` - f64 - 1.0 - Main beam efficiency * - ``gain_el_correction`` - f64 - 1.0 - Elevation-dependent gain correction * - ``n_threads`` - Option - auto - Rayon thread pool size * - ``physics`` - Physics - Exact - Physics constants precision ObsMode ------- .. list-table:: :header-rows: 1 :widths: 25 25 50 * - Variant - CLI value - Description * - ``Auto`` - ``auto`` - Auto-detect from data * - ``TotalPower`` - ``totalpower``, ``tp`` - Position-switched ON/OFF * - ``OtfTotalPower`` - ``otf``, ``otf_totalpower`` - On-the-fly scanning * - ``FrequencySwitch`` - — - Future: frequency-switched reference * - ``BeamSwitch`` - — - Future: beam-switched reference PwvSource --------- .. list-table:: :header-rows: 1 :widths: 25 75 * - Variant - Description * - ``FitGridRefine`` - Grid search (100 points) + Newton refinement (5 iterations) * - ``FitLM`` - Levenberg-Marquardt least-squares (fallback) * - ``External(f64)`` - Fixed PWV value in mm (no fitting) PhysicsConstants ---------------- .. list-table:: :header-rows: 1 :widths: 25 30 45 * - Variant - :math:`h/k_B` - Notes * - ``Exact`` - SI 2019, f64 - Production default * - ``KalibrateCompat`` - 0.047995 K/GHz, f32 truncation - Legacy parity mode