diff --git a/plugins/channelrx/demoddatv/datvdemodgui.ui b/plugins/channelrx/demoddatv/datvdemodgui.ui index e545f9044..d43928831 100644 --- a/plugins/channelrx/demoddatv/datvdemodgui.ui +++ b/plugins/channelrx/demoddatv/datvdemodgui.ui @@ -1056,6 +1056,9 @@ 0 + + MER estimation value (dB) + 00.0 @@ -1116,6 +1119,9 @@ 0 + + CNR estimation value (dB) + 00.0 diff --git a/plugins/channelrx/demoddatv/leansdr/sdr.h b/plugins/channelrx/demoddatv/leansdr/sdr.h index 8b5ba18f6..deca6e933 100644 --- a/plugins/channelrx/demoddatv/leansdr/sdr.h +++ b/plugins/channelrx/demoddatv/leansdr/sdr.h @@ -1998,7 +1998,7 @@ struct cnr_fft : runnable float n2 = (avgslots(icf - nstop, icf - nstart) + avgslots(icf + nstart, icf + nstop)) / 2; #elif LEANDVB_SDR_CNR_METHOD == 2 - int bw = bandwidth * 0.75 * fft.size(); + int bw = bandwidth * 0.6 * fft.size(); float c2plusn2 = 0; float n2 = 0; minmax(icf - bw, icf + bw, n2, c2plusn2); diff --git a/plugins/channelrx/demoddatv/readme.md b/plugins/channelrx/demoddatv/readme.md index 34ad561f9..5cfbb246a 100644 --- a/plugins/channelrx/demoddatv/readme.md +++ b/plugins/channelrx/demoddatv/readme.md @@ -48,7 +48,7 @@ This gauge gives the MER estimation. The averaged value appears on the right.

B.4: CNR estimation

-This gauge gives the CNR estimation. The averaged value appears on the right. +This gauge gives the CNR estimation. The averaged value appears on the right. Estimation is made comparing spectrum power in the center of the passband compared to the sides. The passband is the one presented to the demodulator and is always twice the symbol rate. the "center" is estimated at 60% of the full passband. Note that the RF filter comes before that and may change the aspect of the spectrum thus the best estimation is obtained when the RF filter width is close to twice the symbol rate and the surroundings are quiet.

B.5: Output transport stream to UDP