Last active
November 11, 2022 09:46
-
-
Save kenguish/3e9422b37375d04581f8d80ed3ec7636 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"## J Pole Antenna Formula\n", | |
"\n", | |
"<div class=\"alert alert-warning\" role=\"alert\" style=\"margin: 10px\">\n", | |
"<p>Let \"frequency\" represents your desire antenna frequency in Hz.\n", | |
"</p>\n", | |
"</div>\n", | |
"\n" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 45, | |
"metadata": { | |
"scrolled": true | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"A long section: 1.478m (147.8cm)\n", | |
"B short section: 0.493m (49.3cm)\n", | |
"C Feed point: 0.049m (4.9cm)\n", | |
"D spacing: 0.049m (4.9cm)\n" | |
] | |
} | |
], | |
"source": [ | |
"frequency = 144.64e6\n", | |
"\n", | |
"lamda = (3e8 / float( frequency ))\n", | |
"A_length = lamda * ( 3.0 / 4.0)\n", | |
"\n", | |
"print(u\"A long section: %.3fm (%.1fcm)\" % (A_length * 0.95, A_length * 0.95 * 100.0))\n", | |
"\n", | |
"B_length = lamda * ( 1.0 / 4.0)\n", | |
"print(u\"B short section: %.3fm (%.1fcm)\" % (B_length * 0.95, B_length * 0.95 * 100.0))\n", | |
"\n", | |
"C_length = lamda * ( 0.025 )\n", | |
"\n", | |
"print(u\"C Feed point: %.3fm (%.1fcm)\" % (C_length * 0.95, C_length * 0.95 * 100.0))\n", | |
"\n", | |
"D_length = lamda * ( 0.025 )\n", | |
"\n", | |
"print(u\"D spacing: %.3fm (%.1fcm)\" % (D_length * 0.95, D_length * 0.95 * 100.0))\n" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.6.2" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment