From 193436f012671bce0432353faf1eba5d3fae10b9 Mon Sep 17 00:00:00 2001 From: Steve Pinkham Date: Tue, 28 Jul 2026 10:12:43 -0400 Subject: [PATCH] fix(presets): correct three fading-preset rows to canonical spreads ccir-poor: spread 0.5 -> 1.0 Hz (CCIR 520-2 Poor is 2 ms / 1 Hz; the row carried the Moderate spread with the Poor delay). midlat-quiet: spread 0.5 -> 0.1 Hz (canonical mid-latitude quiet is 0.5 ms / 0.1 Hz, same as CCIR Good). midlat-moderate: garbled single-path {0, 1.0, 0.5} -> canonical two-path 1 ms / 0.5 Hz (delay/spread had collapsed into one entry with a spurious offset). Values per the PathSim technical guide's own standard-settings table (pathsimtech100 sec 4.1.11) and CCIR Rec. 520-2. Verified by feeding a tone through the binary and measuring the realized Doppler spread of the output (autocorrelation fit): before = 0.497 / 0.983 / 0.493 Hz, after = 0.967 / 0.501 / 0.107 Hz vs canonical 1.0 / 0.5 / 0.1. Co-Authored-By: Claude Fable 5 --- PathSimParams.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PathSimParams.cpp b/PathSimParams.cpp index dbbeb96..2746729 100644 --- a/PathSimParams.cpp +++ b/PathSimParams.cpp @@ -12,7 +12,7 @@ std::vector s_default_params { { "CCIR 520-2 (Flutter Fading)", "ccir-flutter", { {0., 10.0, 0.0}, {0.5, 10. , 0.} } }, { "CCIR 520-2 (Good Conditions)", "ccir-good", { {0., 0.1, 0.0}, {0.5, 0.1, 0.} } }, { "CCIR 520-2 (Moderate Conditions)", "ccir-moderate", { {0., 0.5, 0.0}, {1. , 0.5, 0.} } }, - { "CCIR 520-2 (Poor Conditions)", "ccir-poor", { {0., 0.5, 0.0}, {2. , 0.5, 0.} } }, + { "CCIR 520-2 (Poor Conditions)", "ccir-poor", { {0., 1.0, 0.0}, {2. , 1. , 0.} } }, { "Low-Latitude Disturbed", "lowlat-disturbed", { {0., 10.0, 0.0}, {6. , 10. , 0.} } }, { "Low-Latitude Moderate", "lowlat-moderate", { {0., 1.5, 0.0}, {2. , 1.5, 0.} } }, @@ -24,8 +24,8 @@ std::vector s_default_params { { "Mid-Latitude Disturbed", "midlat-disturbed", { {0., 1.0, 0.0}, {2. , 1. , 0.} } }, { "Mid-Latitude Disturbed NVIS", "midlat-dist-nvis", { {0., 1.0, 0.0}, {7. , 1. , 0.} } }, - { "Mid-Latitude Moderate", "midlat-moderate", { {0., 1.0, 0.5} } }, - { "Mid-Latitude Quiet", "midlat-quiet", { {0., 0.5, 0.0}, {0.5, 0.5, 0.} } }, + { "Mid-Latitude Moderate", "midlat-moderate", { {0., 0.5, 0.0}, {1. , 0.5, 0.} } }, + { "Mid-Latitude Quiet", "midlat-quiet", { {0., 0.1, 0.0}, {0.5, 0.1, 0.} } }, { "Frequency Shifter", "freq-shifter", { {0., 0.0, 500.0} } }, };