aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
-rwxr-xr-xcalctenna.py6
2 files changed, 7 insertions, 8 deletions
diff --git a/README.md b/README.md
index d37a778..1ffe0ad 100644
--- a/README.md
+++ b/README.md
@@ -18,11 +18,10 @@ optional arguments:
### Example output
```text
-$ calctenna.py 104e6
-Desired Frequency: 104e6 Hz
+Desired Frequency: 104000000.0 Hz
Wavelength: 2.883 m
-Wavelength / 2: 1.441 m
-Wavelength / 4: 0.721 m
+Wavelength / 2: 144.131 cm
+Wavelength / 4: 72.065 cm
Velocity factor: 0.951
--> Dipole leg length (lambda/4): 0.685 m
+-> Dipole leg length (lambda/4): 68.534 cm
```
diff --git a/calctenna.py b/calctenna.py
index 88a6758..0ca70d2 100755
--- a/calctenna.py
+++ b/calctenna.py
@@ -109,8 +109,8 @@ if __name__ == '__main__':
if not args.quiet:
print("Desired Frequency: " + str(antenna_data.frequency) + " Hz")
print("Wavelength: %.3f m" % antenna_data.wavelength)
- print("Wavelength / 2: %.3f m" % antenna_data.wavelength_2)
- print("Wavelength / 4: %.3f m" % antenna_data.wavelength_4)
+ print("Wavelength / 2: %.3f cm" % (antenna_data.wavelength_2*100))
+ print("Wavelength / 4: %.3f cm" % (antenna_data.wavelength_4*100))
print("Velocity factor: " + str(antenna_data.velocity_factor))
print("-> Dipole leg length (lambda/4): ", end='')
- print("%.3f m" % antenna_data.dipole_leg_length)
+ print("%.3f cm" % (antenna_data.dipole_leg_length*100))
in each repos: see "about"-tab (if existing) for more details / README.
mailto contact at omeckman dot net
all timestamps in UTC (German winter time: UTC+01:00, summer time: UTC+02:00)
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa