function initOddshotsRsqThreshold() {
    var th = 0;
    var selval = document.getElementById("oddshotsRsqThresholdSelector").value;
    switch (selval) {
        case ("low"):
            th = 0.99;
            break;
        case ("average"):
            th = 0.97;
            break;
        case ("high"):
            th = 0.95;
            break;
    }
    return (th);
} // function initOddshotsRsqThreshold()


            <h3 id="s-oddshots">Odd tracks filters:</h3>
            <div class="group">
                <label for="oddshotsRsqThresholdSelector" id="s-oddshotsRsqThreshold-select">Signal quality threshold</label>
                <select id="oddshotsRsqThresholdSelector">
                    <option id="s-oddshotsRsqThreshold-none" value="none">None</option>
                    <option id="s-oddshotsRsqThreshold-low" value="low" selected>Good conditions (0.99+)</option>
                    <option id="s-oddshotsRsqThreshold-average" value="average">Average conditions (0.97+)</option>
                    <option id="s-oddshotsRsqThreshold-high" value="high">High noise environment (0.95+)</option>
                </select>
                <div class="d-filter-description">
                    This filter uses the coefficient of determination (R squared) of the regression to filter out odd tracks appearing, for example, when the Labradar box shakes under some strong muzzle blast, or just operates in an environment with a lot of signal reflections.
                    In such situations, the muzzle velocity displayed is not necessarily completely off, but the calculated BC can get rather random. "Good conditions" (R^2 > 0.99) is the recommended default setting for most scenarios. You may want to
                    crank it up to "Average" (R^2 > 0.97) or even "High noise" (R^2 > 0.95) if you run the radar in a more noisy environment (obstacles in or near the line of fire), and you see too many valid measurements rejected. Higher threshold reduces
                    the accuracy of the results.
                </div>
            </div>