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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1>Chapter 16: Practical Design Considerations of Large Aperture Antennas<h1>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Example 16-2.1, Page number: 608<h3>"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from math import cos, pi, log10\n",
"\n",
"#Variable declaration\n",
"delta = 1/20.0 #rms deviation (lambda)\n",
"\n",
"#Calculations\n",
"del_phi = 4*pi*delta*180/pi #Phase error (degrees)\n",
"kg = cos(del_phi*pi/180)**2 #Gain-loss (unitless)\n",
"kg = 10*log10(kg) #Gain-loss (dB)\n",
"\n",
"#Result\n",
"print \"The gain reduction is\", round(abs(kg),1), \"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
" The gain reduction is 1.8 dB\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Example 16-2.2, Page number: 609<h3>"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from math import tan,pi, log10\n",
"\n",
"#Variable declaration\n",
"del_phi = 36.0 #rms phase error (degrees)\n",
"n_irr = 100.0 #Number of irregularities\n",
"\n",
"#Calculations\n",
"max_side = tan(del_phi*pi/180)**2\n",
"max_side = -10*log10(max_side)\n",
" #Maximum side-lobe level (dB)\n",
"ran_side = (1/n_irr)*tan(del_phi*pi/180)**2\n",
"ran_side = -10*log10(ran_side)\n",
" #Random side-lobe level (dB)\n",
"\n",
"#Result\n",
"print \"The maximum side lobe level from main lobe is\", round(max_side,1),\"dB\"\n",
"print \"The random side lobe level from main lobe is\", round(ran_side,1),\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The maximum side lobe level from main lobe is 2.8 dB\n",
"The random side lobe level from main lobe is 22.8 dB\n"
]
}
],
"prompt_number": 4
}
],
"metadata": {}
}
]
}
|