mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
#2226 DMR Decoder adds an equalizer to adjust symbol constellation balance/skew and gain to optimize symbol quadrant alignment/mapping. Reduces sync detectors from 3 to 2 and sets minimum objective channel sample rate to 19.2 kHz. (#2245)
Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* *****************************************************************************
|
||||
* Copyright (C) 2014-2024 Dennis Sheirer
|
||||
* Copyright (C) 2014-2025 Dennis Sheirer
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -17,7 +17,7 @@
|
||||
* ****************************************************************************
|
||||
*/
|
||||
|
||||
package io.github.dsheirer.dsp.psk.dqpsk;
|
||||
package io.github.dsheirer.dsp.psk.demod;
|
||||
|
||||
import io.github.dsheirer.dsp.symbol.Dibit;
|
||||
import io.github.dsheirer.module.decode.dmr.sync.DMRSoftSyncDetector;
|
||||
@@ -60,11 +60,11 @@ public class DmrSoftSyncDetectorTest
|
||||
for(Dibit dibit: pattern.toDibits())
|
||||
{
|
||||
symbol = toSymbol(dibit);
|
||||
scalar.process(symbol);
|
||||
vector64.process(symbol);
|
||||
vector128.process(symbol);
|
||||
vector256.process(symbol);
|
||||
vector512.process(symbol);
|
||||
scalar.processAndCalculate(symbol);
|
||||
vector64.processAndCalculate(symbol);
|
||||
vector128.processAndCalculate(symbol);
|
||||
vector256.processAndCalculate(symbol);
|
||||
vector512.processAndCalculate(symbol);
|
||||
}
|
||||
|
||||
assertSame(scalar.getDetectedPattern(), pattern, "Scalar Detector Did Not Correctly Detect Pattern: " + pattern);
|
||||
Reference in New Issue
Block a user