source: ammosreader/doc/html/PDW.html@ 1e781ba

AmmosSource guix
Last change on this file since 1e781ba was 1e781ba, checked in by recknagel <recknagel@…>, 3 years ago

former radardex-project

  • Property mode set to 100644
File size: 9.2 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<html xmlns="http://www.w3.org/1999/xhtml">
6 <head>
7 <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title>PDW module &#8212; RadarDex 0.314 documentation</title>
10 <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
11 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
12 <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
13 <script type="text/javascript" src="_static/jquery.js"></script>
14 <script type="text/javascript" src="_static/underscore.js"></script>
15 <script type="text/javascript" src="_static/doctools.js"></script>
16 <script type="text/javascript" src="_static/language_data.js"></script>
17 <link rel="index" title="Index" href="genindex.html" />
18 <link rel="search" title="Search" href="search.html" />
19 <link rel="prev" title="radardex" href="index.html" />
20
21 <link rel="stylesheet" href="_static/custom.css" type="text/css" />
22
23 <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
24
25 </head><body>
26
27
28 <div class="document">
29 <div class="documentwrapper">
30 <div class="bodywrapper">
31 <div class="body" role="main">
32
33 <div class="section" id="module-PDW">
34<span id="pdw-module"></span><h1>PDW module<a class="headerlink" href="#module-PDW" title="Permalink to this headline">¶</a></h1>
35<dl class="class">
36<dt id="PDW.PDW">
37<em class="property">class </em><code class="descclassname">PDW.</code><code class="descname">PDW</code><span class="sig-paren">(</span><em>time_of_arrival</em>, <em>pdw_format_identifier</em>, <em>center_frequency</em>, <em>is_valid</em>, <em>is_pulse</em>, <em>level_unit</em>, <em>signal_start_missing</em>, <em>signal_end_missing</em>, <em>pulse_width</em>, <em>frequency_shift_or_bandwidth</em>, <em>pulse_level_or_pulse_field_strength</em>, <em>region_of_interest</em>, <em>azimuth_confidence</em>, <em>modulation</em>, <em>sector</em>, <em>polarity</em>, <em>df_quality</em>, <em>elevation</em>, <em>azimuth</em>, <em>channel</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/PDW.html#PDW"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#PDW.PDW" title="Permalink to this definition">¶</a></dt>
38<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
39<p>I store information from a single ppdw data block</p>
40<dl class="method">
41<dt id="PDW.PDW.__init__">
42<code class="descname">__init__</code><span class="sig-paren">(</span><em>time_of_arrival</em>, <em>pdw_format_identifier</em>, <em>center_frequency</em>, <em>is_valid</em>, <em>is_pulse</em>, <em>level_unit</em>, <em>signal_start_missing</em>, <em>signal_end_missing</em>, <em>pulse_width</em>, <em>frequency_shift_or_bandwidth</em>, <em>pulse_level_or_pulse_field_strength</em>, <em>region_of_interest</em>, <em>azimuth_confidence</em>, <em>modulation</em>, <em>sector</em>, <em>polarity</em>, <em>df_quality</em>, <em>elevation</em>, <em>azimuth</em>, <em>channel</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/PDW.html#PDW.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#PDW.PDW.__init__" title="Permalink to this definition">¶</a></dt>
43<dd><table class="docutils field-list" frame="void" rules="none">
44<col class="field-name" />
45<col class="field-body" />
46<tbody valign="top">
47<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
48<li><strong>time_of_arrival</strong> (<em>Integer</em>) – nanoseconds since 1970-01-01 00:00:00</li>
49<li><strong>pdw_format</strong> (<em>Integer</em>) – format code</li>
50<li><strong>center_frequency</strong> (<em>Integer</em>) – center frequency in KHz</li>
51<li><strong>is_valid</strong> (<em>Boolean</em>) – flag to mark if pdw data body is valid</li>
52<li><strong>is_pulse</strong> (<em>Boolean</em>) – flag to mark if pdw data body contains a pulse or a continuous wave signal</li>
53<li><strong>level_unit</strong> (<em>Integer</em>) – 0 means dBµV - 1 means dBµV/m</li>
54<li><strong>signal_start_missing</strong> (<em>Boolean</em>) – signal started before time of arrival</li>
55<li><strong>signal_end_missing</strong> (<em>Boolean</em>) – signal stops after time of arrival</li>
56<li><strong>pulse_width</strong> (<em>Integer</em>) – pulse width in nanoseconds - Zero if no valid pulse detected</li>
57<li><strong>frequency_shift_or_bandwidth</strong> (<em>Integer</em>) – Value in KHz - Value set to 1048575 means Unknown</li>
58<li><strong>pulse_level_or_pulse_field_strength</strong> (<em>Float</em>) – Pulse level or Pulse Field Strength depending on level_unit (-200.0…200.0) in 0.1 steps / minus 204.8 means no valid level detected</li>
59<li><strong>region_of_interest</strong> (<em>Boolean</em>) – Marks if signal is from region of interest</li>
60<li><strong>azimuth_confidence</strong> (<em>Float</em>) – degree in steps of 0.1 (0.0-6.2) / 6.3 means confidence unknown</li>
61<li><strong>modulation</strong> (<em>String</em>) – type of modulation (e.g. PSK-2, PSK-4, FM etc.)</li>
62<li><strong>sector</strong> (<em>Integer</em>) – reference antenna sector (0-15)</li>
63<li><strong>polarity</strong> (<em>String</em>) – Horizontal, Vertical, Clockwise, Counter clockwise</li>
64<li><strong>df_quality</strong> (<em>Integer</em>) – Direction finding quality in percent (0-100) - Zero means unknown</li>
65<li><strong>elevation</strong> (<em>Float</em>) – elevation of incoming signal (from -90 to 90 degree) in steps of 0.1 degree minus 102.4 means unknown</li>
66<li><strong>azimuth</strong> (<em>Float</em>) – azimuth of incoming signal (from 0 to 359.9 degree) in steps of 0.1 degree plus 409.5 means unknown</li>
67<li><strong>channel</strong> (<em>Integer</em>) – detecting channel (0-16) - Zero means unknown</li>
68</ul>
69</td>
70</tr>
71<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">An instance of class PDW with attributes set according to the data of a data body</p>
72</td>
73</tr>
74<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#PDW.PDW" title="PDW.PDW">PDW</a></p>
75</td>
76</tr>
77</tbody>
78</table>
79</dd></dl>
80
81<dl class="classmethod">
82<dt id="PDW.PDW.from_bytes">
83<em class="property">classmethod </em><code class="descname">from_bytes</code><span class="sig-paren">(</span><em>byte_string</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/PDW.html#PDW.from_bytes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#PDW.PDW.from_bytes" title="Permalink to this definition">¶</a></dt>
84<dd><p>I create an instance of class PDW from data body (8 * 32 bits)</p>
85<table class="docutils field-list" frame="void" rules="none">
86<col class="field-name" />
87<col class="field-body" />
88<tbody valign="top">
89<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>byte_string</strong> (<em>byte string</em>) – a byte string containing a single data body read from a ppdw file</td>
90</tr>
91<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">an instance of class PDW with attributes set according to the data of a data body</td>
92</tr>
93<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#PDW.PDW" title="PDW.PDW">PDW</a></td>
94</tr>
95</tbody>
96</table>
97</dd></dl>
98
99</dd></dl>
100
101</div>
102
103
104 </div>
105 </div>
106 </div>
107 <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
108 <div class="sphinxsidebarwrapper">
109<h1 class="logo"><a href="index.html">RadarDex</a></h1>
110
111
112
113
114
115
116
117
118<h3>Navigation</h3>
119<ul class="current">
120<li class="toctree-l1 current"><a class="current reference internal" href="#">PDW module</a></li>
121</ul>
122
123<div class="relations">
124<h3>Related Topics</h3>
125<ul>
126 <li><a href="index.html">Documentation overview</a><ul>
127 <li>Previous: <a href="index.html" title="previous chapter">radardex</a></li>
128 </ul></li>
129</ul>
130</div>
131<div id="searchbox" style="display: none" role="search">
132 <h3>Quick search</h3>
133 <div class="searchformwrapper">
134 <form class="search" action="search.html" method="get">
135 <input type="text" name="q" />
136 <input type="submit" value="Go" />
137 <input type="hidden" name="check_keywords" value="yes" />
138 <input type="hidden" name="area" value="default" />
139 </form>
140 </div>
141</div>
142<script type="text/javascript">$('#searchbox').show(0);</script>
143 </div>
144 </div>
145 <div class="clearer"></div>
146 </div>
147 <div class="footer">
148 &copy;2020, Enrico Schwass.
149
150 |
151 Powered by <a href="http://sphinx-doc.org/">Sphinx 1.8.5</a>
152 &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
153
154 |
155 <a href="_sources/PDW.rst.txt"
156 rel="nofollow">Page source</a>
157 </div>
158
159
160
161
162 </body>
163</html>
Note: See TracBrowser for help on using the repository browser.