aboutsummaryrefslogtreecommitdiff
path: root/calctenna.py
diff options
context:
space:
mode:
authorpux <pux@pux.dom>2021-03-22 01:11:26 +0100
committerpux <pux@pux.dom>2021-03-22 01:11:26 +0100
commit15ba647b6e61c6d132c76f98fef217c9a954f7bd (patch)
tree142ecb633bacf61732834bb3f723c7d9522abf53 /calctenna.py
parent46169e6a75130cd8e0719a39b92a1454279da312 (diff)
downloadcalctenna-15ba647b6e61c6d132c76f98fef217c9a954f7bd.tar.gz
calctenna-15ba647b6e61c6d132c76f98fef217c9a954f7bd.tar.bz2
calctenna-15ba647b6e61c6d132c76f98fef217c9a954f7bd.zip
output m -> cm
Diffstat (limited to 'calctenna.py')
-rwxr-xr-xcalctenna.py6
1 files changed, 3 insertions, 3 deletions
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