mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Correct the estimate of SNR for FT4 signals.
This commit is contained in:
		
							parent
							
								
									0a6d67c1d6
								
							
						
					
					
						commit
						7e3b153d8b
					
				@ -74,7 +74,7 @@ subroutine ft4_decode(cdatetime0,nfqso,iwave,ndecodes,mycall,hiscall,nrx,line)
 | 
				
			|||||||
   ndecodes=0
 | 
					   ndecodes=0
 | 
				
			||||||
   do icand=1,ncand
 | 
					   do icand=1,ncand
 | 
				
			||||||
      f0=candidate(1,icand)
 | 
					      f0=candidate(1,icand)
 | 
				
			||||||
      xsnr=10*log10(candidate(3,icand))-15.0
 | 
					      xsnr=10*log10(candidate(3,icand))-18.0
 | 
				
			||||||
      if( f0.le.375.0 .or. f0.ge.(5000.0-375.0) ) cycle
 | 
					      if( f0.le.375.0 .or. f0.ge.(5000.0-375.0) ) cycle
 | 
				
			||||||
      call ft4_downsample(iwave,f0,cd2) ! downsample from 320 Sa/Symbol to 20 Sa/Symbol
 | 
					      call ft4_downsample(iwave,f0,cd2) ! downsample from 320 Sa/Symbol to 20 Sa/Symbol
 | 
				
			||||||
      sum2=sum(cd2*conjg(cd2))/(20.0*76)
 | 
					      sum2=sum(cd2*conjg(cd2))/(20.0*76)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user