Join/Login

Business Software

Open Source Software

For Vendors

Blog

About

More

Articles

Create

SourceForge Podcast

Site Documentation

Subscribe to our Newsletter

Support Request

For Vendors Help Create Join Login

Business Software

Open Source Software

SourceForge Podcast

Resources

Articles

Case Studies

Blog

Menu

Help

Create

Join

Login

Home

Browse

WSJT

Echo

WSJT Echo

Weak signal ham radio communication

Brought to you by: bsomervi, chetfenn, dg2ycb, k1jt

Summary

Files

Reviews

Support

Mailing Lists

Git ▾

WSJT-X

WSPR

WSPR-X

WSJT

Echo

FMT

MAP65

MAP65IQ

WSJT-X Superbuild

More...

Old SVN

Menu ▾ ▴

Browse Commits

Fork

Merge Requests 0

Forks 1

Branches

master

[7a9056]: / f90 / txtone.f90  Maximize  Restore  History

Download this file

49 lines (43 with data), 969 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

subroutine txtone(c,t0,f1a,smax)

  parameter (NZH=260000)                !2.7 * 96000

  parameter (NFFT=256*1024)

  parameter (NTX=27*8192)

  complex c(0:520000-1)

  complex ct(0:NFFT-1)

  real s(1000)

  ss=0.

  base=0.

  do i=1,1000

     ia=(i-1)*96

     ib=ia+95

     s(i)=sum(real(c(ia:ib)*conjg(c(ia:ib))))

     write(71,3001) i,0.001*i,s(i),base

3001 format(i10,f10.3,2e12.3)

     if(i.gt.900) ss=ss+s(i)

  enddo

  flush(71)

  base=ss/100.0

  do i=1000,1,-1

     if(s(i).lt.0.2*base) exit

  enddo

  t0=0.001*i + 0.02

  i0=nint(t0*96000.0)

  fac=1.0/NFFT

  ct(0:NTX-1)=fac*conjg(c(i0:i0+NTX-1))

  ct(0:NTX:2)=-ct(0:NTX:2)

  ct(NTX:)=0.

  call four2a(ct,nfft,1,-1,1)

  f1a=0.

  smax=0.

  df=96000.0/NFFT

  do i=0,NFFT-1

     f=i*df

     if(i.gt.NFFT/2) f=(i-NFFT)*df

     ss=real(ct(i))**2 + aimag(ct(i))**2

     if(ss.gt.smax) then

        smax=ss

        f1a=f

     endif

  enddo

  return

end subroutine txtone

SourceForge

Create a Project

Open Source Software

Business Software

Top Downloaded Projects

Company

About

Team

SourceForge Headquarters
225 Broadway Suite 1600
San Diego, CA 92101
+1 (858) 422-6466

Resources

Support

Site Documentation

Site Status

SourceForge Reviews

© 2025 Slashdot Media. All Rights Reserved.

Terms Privacy Opt Out Advertise

×
Want the latest updates on software, tech news, and AI?

Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.

Submit