Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Aw: Re: LF: 2013-11-04, 74.550 kc

To: [email protected]
Subject: Aw: Re: LF: 2013-11-04, 74.550 kc
From: LZ <[email protected]>
Date: Mon, 4 Nov 2013 21:05:38 +0100 (CET)
Authentication-results: mx.google.com; spf=neutral (google.com: 195.171.43.25 is neither permitted nor denied by best guess record for domain of [email protected]) smtp.mail=[email protected]
Delivered-to: [email protected]
Importance: normal
In-reply-to: <[email protected]>
References: <trinity-f6d8a214-850d-4a09-95e5-e1001e5aa11b-1383566589648@3capp-gmx-bs08>, <[email protected]>
Reply-to: [email protected]
Sender: [email protected]
Sensitivity: Normal
Good evening,
 
A simple script for calculating Loran lines:
<code>
#!/usr/bin/python # modify this for M$ or other, not tested
# two GRIs wanted here
GRI1 = 7499
GRI2 = 6731
# true period
T1 = GRI1 * 1e-5
T2 = GRI2 * 1e-5
# don't want to go to infinity
max = 5000
# main loop
for i in range(max):
  deltaF = i / (2*T1) # 1st gri
  f1 = 100000 - deltaF # below rattling only, otherwise +
  print f1
  deltaF = i / (2*T2) # 2nd gri
  f2 = 100000 - deltaF
  print f2
</code>

Correct?
Laura
 
No legal disclaimer available,
legal staff still on vacation.
 
PS: tnx Markus
 
<Prev in Thread] Current Thread [Next in Thread>