summaryrefslogtreecommitdiff
path: root/lib/superfox/qpc_snr.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
committerChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
commit0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch)
treed702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /lib/superfox/qpc_snr.f90
parent310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff)
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
Diffstat (limited to 'lib/superfox/qpc_snr.f90')
-rwxr-xr-xlib/superfox/qpc_snr.f9034
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/superfox/qpc_snr.f90 b/lib/superfox/qpc_snr.f90
index b2c807f0..457d2504 100755
--- a/lib/superfox/qpc_snr.f90
+++ b/lib/superfox/qpc_snr.f90
@@ -1,17 +1,17 @@
-subroutine qpc_snr(s3,y,snr)
-
- use qpc_mod
-! real s2(0:NQ-1,0:151) !Symbol spectra, including sync
- real s3(0:127,0:127) !Synchronized symbol spectra
- integer*1 y(0:127) !Encoded symbols
-! integer isync(24)
-
- p=0.
- do j=1,127
- i=y(j)
- p=p + s3(i,j)
- enddo
- snr=db(p/127.0) - db(127.0) - 4.0
-
- return
-end subroutine qpc_snr
+subroutine qpc_snr(s3,y,snr)
+
+ use qpc_mod
+! real s2(0:NQ-1,0:151) !Symbol spectra, including sync
+ real s3(0:127,0:127) !Synchronized symbol spectra
+ integer*1 y(0:127) !Encoded symbols
+! integer isync(24)
+
+ p=0.
+ do j=1,127
+ i=y(j)
+ p=p + s3(i,j)
+ enddo
+ snr=db(p/127.0) - db(127.0) - 4.0
+
+ return
+end subroutine qpc_snr