diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82c4387 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +__pycache__ +*.pyc +*.py~ +.eggs/ +.ipynb_checkpoints/ +.vscode/ +*.egg-info/ +build/ +docs/_autosummary/ +docs/_build/ +dist/ +tmp/ diff --git a/README.md b/README.md index 92eda6b..55c44a6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # scikit-sdr -Python 3 library that provides algorithms for building digital communication systems and for experimenting with DSP and SDR + +**scikit-sdr** is a Python 3 library that provides algorithms for building digital communication systems and for experimenting with DSP and SDR. +The structure of the library is as follows: + +- ``sksdr``: source code for algorithms +- ``tests``: units tests using the pytest framework +- ``demo``: demonstrations using Jupyter notebooks +- ``gnuradio``: GNU Radio wrappers contained in an OOT module (``gnuradio/gr-grsksdr``) and some demonstration flowgraphs (``gnuradio/demo``) +- ``docs``: Sphinx documentation + +Some of this work as been inspired and/or based of other libraries such as [komm](https://github.com/rwnobrega/komm) and [scikit-dsp-comm](https://github.com/mwickert/scikit-dsp-comm). Other sources include the books: +- "Digital Communications: A Discrete-time Approach" by Michael Rice +- "Understanding Digital Signal Processing" by Richard G. Lyons +- "Digital Signal Processing: Principles, Algorithms and Applications" by John G. Proakis and Dimitris G. Manolakis + diff --git a/build_frame_bits.py b/build_frame_bits.py new file mode 100644 index 0000000..3bc7a38 --- /dev/null +++ b/build_frame_bits.py @@ -0,0 +1,25 @@ +import numpy as np + +import sksdr + +msgs = ['Hello World {:03d}'.format(i) for i in range(100)] +rx_msg_idx = 0 +ret = dict() +frame_size_bits = 250 +preamble = np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) +scrambler_poly = [1, 1, 1, 0, 1] +scrambler_init_state = [0, 1, 1, 0] +scrambler = sksdr.Scrambler(scrambler_poly, scrambler_init_state) +fid = open('test.dat', 'wb') + +for i, msg in enumerate(msgs): + ret['payload'] = sksdr.x2binlist(msg, 8) + ret['fill'] = np.random.randint(0, 1, frame_size_bits - len(preamble) - len(ret['payload'])) + ret['bits'] = np.hstack((ret['payload'], ret['fill'])) + ret['sbits'] = scrambler(ret['bits']) + bits = np.hstack((preamble, ret['sbits'])) + nbits = len(bits) + if nbits % 8 > 0: + bits = np.hstack((bits, [0] * (8 - nbits % 8))) + chars = [int(''.join(map(str, bits[i : i + 8])), 2) for i in range(0, len(bits), 8)] + fid.write(bytes(chars)) diff --git a/demo/demo_agc.ipynb b/demo/demo_agc.ipynb new file mode 100644 index 0000000..afbfa5a --- /dev/null +++ b/demo/demo_agc.ipynb @@ -0,0 +1,2573 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
AGC Introductory Demo
\n", + "\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Reference power**, **Max gain**, **Detector gain** and **Averaging length** fields, translate directly to the equivalent module properties.\n", + "\n", + "The **Number of samples** field defines the length of the input signal. it populates a variable *n* that can be used in the **Signal** field. Any valid Python expression can be used for the input signal (defined by the *sig* variable).\n", + "\n", + "The output shows plots of the input and output signals where the output power adjustment can be verified. The output power (of the last half of the output samples, to avoid the initial transients) will be numerically reported to compare against the desired value. Finally a plot of the error, as reported by the AGC, is shown. This is useful to analyse the damping factor, initial oscillation amplitude and steady-state error, for different combinations of input parameters.\n", + "\n", + "A new instance should be created (using the **Init** button), whenever new parameters (or a new unrelated input signal) are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "129d3a4815434e4bbe79bb79482d54fa", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "VBox(children=(GridspecLayout(children=(BoundedFloatText(value=1.0, description='Reference power:', layout=Lay…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.pyplot as plt\n", + "import matplotlib.gridspec as gridspec\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "agc = None\n", + "output_samples = None\n", + "\n", + "def init(b):\n", + " global agc, disp\n", + " ref_power = ref_power_widget.value\n", + " max_gain = max_gain_widget.value\n", + " det_gain = det_gain_widget.value\n", + " avg_len = avg_len_widget.value\n", + " agc = sksdr.AGC(ref_power, max_gain, det_gain, avg_len)\n", + " with disp:\n", + " print('Initiated with ' + repr(agc))\n", + "\n", + "def execute(b):\n", + " global agc, output_samples, disp\n", + " n = np.arange(num_samples_widget.value)\n", + " _locals = {'n': n}\n", + " exec(signal_widget.value, None, _locals)\n", + " sig = _locals['sig']\n", + " fig = plt.figure(figsize=(15,10))\n", + " gs = gridspec.GridSpec(2, 2, figure=fig)\n", + " with disp:\n", + " sksdr.time_plot([sig], [''], [1], 'Input Signal', fig=fig, gs=gs[0, 0])\n", + " out, err = agc(sig)\n", + " sksdr.time_plot([out], [''], [1], 'Output Signal', fig=fig, gs=gs[0, 1])\n", + " print('Output power: ' + str(sksdr.utils.power(out, 1 / 2)))\n", + " sksdr.time_plot([err], [''], [1], 'Error', fig=fig, gs=gs[1, 0])\n", + " plt.show()\n", + " output_samples = out\n", + " print('Output samples available in variable \"output_samples\"')\n", + "\n", + "style = dict(utils.description_width_style)\n", + "settings_grid = widgets.GridspecLayout(3, 3)\n", + "settings_grid[0, 0] = ref_power_widget = widgets.BoundedFloatText(description='Reference power:', value=1.0, min=0.0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[0, 1] = max_gain_widget = widgets.BoundedFloatText(description='Max gain (dB):', value=60.0, min=0.0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[0, 2] = det_gain_widget = widgets.BoundedFloatText(description='Detector gain:', value=0.01, min=0.01, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[1, 0] = avg_len_widget = widgets.BoundedIntText(description='Averaging length (samples):', value=100, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[2, 0] = num_samples_widget = widgets.BoundedIntText(description='Number of samples (n=):', value=1000, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[2, 1:] = signal_widget = widgets.Textarea(description='Signal (sig=):', value='sig = np.cos(2 * np.pi * n / 8)', continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3.6.9 64-bit", + "language": "python", + "name": "python36964bit763a2000d45e4ca6aa255883e009df8b" + }, + "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.9" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "state": { + "0166018bbe9f483da6db7a42ab6b8662": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "0534fd5e00a046e7b6ad2fbe30c2bc5b": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "061e1c49e024479880f8566ceac7701d": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "height": "auto" + } + }, + "06766b2cf2cd40d7b81b2f085f4c9e4f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HBoxModel", + "state": { + "children": [ + "IPY_MODEL_06c7b855627d4e7a82cf44cc73df33e4", + "IPY_MODEL_52cc661913ad48a68629d0ae5f71c176" + ], + "layout": "IPY_MODEL_ed1d7f328e814e4c8223fb0ca5a05e59" + } + }, + "06c7b855627d4e7a82cf44cc73df33e4": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Init", + "layout": "IPY_MODEL_cd954ed3ab4a4a879baf2fc03b7e1bce", + "style": "IPY_MODEL_ca77e7587d33429ba0e1d4888bad1168", + "tooltip": "Init" + } + }, + "0785f8c23cf343f0b4d11e285743717f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HBoxModel", + "state": { + "children": [ + "IPY_MODEL_b80555fb654c4f588b5ceae2c18d8a9f", + "IPY_MODEL_f5af39faf4884ae1ace351b22b533fdb" + ], + "layout": "IPY_MODEL_88d58f3f0a2c4541a78ceafb7ae5bbb1" + } + }, + "079b7f7df84946998ec2cbd3e41bd609": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "MPLCanvasModel", + "state": { + "_cursor": "default", + "_figure_label": "Figure 1", + "_height": 480, + "_width": 640, + "layout": "IPY_MODEL_9dbf40ac0bf24d8c8e9d1c67db82c48a", + "toolbar": "IPY_MODEL_bc11cced78644e2195710988b86d62ed", + "toolbar_position": "left" + } + }, + "09f4b080867840b884b9bdd7a355a8e7": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "0a3ed0041d3c4456ab55aff330c710f2": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Averaging length (samples):", + "layout": "IPY_MODEL_8e6ee72f89f4474286032da1a9aee4f8", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_de80a79594154f428b891d7152714499", + "value": 100 + } + }, + "0c3b2d14dc524f26885c9efdf8112d4f": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "0cf9236f95af484c9575d59ae844fbe4": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "0e8e624d0dc14ec083be0419680cbc02": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "0fcd26e66ecd476494cd25e489f1af7a": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "105c868746954582bef5ccaa0ab83c3e": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget004" + } + }, + "10eecea3a96d4cb2991f3bfc916982e2": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "11afeca95b8a4f8e814809a5e286df58": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_2ddf49a82ecc423786a6c852cd8b1e2a", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "13668b4f746042498a5fd7596a1559d6": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Number of samples (n=):", + "layout": "IPY_MODEL_b9fdfa517fa440969e9a3f0318ff67f9", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_9612674a8137415f9f673881df4dd1a1", + "value": 1000 + } + }, + "15abb58823624512a44747aa4d828aad": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "TextareaModel", + "state": { + "continuous_update": false, + "description": "Signal (sig=):", + "layout": "IPY_MODEL_82fc10a8ebf44ff891f6dbd41ff10d84", + "style": "IPY_MODEL_64b83cffce21414180ebb3350ba414ff", + "value": "sig = np.cos(2 * np.pi * n / 8)" + } + }, + "15f54da973344142bac988af0e9e4c8a": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "layout": "IPY_MODEL_3948c612d82a4c389e4e76532dca41c0", + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "079b7f7df84946998ec2cbd3e41bd609", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": "Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset original view', 'home', 'home'), ('Back', 'Back to previous …" + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "71b6d30ec6e54c8c871971575bc50398", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": "Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset original view', 'home', 'home'), ('Back', 'Back to previous …" + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": "Output power: 1.0000118650211154\n" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "b8bc6b4f33a44cccb6c53dc589828877", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": "Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset original view', 'home', 'home'), ('Back', 'Back to previous …" + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": "Output samples available in variable \"output_samples\"\n" + } + ] + } + }, + "163ac4ecbd4f4770a8b194048478e990": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget003" + } + }, + "18417513f4f949709b2d52d12f2ea87a": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HBoxModel", + "state": { + "children": [ + "IPY_MODEL_7c08e9233a6842a38846f65ffb02bfee", + "IPY_MODEL_430bc4104675407986a2f504f967f110" + ], + "layout": "IPY_MODEL_fb7f05caa0e748868678a37fc40e3825" + } + }, + "1aeef7e31c5d4e05a62e24189daa3aca": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "1bf207a04a92439aa15a38365d525754": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "1c7bdc0999644d11a510245d1bb4ce6e": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "1e53b6f306314467ac24303c0f2f7b1e": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HBoxModel", + "state": { + "children": [ + "IPY_MODEL_68be3426e0234a90b555b9d172c39e6e", + "IPY_MODEL_3426ac125e904b34afa63acd63f82d4d" + ], + "layout": "IPY_MODEL_a0db05293de04685841f7902db543684" + } + }, + "1f52f3263cf4405bb8f368d391d84fc3": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget005" + } + }, + "20d3eb04c0674aaa8f3d782a30a52d4e": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget006", + "height": "auto", + "width": "auto" + } + }, + "23111ca7562d403793a12d263025788d": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget001" + } + }, + "27653e9871eb420ab8a3d0e8f2315f5d": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HTMLModel", + "state": { + "layout": "IPY_MODEL_849305891bae48f682f504e1b756bcbe", + "style": "IPY_MODEL_81baf5cd43f84affb45a303e24aed8ee", + "value": "

AGC Demo

" + } + }, + "2842aa7bb67a4ac79d4e6f133d1eac0b": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "2c3aecab4b974b4fbd5c17425a3acd79": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "2d5caf3325da430eb44d23ce1df3c207": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget003" + } + }, + "2ddf49a82ecc423786a6c852cd8b1e2a": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "2e52d1395b0a4c889ef4da51266edf9e": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget001" + } + }, + "2e76af41f26a43fcb9f844bd5ee25dfc": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Detector gain:", + "layout": "IPY_MODEL_df08ab7656d944ba83ee1f5f5f865e24", + "max": 1.7976931348623157e+308, + "min": 0.01, + "step": null, + "style": "IPY_MODEL_f027dc2cd80e42e1b85eb360058b73e9", + "value": 0.01 + } + }, + "2f37e0fb416e45a1a507fb6e428e67a5": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget005" + } + }, + "2fbcb69189774c1d84e2495a8bf31e80": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "3003570e0e92410ea3fbc4d268794695": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget002" + } + }, + "3125cbc464744954ad612165d3dc3143": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget004" + } + }, + "321e378d8c40464d89fd09426fe48216": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget004" + } + }, + "3426ac125e904b34afa63acd63f82d4d": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Execute", + "layout": "IPY_MODEL_ac17639f540f4ecaa2418d9d62f8339d", + "style": "IPY_MODEL_0e8e624d0dc14ec083be0419680cbc02", + "tooltip": "Execute" + } + }, + "3555ba8df2c544fc884199d55782e2b8": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget006", + "height": "auto", + "width": "auto" + } + }, + "358d1993df694d279f5feca96933e0c0": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "36aa3610c071459fb0076405af106892": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget001" + } + }, + "37b99837d10e4698be18abd07dcbcb96": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HTMLModel", + "state": { + "layout": "IPY_MODEL_c0fdbd565029419ba91831ac5a40f510", + "style": "IPY_MODEL_d7ef23c41b604cfda327821c0c2fe429", + "value": "

AGC Demo

" + } + }, + "389e34cf46da432b9e088c3eef4892ae": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Execute", + "layout": "IPY_MODEL_dbc595e6c073450fbc167a8e9605d9d4", + "style": "IPY_MODEL_682150a34c1c47cdb1cb78b59699dfed", + "tooltip": "Execute" + } + }, + "3948c612d82a4c389e4e76532dca41c0": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "3a6152f6de9d4ebfb69156539e191850": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "3df6bfb9d6b34ab788e52f5da5c5c049": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Reference power:", + "layout": "IPY_MODEL_2e52d1395b0a4c889ef4da51266edf9e", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_0cf9236f95af484c9575d59ae844fbe4", + "value": 1 + } + }, + "3f79a3b4827a4feab63ecbc654f7a5cc": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_49329224a25b4541a4f278bd59e62081", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "41c84113dc474b7a8076139d00362df6": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Max gain (dB):", + "layout": "IPY_MODEL_5c25a8b80e5741409739bbdd417d9ff3", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_60cbdc9aca4e49efb1e5a4fdb6f4b3e6", + "value": 60 + } + }, + "430bc4104675407986a2f504f967f110": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Execute", + "layout": "IPY_MODEL_715cd664783f480cb590ab53c04bf252", + "style": "IPY_MODEL_2c3aecab4b974b4fbd5c17425a3acd79", + "tooltip": "Execute" + } + }, + "44920e7c1f2a4d179a667be00d6d93c7": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "453077237a0f4f80b67a9d7040bb1af9": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "46aa2af4d8e04cee8d7b86cd528f3de5": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Reference power:", + "layout": "IPY_MODEL_d4a572bacf8c4835b0ec8c6957ba919f", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_d33faada81a646fdb1f51e912c038be3", + "value": 1 + } + }, + "47d699f64c79427fa7daaacaa186c99e": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "487fad0a02f24fd29284abc165ee1240": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Reference power:", + "layout": "IPY_MODEL_98fa8ac4c94f4c439cfa81f6a078ec4c", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_10eecea3a96d4cb2991f3bfc916982e2", + "value": 1 + } + }, + "49329224a25b4541a4f278bd59e62081": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "4bf3e105f93b44658442caf535741ead": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget003" + } + }, + "4dc1be42bf514b9ab6e28af31044e470": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "4eb132d18db54fab8ce0583364f158c5": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "4f3eb3e0206245cdb4d71c4578ce3af7": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Max gain (dB):", + "layout": "IPY_MODEL_f43bd8930a4a4b6aaf8c033f6d56d300", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_acb83d4bddb14951ac35c0b20e714a51", + "value": 60 + } + }, + "5112709c800a40029c6991b3f4143227": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "" + } + }, + "52cc661913ad48a68629d0ae5f71c176": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Execute", + "layout": "IPY_MODEL_8c0ff5bc6e0a4b38933b3553d3d82ee8", + "style": "IPY_MODEL_cd2caa5e5b404614a707ae04c34f6184", + "tooltip": "Execute" + } + }, + "54c6cc2b681b4456a0ac42ba7d66aa8a": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "55fe5455146e4543a7ec1bfbc2ac19cc": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "596654bbcdab4eafaf788590de294280": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_template_areas": "\"widget001 widget002 widget003\"\n\"widget004 . .\"\n\"widget005 widget006 widget006\"", + "grid_template_columns": "repeat(3, 1fr)", + "grid_template_rows": "repeat(3, 1fr)" + } + }, + "596e9e34d53743b286cfa78871e256fe": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "layout": "IPY_MODEL_453077237a0f4f80b67a9d7040bb1af9" + } + }, + "5ab101b79f684dbdbd9a21760b032fa7": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "GridBoxModel", + "state": { + "children": [ + "IPY_MODEL_628569f44b6a4acaae9b28b8d8fda258", + "IPY_MODEL_41c84113dc474b7a8076139d00362df6", + "IPY_MODEL_f07ab0dfb6f843dea264ed0cbff93253", + "IPY_MODEL_c4c6268db5d44bd2ac5954fbf522c2c9", + "IPY_MODEL_dee907b624784d7abffb80a810c2b333", + "IPY_MODEL_15abb58823624512a44747aa4d828aad" + ], + "layout": "IPY_MODEL_c8eb972aafcc4fec8ca606643c6fa485" + } + }, + "5ba30ae79be74bae9774d15864c90efe": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget002" + } + }, + "5c25a8b80e5741409739bbdd417d9ff3": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget002" + } + }, + "5c7d3b6a7baf40da9bd9f07f59d88bc0": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "5d29a25d42c140a480d6f4c81da0cbb8": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "5db36cc70b594a5fa3928c8cb261e993": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Reference power:", + "layout": "IPY_MODEL_23111ca7562d403793a12d263025788d", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_f585e5cd5e0748f9af4ab3605b7f1d61", + "value": 1 + } + }, + "5dca7ebef2da4fa785f3c4c5f4694971": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_c6125ca59f4d44e49e1e62d400e020d1", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "5f00e520b5cb426bafcdfec7b8ae1061": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "60afc31b6a324b7587db119f0a1a6c64": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "" + } + }, + "60cbdc9aca4e49efb1e5a4fdb6f4b3e6": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "628569f44b6a4acaae9b28b8d8fda258": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Reference power:", + "layout": "IPY_MODEL_36aa3610c071459fb0076405af106892", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_8021d84fa271492aa7468ab2fadcdb36", + "value": 1 + } + }, + "6292d89831074e12998317b0ab390e64": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget006", + "height": "auto", + "width": "auto" + } + }, + "63d10e38a92d47fba46379c8db614ff4": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "GridBoxModel", + "state": { + "children": [ + "IPY_MODEL_46aa2af4d8e04cee8d7b86cd528f3de5", + "IPY_MODEL_9db02d714ed34a0b92596f2b223419ef", + "IPY_MODEL_bcb3e7d63017412db0794159a627b0bd", + "IPY_MODEL_d5a07038c63549aaaefde89792f57dca", + "IPY_MODEL_d2cabd8e67a244398e069a6de33f0312", + "IPY_MODEL_6a2323b628964060b9209e3fc216ddab" + ], + "layout": "IPY_MODEL_596654bbcdab4eafaf788590de294280" + } + }, + "649819db813f454db1fe523e0e7494e8": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HBoxModel", + "state": { + "children": [ + "IPY_MODEL_a4244554d370434088cc361ca7f35a26", + "IPY_MODEL_389e34cf46da432b9e088c3eef4892ae" + ], + "layout": "IPY_MODEL_0c3b2d14dc524f26885c9efdf8112d4f" + } + }, + "64b83cffce21414180ebb3350ba414ff": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "682150a34c1c47cdb1cb78b59699dfed": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "68be3426e0234a90b555b9d172c39e6e": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Init", + "layout": "IPY_MODEL_2842aa7bb67a4ac79d4e6f133d1eac0b", + "style": "IPY_MODEL_9dfb5a405bc34ed48fc08d854f300674", + "tooltip": "Init" + } + }, + "6a2323b628964060b9209e3fc216ddab": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "TextareaModel", + "state": { + "continuous_update": false, + "description": "Signal (sig=):", + "layout": "IPY_MODEL_a8ab5113c19f4e01971a1c1e8541f9a1", + "style": "IPY_MODEL_d5891f85ff6041c2a5b85f40b63b822f", + "value": "sig = np.cos(2 * np.pi * n / 8)" + } + }, + "6a7848a9528e4bca9d81a83ce8ac7644": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_template_areas": "\"widget001 widget002 widget003\"\n\"widget004 . .\"\n\"widget005 widget006 widget006\"", + "grid_template_columns": "repeat(3, 1fr)", + "grid_template_rows": "repeat(3, 1fr)" + } + }, + "6c5eeb673e574d26a14950703c85449d": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "6d53a9e2b17c44c6bfff8cfa1a64a3b1": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Max gain (dB):", + "layout": "IPY_MODEL_e055caa7b233434c895574e13ccde000", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_6c5eeb673e574d26a14950703c85449d", + "value": 60 + } + }, + "6fb2efa1a65c4efd827a937d6f06ac8e": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "height": "auto" + } + }, + "70199e22b8d644739332c11ab21dbcc6": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_44920e7c1f2a4d179a667be00d6d93c7", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "701fa592f836445c81a3b7b9b0e646cb": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "layout": "IPY_MODEL_888e053e43204506879c8671130f5d4c" + } + }, + "715cd664783f480cb590ab53c04bf252": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "71a0e692bad14a4f9b1225f96b753374": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget002" + } + }, + "71b6d30ec6e54c8c871971575bc50398": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "MPLCanvasModel", + "state": { + "_cursor": "default", + "_figure_label": "Figure 2", + "_height": 480, + "_width": 640, + "layout": "IPY_MODEL_0fcd26e66ecd476494cd25e489f1af7a", + "toolbar": "IPY_MODEL_11afeca95b8a4f8e814809a5e286df58", + "toolbar_position": "left" + } + }, + "73ee3a87c28345aba031f38eec59446f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "VBoxModel", + "state": { + "children": [ + "IPY_MODEL_5ab101b79f684dbdbd9a21760b032fa7", + "IPY_MODEL_649819db813f454db1fe523e0e7494e8" + ], + "layout": "IPY_MODEL_79ee92f698284dbd9615ee0c44f06346" + } + }, + "7464c1ce6f6c46c28e21f41c970f22fd": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "7466481d7be8432cb410034ac4aecc65": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "7641fd6e0c454a0a97a600203719a987": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Averaging length (samples):", + "layout": "IPY_MODEL_321e378d8c40464d89fd09426fe48216", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_55fe5455146e4543a7ec1bfbc2ac19cc", + "value": 100 + } + }, + "77fd61011d4b4cf0a5d0ab9f649c40d0": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_template_areas": "\"widget001 widget002 widget003\"\n\"widget004 . .\"\n\"widget005 widget006 widget006\"", + "grid_template_columns": "repeat(3, 1fr)", + "grid_template_rows": "repeat(3, 1fr)" + } + }, + "79ee92f698284dbd9615ee0c44f06346": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "79f7316824944293b022056c520155ed": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "7a9a098b7774447f834422b048c35474": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_template_areas": "\"widget001 widget002 widget003\"\n\"widget004 . .\"\n\"widget005 widget006 widget006\"", + "grid_template_columns": "repeat(3, 1fr)", + "grid_template_rows": "repeat(3, 1fr)" + } + }, + "7af755e946e34768b200f567ce4381fd": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "GridBoxModel", + "state": { + "children": [ + "IPY_MODEL_487fad0a02f24fd29284abc165ee1240", + "IPY_MODEL_97066a0bbee04ecf894cbd3aa15897e6", + "IPY_MODEL_2e76af41f26a43fcb9f844bd5ee25dfc", + "IPY_MODEL_7641fd6e0c454a0a97a600203719a987", + "IPY_MODEL_a031fb02cb064716a67ee18a28b07801", + "IPY_MODEL_c5d90967cc76448f9bf2b5ae8df10a96" + ], + "layout": "IPY_MODEL_77fd61011d4b4cf0a5d0ab9f649c40d0" + } + }, + "7c08e9233a6842a38846f65ffb02bfee": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Init", + "layout": "IPY_MODEL_cd99b8159335416a99b2a25ecb1867b7", + "style": "IPY_MODEL_5f00e520b5cb426bafcdfec7b8ae1061", + "tooltip": "Init" + } + }, + "8021d84fa271492aa7468ab2fadcdb36": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "81baf5cd43f84affb45a303e24aed8ee": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "" + } + }, + "82ccf7f6efe9416692a29167e2084bfb": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HTMLModel", + "state": { + "layout": "IPY_MODEL_ca7179095659464c87fd655ef75b2f59", + "style": "IPY_MODEL_60afc31b6a324b7587db119f0a1a6c64", + "value": "

AGC Demo

" + } + }, + "82fc10a8ebf44ff891f6dbd41ff10d84": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget006", + "height": "auto", + "width": "auto" + } + }, + "849305891bae48f682f504e1b756bcbe": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "height": "auto" + } + }, + "854ae6381a06438b9cb59376d7f6b11a": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_template_areas": "\"widget001 widget002 widget003\"\n\"widget004 . .\"\n\"widget005 widget006 widget006\"", + "grid_template_columns": "repeat(3, 1fr)", + "grid_template_rows": "repeat(3, 1fr)" + } + }, + "85b20203127e4e30b72cf6bf94a07a1f": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget004" + } + }, + "85c19b3ef1474d9d866ab7e78d9d42c4": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "888e053e43204506879c8671130f5d4c": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "88c13773e0a24042af04e379a416216a": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Number of samples (n=):", + "layout": "IPY_MODEL_d2e829d7d9954c028707b1f62770d245", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_a5de4231c84842a599492ff55ea47363", + "value": 1000 + } + }, + "88d58f3f0a2c4541a78ceafb7ae5bbb1": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "897e720c1e6f49d9bb70afad0da68e9f": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "8c0ff5bc6e0a4b38933b3553d3d82ee8": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "8caa37d460f743a89d9c8c99422c6a23": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "8e6ee72f89f4474286032da1a9aee4f8": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget004" + } + }, + "904f8ce4a5e64d6a9e3203d20b2af439": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "91084c000db04838910bcd7f95b50203": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "GridBoxModel", + "state": { + "children": [ + "IPY_MODEL_5db36cc70b594a5fa3928c8cb261e993", + "IPY_MODEL_a40c0c1cf94a4f88940bc559752d4d46", + "IPY_MODEL_943ebdc779fc424995916167122fabf1", + "IPY_MODEL_f1560344de774531a10e08c28b335dce", + "IPY_MODEL_13668b4f746042498a5fd7596a1559d6", + "IPY_MODEL_bc725026038f4bbabd452e2d38071852" + ], + "layout": "IPY_MODEL_854ae6381a06438b9cb59376d7f6b11a" + } + }, + "932e02981b3244e1a13928c27441a8ce": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "layout": "IPY_MODEL_e36861cda17b41a0a4e515e1d388ba4b" + } + }, + "943ebdc779fc424995916167122fabf1": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Detector gain:", + "layout": "IPY_MODEL_4bf3e105f93b44658442caf535741ead", + "max": 1.7976931348623157e+308, + "min": 0.01, + "step": null, + "style": "IPY_MODEL_ae4218ec447d438fa22e262030a3ef64", + "value": 0.01 + } + }, + "943f2d83487e4f88b899c5cb8c83b7fa": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "TextareaModel", + "state": { + "continuous_update": false, + "description": "Signal (sig=):", + "layout": "IPY_MODEL_20d3eb04c0674aaa8f3d782a30a52d4e", + "style": "IPY_MODEL_0534fd5e00a046e7b6ad2fbe30c2bc5b", + "value": "sig = np.cos(2 * np.pi * n / 8)" + } + }, + "94bdc7cb3eae42c6a66e82a65aeda6c6": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "95bf87e27cf545d092933511127c05fd": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "VBoxModel", + "state": { + "children": [ + "IPY_MODEL_f3668ce9d7a74b5990dafbb825ea15f5", + "IPY_MODEL_1e53b6f306314467ac24303c0f2f7b1e" + ], + "layout": "IPY_MODEL_7466481d7be8432cb410034ac4aecc65" + } + }, + "9612674a8137415f9f673881df4dd1a1": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "97066a0bbee04ecf894cbd3aa15897e6": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Max gain (dB):", + "layout": "IPY_MODEL_5ba30ae79be74bae9774d15864c90efe", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_85c19b3ef1474d9d866ab7e78d9d42c4", + "value": 60 + } + }, + "97b13ae46c9f4fa9a399e8149eff82f5": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget004" + } + }, + "98fa8ac4c94f4c439cfa81f6a078ec4c": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget001" + } + }, + "9a57f8cc108244479db82dcea518fa78": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_904f8ce4a5e64d6a9e3203d20b2af439", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "9d22318098274cf9b341cebf4d8d2a23": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "layout": "IPY_MODEL_897e720c1e6f49d9bb70afad0da68e9f" + } + }, + "9db02d714ed34a0b92596f2b223419ef": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Max gain (dB):", + "layout": "IPY_MODEL_71a0e692bad14a4f9b1225f96b753374", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_f031e4c5da4b4ec2aa02600e9b64caeb", + "value": 60 + } + }, + "9dbf40ac0bf24d8c8e9d1c67db82c48a": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "9dfb5a405bc34ed48fc08d854f300674": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "9ed4218a4cfc4088a60c5118b1221328": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Init", + "layout": "IPY_MODEL_4dc1be42bf514b9ab6e28af31044e470", + "style": "IPY_MODEL_e03f75331e674f36ba8f8069822b6b99", + "tooltip": "Init" + } + }, + "a031fb02cb064716a67ee18a28b07801": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Number of samples (n=):", + "layout": "IPY_MODEL_b573612b7efa4daaa5b554da8e8763e2", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_4eb132d18db54fab8ce0583364f158c5", + "value": 1000 + } + }, + "a0db05293de04685841f7902db543684": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "a40c0c1cf94a4f88940bc559752d4d46": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Max gain (dB):", + "layout": "IPY_MODEL_3003570e0e92410ea3fbc4d268794695", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_c198032865fc449f8d83f3ba7fc7ebdb", + "value": 60 + } + }, + "a4244554d370434088cc361ca7f35a26": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Init", + "layout": "IPY_MODEL_2fbcb69189774c1d84e2495a8bf31e80", + "style": "IPY_MODEL_0166018bbe9f483da6db7a42ab6b8662", + "tooltip": "Init" + } + }, + "a4616d815b9c4d06a67190c8c21a2603": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "" + } + }, + "a4ee2b78fa5e45978fbb3e5f3ea61811": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "a5de4231c84842a599492ff55ea47363": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "a8ab5113c19f4e01971a1c1e8541f9a1": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget006", + "height": "auto", + "width": "auto" + } + }, + "ac17639f540f4ecaa2418d9d62f8339d": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "ac789740ed88404b93eaf75b6cd1485e": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget005" + } + }, + "acb83d4bddb14951ac35c0b20e714a51": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "ae4218ec447d438fa22e262030a3ef64": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "b0ab00a3a5794192a94df1cc21eef79c": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HBoxModel", + "state": { + "children": [ + "IPY_MODEL_9ed4218a4cfc4088a60c5118b1221328", + "IPY_MODEL_e384ce38c44a433e941fecea38cd4f4e" + ], + "layout": "IPY_MODEL_54c6cc2b681b4456a0ac42ba7d66aa8a" + } + }, + "b22bb0ae34bc4a739ce1e842932bde6b": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "b573612b7efa4daaa5b554da8e8763e2": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget005" + } + }, + "b5be181b6edf48f69bfef6cbdd43abc7": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget006", + "height": "auto", + "width": "auto" + } + }, + "b6053f71df57472d9e161bc3fdd97e4b": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "TextareaModel", + "state": { + "continuous_update": false, + "description": "Signal (sig=):", + "layout": "IPY_MODEL_6292d89831074e12998317b0ab390e64", + "style": "IPY_MODEL_a4ee2b78fa5e45978fbb3e5f3ea61811", + "value": "sig = np.cos(2 * np.pi * n / 8)" + } + }, + "b6b08a61765540d49ba079e2cc3e817f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "b80555fb654c4f588b5ceae2c18d8a9f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Init", + "layout": "IPY_MODEL_358d1993df694d279f5feca96933e0c0", + "style": "IPY_MODEL_1bf207a04a92439aa15a38365d525754", + "tooltip": "Init" + } + }, + "b837d90b03f044fb9e90ced841751eba": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget003" + } + }, + "b86e8bb04adb48608b1f11d1615be868": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "" + } + }, + "b8bc6b4f33a44cccb6c53dc589828877": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "MPLCanvasModel", + "state": { + "_cursor": "default", + "_figure_label": "Figure 3", + "_height": 480, + "_width": 640, + "layout": "IPY_MODEL_fdd3d40d0ee045b1b8a34dbd3ac119a5", + "toolbar": "IPY_MODEL_3f79a3b4827a4feab63ecbc654f7a5cc", + "toolbar_position": "left" + } + }, + "b8c0551ab2704681961994b5dbf592ba": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "height": "auto" + } + }, + "b98ae80f94574c91b7fb55ffbbdde32b": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "b9fdfa517fa440969e9a3f0318ff67f9": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget005" + } + }, + "bc11cced78644e2195710988b86d62ed": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_fe364a39a0bb4e87b2307b33d18afc47", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "bc3d9717a8484a5d91d88e2d6a1cad73": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "bc725026038f4bbabd452e2d38071852": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "TextareaModel", + "state": { + "continuous_update": false, + "description": "Signal (sig=):", + "layout": "IPY_MODEL_3555ba8df2c544fc884199d55782e2b8", + "style": "IPY_MODEL_3a6152f6de9d4ebfb69156539e191850", + "value": "sig = np.cos(2 * np.pi * n / 8)" + } + }, + "bcb3e7d63017412db0794159a627b0bd": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Detector gain:", + "layout": "IPY_MODEL_2d5caf3325da430eb44d23ce1df3c207", + "max": 1.7976931348623157e+308, + "min": 0.01, + "step": null, + "style": "IPY_MODEL_1aeef7e31c5d4e05a62e24189daa3aca", + "value": 0.01 + } + }, + "c0bae02fef4b44aa816100b313798c9d": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "VBoxModel", + "state": { + "children": [ + "IPY_MODEL_f85af19bd81641188549c6a9189ceb7e", + "IPY_MODEL_06766b2cf2cd40d7b81b2f085f4c9e4f" + ], + "layout": "IPY_MODEL_8caa37d460f743a89d9c8c99422c6a23" + } + }, + "c0ebf75b3bb941e1903032f0f29a3c91": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "c0fdbd565029419ba91831ac5a40f510": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "height": "auto" + } + }, + "c198032865fc449f8d83f3ba7fc7ebdb": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "c30759df94a94640bd756e0d78093ad4": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "c4c6268db5d44bd2ac5954fbf522c2c9": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Averaging length (samples):", + "layout": "IPY_MODEL_3125cbc464744954ad612165d3dc3143", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_c30759df94a94640bd756e0d78093ad4", + "value": 100 + } + }, + "c589d3a6128f4a91bb020790f0377f39": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "layout": "IPY_MODEL_bc3d9717a8484a5d91d88e2d6a1cad73" + } + }, + "c5d90967cc76448f9bf2b5ae8df10a96": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "TextareaModel", + "state": { + "continuous_update": false, + "description": "Signal (sig=):", + "layout": "IPY_MODEL_b5be181b6edf48f69bfef6cbdd43abc7", + "style": "IPY_MODEL_d480ca94773b4fac8f52a14de6233522", + "value": "sig = np.cos(2 * np.pi * n / 8)" + } + }, + "c6125ca59f4d44e49e1e62d400e020d1": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "c8eb972aafcc4fec8ca606643c6fa485": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_template_areas": "\"widget001 widget002 widget003\"\n\"widget004 . .\"\n\"widget005 widget006 widget006\"", + "grid_template_columns": "repeat(3, 1fr)", + "grid_template_rows": "repeat(3, 1fr)" + } + }, + "ca7179095659464c87fd655ef75b2f59": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "height": "auto" + } + }, + "ca77e7587d33429ba0e1d4888bad1168": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "cc1279b0188f4b09bbd14eee26134b32": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Detector gain:", + "layout": "IPY_MODEL_b837d90b03f044fb9e90ced841751eba", + "max": 1.7976931348623157e+308, + "min": 0.01, + "step": null, + "style": "IPY_MODEL_f35d85aa58a94c09a4f4b344da57f4af", + "value": 0.01 + } + }, + "ccf02669d2a6486b9da574f8d994b62f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "VBoxModel", + "state": { + "children": [ + "IPY_MODEL_7af755e946e34768b200f567ce4381fd", + "IPY_MODEL_18417513f4f949709b2d52d12f2ea87a" + ], + "layout": "IPY_MODEL_c0ebf75b3bb941e1903032f0f29a3c91" + } + }, + "cd2caa5e5b404614a707ae04c34f6184": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "cd954ed3ab4a4a879baf2fc03b7e1bce": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "cd99b8159335416a99b2a25ecb1867b7": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "cfe5c63394524a878d0d481d3cee8f12": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HTMLModel", + "state": { + "layout": "IPY_MODEL_061e1c49e024479880f8566ceac7701d", + "style": "IPY_MODEL_a4616d815b9c4d06a67190c8c21a2603", + "value": "

AGC Demo

" + } + }, + "d0507205fc1a4231b641a7e06ce9bf23": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Reference power:", + "layout": "IPY_MODEL_dca1c71739214eecb8115d8a734ea1d0", + "max": 1.7976931348623157e+308, + "step": null, + "style": "IPY_MODEL_f054cdde4bc84bc4bbc1d4b2aa273dd5", + "value": 1 + } + }, + "d2cabd8e67a244398e069a6de33f0312": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Number of samples (n=):", + "layout": "IPY_MODEL_ac789740ed88404b93eaf75b6cd1485e", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_f70290a101b1482496c9e5d7cf2b0974", + "value": 1000 + } + }, + "d2e829d7d9954c028707b1f62770d245": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget005" + } + }, + "d33faada81a646fdb1f51e912c038be3": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "d3a5c0404a5940d683388e1c29263c52": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "d45931a59de94fcd8105552e5b5f12b0": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "d480ca94773b4fac8f52a14de6233522": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "d4a572bacf8c4835b0ec8c6957ba919f": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget001" + } + }, + "d5891f85ff6041c2a5b85f40b63b822f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "d5a07038c63549aaaefde89792f57dca": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Averaging length (samples):", + "layout": "IPY_MODEL_105c868746954582bef5ccaa0ab83c3e", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_47d699f64c79427fa7daaacaa186c99e", + "value": 100 + } + }, + "d66e1ee05d5b416dbc51075aeb1f2b08": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "d7ef23c41b604cfda327821c0c2fe429": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "" + } + }, + "dbc595e6c073450fbc167a8e9605d9d4": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "dca1c71739214eecb8115d8a734ea1d0": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget001" + } + }, + "dd28c2d0c5d04c58b9a243cc9bbe303d": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "dd820a6f746d42199a3b732e09516eff": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HTMLModel", + "state": { + "layout": "IPY_MODEL_6fb2efa1a65c4efd827a937d6f06ac8e", + "style": "IPY_MODEL_b86e8bb04adb48608b1f11d1615be868", + "value": "

AGC Demo

" + } + }, + "de0cc1bb91ce4f76b3313fa86ce3ffab": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "de80a79594154f428b891d7152714499": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "dee907b624784d7abffb80a810c2b333": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Number of samples (n=):", + "layout": "IPY_MODEL_1f52f3263cf4405bb8f368d391d84fc3", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_ff333c9b6f23408d9309fccf8dc317a2", + "value": 1000 + } + }, + "df08ab7656d944ba83ee1f5f5f865e24": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget003" + } + }, + "e03f75331e674f36ba8f8069822b6b99": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonStyleModel", + "state": {} + }, + "e055caa7b233434c895574e13ccde000": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget002" + } + }, + "e36861cda17b41a0a4e515e1d388ba4b": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "e384ce38c44a433e941fecea38cd4f4e": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Execute", + "layout": "IPY_MODEL_d45931a59de94fcd8105552e5b5f12b0", + "style": "IPY_MODEL_94bdc7cb3eae42c6a66e82a65aeda6c6", + "tooltip": "Execute" + } + }, + "e55e1478723343b58d83e34730526973": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget003" + } + }, + "e97fad8dbfb3445da9fe54368345e40a": { + "model_module": "jupyter-matplotlib", + "model_module_version": "^0.7.2", + "model_name": "ToolbarModel", + "state": { + "layout": "IPY_MODEL_79f7316824944293b022056c520155ed", + "toolitems": [ + [ + "Home", + "Reset original view", + "home", + "home" + ], + [ + "Back", + "Back to previous view", + "arrow-left", + "back" + ], + [ + "Forward", + "Forward to next view", + "arrow-right", + "forward" + ], + [ + "Pan", + "Pan axes with left mouse, zoom with right", + "arrows", + "pan" + ], + [ + "Zoom", + "Zoom to rectangle", + "square-o", + "zoom" + ], + [ + "Download", + "Download plot", + "floppy-o", + "save_figure" + ] + ] + } + }, + "ed1d7f328e814e4c8223fb0ca5a05e59": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "ee01beb4f31c4eb9a69ea409c1eaa4a5": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Averaging length (samples):", + "layout": "IPY_MODEL_97b13ae46c9f4fa9a399e8149eff82f5", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_b22bb0ae34bc4a739ce1e842932bde6b", + "value": 100 + } + }, + "f027dc2cd80e42e1b85eb360058b73e9": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "f031e4c5da4b4ec2aa02600e9b64caeb": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "f054cdde4bc84bc4bbc1d4b2aa273dd5": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "f07ab0dfb6f843dea264ed0cbff93253": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Detector gain:", + "layout": "IPY_MODEL_163ac4ecbd4f4770a8b194048478e990", + "max": 1.7976931348623157e+308, + "min": 0.01, + "step": null, + "style": "IPY_MODEL_1c7bdc0999644d11a510245d1bb4ce6e", + "value": 0.01 + } + }, + "f1560344de774531a10e08c28b335dce": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Averaging length (samples):", + "layout": "IPY_MODEL_85b20203127e4e30b72cf6bf94a07a1f", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_5c7d3b6a7baf40da9bd9f07f59d88bc0", + "value": 100 + } + }, + "f24b3c805c2947fe9a1abaffe935928f": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedFloatTextModel", + "state": { + "description": "Detector gain:", + "layout": "IPY_MODEL_e55e1478723343b58d83e34730526973", + "max": 1.7976931348623157e+308, + "min": 0.01, + "step": null, + "style": "IPY_MODEL_b98ae80f94574c91b7fb55ffbbdde32b", + "value": 0.01 + } + }, + "f35d85aa58a94c09a4f4b344da57f4af": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "f3668ce9d7a74b5990dafbb825ea15f5": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "GridBoxModel", + "state": { + "children": [ + "IPY_MODEL_d0507205fc1a4231b641a7e06ce9bf23", + "IPY_MODEL_6d53a9e2b17c44c6bfff8cfa1a64a3b1", + "IPY_MODEL_f24b3c805c2947fe9a1abaffe935928f", + "IPY_MODEL_0a3ed0041d3c4456ab55aff330c710f2", + "IPY_MODEL_88c13773e0a24042af04e379a416216a", + "IPY_MODEL_b6053f71df57472d9e161bc3fdd97e4b" + ], + "layout": "IPY_MODEL_7a9a098b7774447f834422b048c35474" + } + }, + "f43bd8930a4a4b6aaf8c033f6d56d300": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": { + "grid_area": "widget002" + } + }, + "f585e5cd5e0748f9af4ab3605b7f1d61": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "f5af39faf4884ae1ace351b22b533fdb": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "ButtonModel", + "state": { + "description": "Execute", + "layout": "IPY_MODEL_d3a5c0404a5940d683388e1c29263c52", + "style": "IPY_MODEL_d66e1ee05d5b416dbc51075aeb1f2b08", + "tooltip": "Execute" + } + }, + "f69950cd0840422fb3bed4b9b482a0e8": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "BoundedIntTextModel", + "state": { + "description": "Number of samples (n=):", + "layout": "IPY_MODEL_2f37e0fb416e45a1a507fb6e428e67a5", + "max": 9223372036854776000, + "min": 1, + "style": "IPY_MODEL_b6b08a61765540d49ba079e2cc3e817f", + "value": 1000 + } + }, + "f70290a101b1482496c9e5d7cf2b0974": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + }, + "f757f781472647029f15f3a5f1a25748": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "VBoxModel", + "state": { + "children": [ + "IPY_MODEL_63d10e38a92d47fba46379c8db614ff4", + "IPY_MODEL_0785f8c23cf343f0b4d11e285743717f" + ], + "layout": "IPY_MODEL_dd28c2d0c5d04c58b9a243cc9bbe303d" + } + }, + "f85af19bd81641188549c6a9189ceb7e": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "GridBoxModel", + "state": { + "children": [ + "IPY_MODEL_3df6bfb9d6b34ab788e52f5da5c5c049", + "IPY_MODEL_4f3eb3e0206245cdb4d71c4578ce3af7", + "IPY_MODEL_cc1279b0188f4b09bbd14eee26134b32", + "IPY_MODEL_ee01beb4f31c4eb9a69ea409c1eaa4a5", + "IPY_MODEL_f69950cd0840422fb3bed4b9b482a0e8", + "IPY_MODEL_943f2d83487e4f88b899c5cb8c83b7fa" + ], + "layout": "IPY_MODEL_6a7848a9528e4bca9d81a83ce8ac7644" + } + }, + "f8aabc6f925c4795ba23578bdf025f6d": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "HTMLModel", + "state": { + "layout": "IPY_MODEL_b8c0551ab2704681961994b5dbf592ba", + "style": "IPY_MODEL_5112709c800a40029c6991b3f4143227", + "value": "

AGC Demo

" + } + }, + "fa96555e6e4542249e0839d04f104832": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "VBoxModel", + "state": { + "children": [ + "IPY_MODEL_91084c000db04838910bcd7f95b50203", + "IPY_MODEL_b0ab00a3a5794192a94df1cc21eef79c", + "IPY_MODEL_15f54da973344142bac988af0e9e4c8a" + ], + "layout": "IPY_MODEL_fb6d25d44d1e4aee93ef66acec42c6b5" + } + }, + "fb6d25d44d1e4aee93ef66acec42c6b5": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "fb7f05caa0e748868678a37fc40e3825": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "fdd3d40d0ee045b1b8a34dbd3ac119a5": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "fe364a39a0bb4e87b2307b33d18afc47": { + "model_module": "@jupyter-widgets/base", + "model_module_version": "1.2.0", + "model_name": "LayoutModel", + "state": {} + }, + "ff333c9b6f23408d9309fccf8dc317a2": { + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "model_name": "DescriptionStyleModel", + "state": { + "description_width": "initial" + } + } + }, + "version_major": 2, + "version_minor": 0 + } + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/demo_coarse_freq_comp.ipynb b/demo/demo_coarse_freq_comp.ipynb new file mode 100644 index 0000000..96fdb11 --- /dev/null +++ b/demo/demo_coarse_freq_comp.ipynb @@ -0,0 +1,123 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
CFC Introductory Demo
\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Modulation**, **Sample rate** and **Frequency resolution** fields, translate directly to the equivalent module properties.\n", + "\n", + "The **Number of samples** field is the length of the input signal. it populates a variable *n* that can be used in the **Signal** field. Any valid Python expression can be used for the input signal (defined by the *sig* variable). An additional cell has been provided with experimental signals that can be pasted into the Signal field. Note that the module uses a ring buffer of size $N$ to store the input samples. To avoid mixing unrelated input signals, a new instance should be initialized (which flushes the buffer) whenever a new input signal is chosen.\n", + "\n", + "The output shows plots of the (uncorrected) input and (corrected) output signals. It also reports the detected offset.\n", + "\n", + "A new instance should be created (using the **Init** button), whenever new parameters (or a new unrelated input signal) are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "cfc = None\n", + "\n", + "def init(b):\n", + " global cfc, disp\n", + " mod = modulation_widget.value\n", + " sample_rate = sample_rate_widget.value\n", + " freq_res = freq_res_widget.value\n", + " cfc = sksdr.CoarseFrequencyComp(mod.order, sample_rate, freq_res)\n", + " with disp:\n", + " print('Initiated CFC with ' + repr(cfc))\n", + "\n", + "def execute(b):\n", + " global cfc, disp\n", + " n = np.arange(num_samples_widget.value)\n", + " _locals = {'n': n}\n", + " exec(signal_widget.value, None, _locals)\n", + " sig = _locals['sig']\n", + " with disp:\n", + " fig = plt.figure(figsize=(15,10))\n", + " gs = gridspec.GridSpec(2, 2, figure=fig)\n", + " sksdr.psd_plot(sig, cfc.sample_rate, 'Input Signal', fig=fig, gs=gs[0, 0])\n", + " out, _, offset = cfc(sig)\n", + " sksdr.psd_plot(out, cfc.sample_rate, 'Output Signal', fig=fig, gs=gs[0, 1])\n", + " plt.show()\n", + " print('Offset: ' + str(offset) + ' ' + 'Hz')\n", + "\n", + "style = dict(utils.description_width_style)\n", + "settings_grid = widgets.GridspecLayout(2, 3)\n", + "settings_grid[0, 0] = modulation_widget = widgets.Dropdown(description='Modulation:', options=[('BPSK', sksdr.BPSK), ('QPSK', sksdr.QPSK)], value=sksdr.QPSK, continuous_update=False, style=style )\n", + "settings_grid[0, 1] = sample_rate_widget = widgets.BoundedFloatText(description='Sample rate (Hz):', value=1.0, min=0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[0, 2] = freq_res_widget = widgets.BoundedFloatText(description='Frequency resolution (Hz): ', value=0.000125, min=0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[1, 0] = num_samples_widget = widgets.BoundedIntText(description='Number of samples (n=):', value=100, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[1, 1:] = signal_widget = widgets.Textarea(description='Signal (sig=):', value='sig = np.exp(2j * np.pi / 12 * n)', continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# To test these examples, paste the code into the Signal field\n", + "\n", + "# Simple complex exponencial with 12 samples per cyle\n", + "#sig = np.exp(2j * np.pi / 12 * n)\n", + "\n", + "# 100 bits modulated with QPSK, upsampled by 4 and passed through a PhaseFrequencyOffset impairment. Sample_rate=100e3, freq_error=5e3\n", + "bits = np.random.randint(0, 2, 100)\n", + "psk = sksdr.PSKModulator(sksdr.QPSK, [0,1,3,2], 1, np.pi/4)\n", + "symbols = psk.modulate(bits)\n", + "fir = sksdr.FirInterpolator(4, sksdr.rrc(4, 0.5, 10))\n", + "_, frame = fir(symbols)\n", + "pfo = sksdr.PhaseFrequencyOffset(100e3, 5000, 0) \n", + "sig, _ = pfo(frame)" + ] + } + ], + "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.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/demo_freq_sync.ipynb b/demo/demo_freq_sync.ipynb new file mode 100644 index 0000000..fb1a860 --- /dev/null +++ b/demo/demo_freq_sync.ipynb @@ -0,0 +1,216 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
Carrier Frequency Synchronization Introductory Demo
\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Modulation**, **Samples per symbol** and **Damping factor** and **Normalized loop bandwidth** fields, translate directly to the equivalent module properties.\n", + "\n", + "The **Number of samples** field is the length of the input signal. it populates a variable *n* that can be used in the **Signal** field. Any valid Python expression can be used for the input signal (defined by the *sig* variable). An additional cell has been provided with experimental signals that can be pasted into the Signal field.\n", + "\n", + "The output shows plots of the (uncorrected) input and (corrected) output signals. It will also report the detected offset.\n", + "\n", + "A new instance should be created (using the **Init** button), whenever new parameters (or a new unrelated input signal) are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "fsync = None\n", + "output_samples = None\n", + "\n", + "def init(b):\n", + " global fsync, disp\n", + " mod = modulation_widget.value\n", + " sps = sps_widget.value\n", + " damp_factor = damp_factor_widget.value\n", + " norm_loop_bw = norm_loop_bw_widget.value\n", + " fsync = sksdr.FrequencySync(mod, sps, damp_factor, norm_loop_bw)\n", + " with disp:\n", + " print('Initiated with ' + repr(fsync))\n", + "\n", + "def execute(b):\n", + " global fsync, output_samples, disp\n", + " n = np.arange(num_samples_widget.value)\n", + " _locals = {'n': n}\n", + " exec(signal_widget.value, None, _locals)\n", + " sig = _locals['sig']\n", + " fig = plt.figure(figsize=(15,10))\n", + " gs = gridspec.GridSpec(2, 2, figure=fig)\n", + " with disp:\n", + " sksdr.time_plot([sig], [''], [1], 'Input Signal', fig=fig, gs=gs[0, 0])\n", + " out, phase = fsync(sig)\n", + " sksdr.time_plot([out], [''], [1], 'Output Signal', fig=fig, gs=gs[0, 1])\n", + " sksdr.time_plot([phase], [''], [1], 'Phase Estimate', fig=fig, gs=gs[1, 0])\n", + " plt.show()\n", + " output_samples = out\n", + " print('Output samples available in variable \"output_samples\"')\n", + "\n", + "style = dict(utils.description_width_style)\n", + "settings_grid = widgets.GridspecLayout(3, 3)\n", + "settings_grid[0, 0] = modulation_widget = widgets.Dropdown(description='Modulation:', options=[('BPSK', sksdr.BPSK), ('QPSK', sksdr.QPSK)], value=sksdr.QPSK, continuous_update=False, style=style)\n", + "settings_grid[0, 1] = sps_widget = widgets.BoundedIntText(description='Samples per symbol:', value=4, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[0, 2] = damp_factor_widget = widgets.BoundedFloatText(description='Damping factor:', value=1.0, min=0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[1, 0] = norm_loop_bw_widget = widgets.BoundedFloatText(description='Normalized loop bandwidth (Hz): ', value=0.01, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[2, 0] = num_samples_widget = widgets.BoundedIntText(description='Number of samples (n):', value=200, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[2, 1:] = signal_widget = widgets.Textarea(description='Signal (sig):', value='sig = np.exp(1j * 2 * np.pi * n / 12)', continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# QPSK signal with phase/frequency impairment and AWGN channel\n", + "This demo passes a QPSK modulated signal through a block that introduces phase and frequency offsets, and then through an AWGN channel. The received signal will initially appear in a circle. A frequency synchronizer corrects the received signal and it will become grouped around the constellation points." + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "DEBUG:sksdr.freq_sync:FSYNC init: phase_recovery_loop_bw=0.010000, phase_recovery_gain=1.000000, theta=0.009428, d=1.013422, p_gain=0.013157, i_gain=0.000175\n" + ] + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAwMAAAJcCAYAAACljXi1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0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JDknHNrnHO/qmKf/v/Q6wEBAAAMMoIBDKp/lJSWJDN7vZn9nZkdNLO/N7OVPR4bAADAQCAYwMAxs7ikX5e0u/TQvZL+wDl3taQ/lPSXvRobAADAIOEEYgyMipqBtKQfStogKSnppKTjFZcucM69ofsjBAAAGCwEAxgYZnbGObfEzBZJ2iPpfkl/Lem4c+7Sng4OAABgAJEmhIHjnJuW9FFJd0ialvSUmd0kSVZ0VS/HBwAAMCgIBjCQnHNTkv5J0nslvU/Sh8zssKSjkm7o5dgAAAAGBWlCAAAAwIhiZwAAAAAYUQQDAAAAwIgiGAAAAABGFMEAAAAAMKIIBgAAAIARRTAAAAAAjCiCAQAAAGBE/X+8WDQf2p4U0wAAAABJRU5ErkJggg==\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "%matplotlib inline\n", + "\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "\n", + "# Create a phase and frequency offset object, where the frequency offset is 1% of the sample rate.\n", + "pfo = sksdr.PhaseFrequencyOffset(freq_offset=1e4, phase_offset=45, sample_rate=1e6)\n", + "\n", + "# Create a carrier synchronizer object.\n", + "fsync = sksdr.FrequencySync(sps=1, mod=sksdr.QPSK, damp_factor=1/np.sqrt(2), norm_loop_bw=0.01)\n", + "\n", + "# Generate random data symbols and apply QPSK modulation.\n", + "ints = np.random.randint(0, 4, 10000)\n", + "bits = sksdr.x2binlist(ints, 2)\n", + "psk = sksdr.PSKModulator(sksdr.QPSK, [0, 1, 3, 2], 1.0, np.pi/4)\n", + "mod_sig = psk.modulate(bits);\n", + "\n", + "# Apply phase and frequency offsets. Then, pass the offset signal through an AWGN channel.\n", + "mod_sig_off, _ = pfo(mod_sig)\n", + "awgn = sksdr.AWGNChannel(snr=12)\n", + "rx_sig = awgn(mod_sig_off);\n", + "\n", + "# Correct for the phase and frequency offset\n", + "sync_sig, _ = fsync(rx_sig)\n", + "\n", + "# Setup figure\n", + "fig = plt.figure(figsize=(15,10))\n", + "gs = gridspec.GridSpec(2, 2, figure=fig)\n", + "\n", + "# Display the scatter plot of the received signal. The data appear in a circle instead of being grouped around the reference constellation points due to the frequency offset.\n", + "f = sksdr.scatter_plot(rx_sig, 'Received Signal', fig=fig, gs=gs[0, 0])\n", + "\n", + "# Display the first 1000 symbols of corrected signal. The synchronizer has not yet converged so the data is not grouped around the reference constellation points.\n", + "f = sksdr.scatter_plot(sync_sig[:1000], 'First 1000 symbols (Uncorrected Signal)', fig=fig, gs=gs[0, 1])\n", + "\n", + "# Display the last 1000 symbols of the corrected signal. The data is now aligned with the reference constellation.\n", + "f = sksdr.scatter_plot(sync_sig[9000:], 'Last 1000 symbols (Corrected Signal)', fig=fig, gs=gs[1, 0])\n" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "[]" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAD4CAYAAADhNOGaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+j8jraAAAgAElEQVR4nOy9eZhtV1kn/HvXHs45VTfDzUBC5svUEFGDJEFAgdYgYCu0TbeALYMNovjxKX7q92Db7YCtIoogLXSLCtpgy+QAjZE5zIkmQCAMCQmBkJuQ5Ga6ubeqztl7Df3HGvZaa6+9z66qc6vuJed9nnqq6px99l5n7bXX+/5+70RKKSxlKUtZylLuv8J2ewBLWcpSlrKU3ZWlIljKUpaylPu5LBXBUpaylKXcz2WpCJaylKUs5X4uS0WwlKUsZSn3c8l3ewBbkVNOOUWdd955uz2MpSxlKUs5puQzn/nMnUqpU+PXj0lFcN555+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py1+C7nu2edzV1xD65Te5z0qPVbeHTZ3DRtH8Pmtj3vf/Z+H40R4H6cjIgfI+ISDmLnwDGtOBGxGBGft/0/1BvDBjXXve20vXhqmAhnQyllDo9jdxsXbMOhdkqPOd+Mh7Q+HhFxKSIu6FxrtbPijaWUVViDRR1qHREf4bdl09O03Ym3o/Kx2v3x9iu91piMYANOT4wX2ly3lFI2YguOY31ELLZDZ7F+oLBmxet4EX+18W240Boj0afem3Aeb7aS2O5Sylodax0RZ/AqflEN4CJO6F/rJaZpe1X3tzEZwagopdyEd/FCRPw+eay1Ce1m3XAp5Qmci4gTQ8dyjVmF+/BGRGzBn5aVgTrUep3663cT7sBa/yyfjIKV1HZMRnAGd06M59pcd5RSrldNYH9EHG7Tvy49KrbPc0PFNwMewJOllJ/Vkt82tXZ+Sysf0KfeC1iIiONtfEg1hp613o6fIuJ8RFzGYVX/3rVeYpq2V3V/G5MRfIrNbXXBDeoLpvmBY1pxWm18D76NiNcmDs1jV9vfhfevdWyzIiJeioi5iNio6no0Ip7BMTzdTusqZ4iIszhdSrm7TT2Cb3SstVoS2lpKWdO+60s5d631BNO0ncezbfXQVlycKCH9NxExmg078D1O4eWh45lRjg+qj4tf4ou27VBr5h/iBxzBrUPHOqP8H8YHbf8ufIKTeAerh45vBvnei8+a3u9hXe9a4xV8h6+xD6t71BoH1Pcgl9Wnv+emaYuiroo8ha/UVVVXfK38i4kkSZKRM6bSUJIkSfIvpBEkSZKMnDSCJEmSkZNGkCRJMnLSCJIkSUZOGkGSJMnISSNIkiQZOX8DbAywO0aYdZ8AAAAASUVORK5CYII=\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "plt.plot(mod_sig.real[:100])\n", + "plt.plot(mod_sig_off.real[:100])" + ] + } + ], + "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.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/demo_interp_decim.ipynb b/demo/demo_interp_decim.ipynb new file mode 100644 index 0000000..c80f1ce --- /dev/null +++ b/demo/demo_interp_decim.ipynb @@ -0,0 +1,103 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
Interpolation Introductory Demo
\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Upsampling factor** and **Filter** fields, translate directly to the equivalent module properties. The input signal is a list of complex symbols. Any valid Python expression can be used for it, in the **Signal** field (defined by the *sig* variable).\n", + "\n", + "The output shows the real and imaginary parts of the upsampled and filtered output signals. Note that the depending on the causality of the chosen filter, there could be a delay on the filtered signal. For example, for a typical (symmetrical around 0) Raised Cosine filter there is a $\\frac{N-1}{2}$ samples of delay, where $N$ is the number of coefficients of the filter. For the same reason, only the first $S-\\frac{N-1}{2m}$ symbols will be processed, where $S$ is the number of symbols in the input signal and $m$ the decimation/interpolation factor. Another detail to keep in mind is that the first $\\frac{N-1}{m}$ output symbols will have lower power due to the zero initial conditions of the filter.
\n", + "Finally, the output also shows the magnitude and phase responses of the filter.\n", + "\n", + "The **Init** button should be pressed, whenever new parameters (or a new unrelated input signal) are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "interpolator = None\n", + "output_samples = None\n", + "\n", + "def init(b):\n", + " global interpolator, disp\n", + " factor = factor_widget.value\n", + " _locals = {}\n", + " exec(filter_widget.value, None, _locals)\n", + " coeffs = _locals['coeffs']\n", + " interpolator = sksdr.FirInterpolator(factor, coeffs)\n", + " with disp:\n", + " print('Initiated with ' + repr(interpolator))\n", + "\n", + "def execute(b):\n", + " global interpolator, output_samples, disp\n", + " _locals = {}\n", + " exec(signal_widget.value, None, _locals)\n", + " sig = _locals['sig']\n", + " upsampled, out = interpolator(sig)\n", + " fig = plt.figure(figsize=(15,10))\n", + " gs = gridspec.GridSpec(2, 2, figure=fig)\n", + " with disp:\n", + " sksdr.time_plot([upsampled.real, out.real], ['Upsampled (Re)', 'Output (Re)'], [1, 1], 'Upsampling & Filter Output (Re)', fig=fig, gs=gs[0, 0])\n", + " sksdr.time_plot([upsampled.imag, out.imag], ['Upsampled (Im)', 'Output (Im)'], [1, 1], 'Upsampling & Filter Output (Im)', fig=fig, gs=gs[0, 1])\n", + " sksdr.freqz_plot(interpolator.coeffs, 1, 1, 'mag_db', 'Filter Frequency Response (Mag)', '|H|', fig=fig, gs=gs[1, 0])\n", + " sksdr.freqz_plot(interpolator.coeffs, 1, 1, 'angle', 'Filter Frequency Response (Phase)', r'$\\angle{H}$', fig=fig, gs=gs[1, 1])\n", + " plt.show()\n", + " output_samples = out\n", + " print('Output samples available in variable \"output_samples\"')\n", + "\n", + "style = dict(utils.description_width_style)\n", + "settings_grid = widgets.GridspecLayout(2, 3)\n", + "settings_grid[0, 0] = factor_widget = widgets.BoundedIntText(description='Upsampling factor: ', value=4, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[0, 1:] = filter_widget = widgets.Textarea(description='Filter (coeffs=):', value='coeffs = sksdr.rrc(sps=4, rolloff=0.5, span=10)', continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "settings_grid[1, :] = signal_widget = widgets.Textarea(description='Signal (sig=):', value='sig = np.tile(np.exp(1j * (2 * np.pi / 4 * np.arange(0,4) + np.pi / 4)), 4)', continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + } + ], + "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.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/demo_modulation.ipynb b/demo/demo_modulation.ipynb new file mode 100644 index 0000000..a3a7cac --- /dev/null +++ b/demo/demo_modulation.ipynb @@ -0,0 +1,196 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
Modulation Introductory Demo
\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Modulation**, **Labels**, **Amplitude** and **Phase offset** fields, translate directly to the equivalent module properties. The input is a list of bits specified in the **Bits** field. Any valid Python expression can be used for it (defined by the *bits* variable).\n", + "\n", + "A new instance should be created (using the **Init** button), whenever new parameters are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "9f420e4f20bd4e05be32bf990f9d4130", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "VBox(children=(GridspecLayout(children=(Dropdown(description='Modulation:', index=1, layout=Layout(grid_area='…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "modulator = None\n", + "\n", + "def init(b):\n", + " global modulator, disp\n", + " mod = modulation_widget.value\n", + " labels = eval(labels_widget.value)\n", + " amplitude = amplitude_widget.value\n", + " phase_offset = eval(phase_offset_widget.value)\n", + " modulator = sksdr.PSKModulator(mod, labels, amplitude, phase_offset)\n", + " with disp:\n", + " print('Initiated with ' + repr(modulator))\n", + "\n", + "def on_mod_change(change):\n", + " if change['type'] == 'change' and change['name'] == 'value':\n", + " if change['new'] == sksdr.BPSK:\n", + " labels = '[0, 1]'\n", + " elif change['new'] == sksdr.QPSK:\n", + " labels = '[0, 1, 3, 2]'\n", + " labels_widget.value = labels\n", + " bits_widget.value = labels2bits(labels, change['new'])\n", + "\n", + "def labels2bits(labels, mod):\n", + " return 'bits = ' + repr(list(sksdr.x2binlist(eval(labels), int(np.log2(mod.order)))))\n", + "\n", + "\n", + "def execute(b):\n", + " global modulator, disp\n", + " _locals = {}\n", + " exec(bits_widget.value, None, _locals)\n", + " bits = _locals['bits']\n", + " symbols = modulator.modulate(bits)\n", + " with disp:\n", + " print('Bits: ' + repr(bits))\n", + " print('Symbols: ' + repr(symbols))\n", + " sksdr.scatter_plot(symbols, 'Constellation')\n", + " plt.show()\n", + "\n", + "style = dict(utils.description_width_style)\n", + "header_widget = utils.header_widget('Modulation Demo')\n", + "settings_grid = widgets.GridspecLayout(2, 3)\n", + "settings_grid[0, 0] = modulation_widget = widgets.Dropdown(description='Modulation:', options=[('BPSK', sksdr.BPSK), ('QPSK', sksdr.QPSK)], value=sksdr.QPSK, continuous_update=False, style=style)\n", + "settings_grid[0, 1] = labels_widget = widgets.Text(description='Labels:', value='[0, 1, 3, 2]', continuous_update=False, style=style)\n", + "settings_grid[0, 2] = amplitude_widget = widgets.BoundedFloatText(description='Amplitude:', value=1.0, min=0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[1, 0] = phase_offset_widget = widgets.Text(description='Phase offset:', value='np.pi / 4', continuous_update=False, style=style)\n", + "settings_grid[1, 1:] = bits_widget = widgets.Textarea(description='Bits (bits=):', value=labels2bits(labels_widget.value, modulation_widget.value), continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "modulation_widget.observe(on_mod_change)\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
Modulation/Demodulation with AWGN
\n", + "\n", + "This demo modulates some bits, passes the symbols through an AWGN (which a chosen SNR) and demodulates the symbols. Demodulation is currently performed by choosing minimum of distances to constellation points. The BER is reported at the end.\n", + "\n", + "Changing the AWGNChannel's SNR argument, shows the impact of noise on the demodulation process and the BER." + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "BER: 0/1000\n" + ] + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAA4gAAAG5CAYAAADMCRrvAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+j8jraAAAgAElEQVR4nOzdf5xc913f+/dnRyNrFCcamahJPMiJgSCBKyxhX5xG8HhIpkQUg9naJE4wFLhQ01Lg2rgq65Iby6m52lalBi70ltDShDo1UmLfRUZ5XKVFXlpEbWKxEkJgkQT/yjgxItYIyxpbo9nv/WPmrM6cOd/zY3ZmZ3bn9Xw8/LA0O3PmnMeeo/P9nM/3+/mYc04AAAAAAEwMewcAAAAAAKOBABEAAAAAIIkAEQAAAADQRoAIAAAAAJBEg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W+ge4htZc4teAnwA7iuNnAQ8Wt88B9hQ/+2hNO6m87WXFX/x+JfCftL4VXBbx07pu4BHg+8DDwKnF8QuBu4rbHwT2Fud+L3B91e0eQdzHnEvgc8BVxe23AF8FngW+A5xTdZtLjP224j2+B/gmcF7VbR5h7F8GXgQOFe/564HPAJ8p7g9aq9j9oOjrF1bd5hJjv6HjvD8KfLDqNk/KjznSHNmkHGl+ND82LT8OGP/QOTKKP5QkSZIkNVwjpphKkiRJkhZmgShJkiRJAiwQJUmSJEkFC0RJkiRJEmCBKEmSJEkqrKy6AZKGFxFztJZqXgk8D3wyMw9U2ypJkqplfpSWzhFEqZ5mM/P8zPx14GfAH1fdIEmSJoD5UVoiC0Sp/v4NmAaIiF+OiK9HxBMR8a2IOK/itkmSVBXzo7QIFohSjUXECuDDwLbi0J3AjZn5fuCzwBeqapskSVUxP0qLF5lZdRskDanjGotp4GlgPTAFvAzs73joCZn5q+W3UJKk8pkfpaWzQJRqKCIOZuZJEXEisAP4KnA3sD8zz6y0cZIkVcT8KC2dU0ylGsvMV4E/AW4CXgWej4hrAaLlN6psnyRJVTA/SotngSjVXGbuBr4LfAK4Drg+IvYA+4Crq2ybJElVMT9Ki+MUU0mSJEkS4AiiJEmSJKlggShJkiRJAiwQJUmSJEkFC0RJkiRJEmCBKEmSJEkqWCBKkiRJkgALREmSJElS4f8BihsppqJAnGIAAAAASUVORK5CYII=\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "%matplotlib inline\n", + "\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "\n", + "# Create modulator\n", + "modem = sksdr.PSKModulator(sksdr.QPSK, [0,1,3,2], phase_offset=np.pi/4)\n", + "\n", + "# Generate some random bits and modulate them\n", + "bits = np.random.randint(0, 2, 1000)\n", + "symbols = modem.modulate(bits)\n", + "\n", + "# Create an AWGN channel with a given SNR, and pass symbols through it\n", + "awgn = sksdr.AWGNChannel(snr=12)\n", + "rx_symbols = awgn(symbols)\n", + "\n", + "# Demodulate symbols\n", + "bits_out = modem.demodulate(rx_symbols)\n", + "\n", + "# Setup figure\n", + "fig = plt.figure(figsize=(15,10))\n", + "gs = gridspec.GridSpec(1, 2, figure=fig)\n", + "\n", + "# Plot constellations and show BER\n", + "f = sksdr.scatter_plot(symbols, 'Before Channel', fig=fig, gs=gs[0, 0])\n", + "f = sksdr.scatter_plot(rx_symbols, 'After Channel', fig=fig, gs=gs[0, 1])\n", + "\n", + "print('BER: {}/{}'.format(*sksdr.ber(bits, bits_out)))\n", + "#plt.close('all')" + ] + } + ], + "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.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/demo_scrambling.ipynb b/demo/demo_scrambling.ipynb new file mode 100644 index 0000000..8426ba5 --- /dev/null +++ b/demo/demo_scrambling.ipynb @@ -0,0 +1,108 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
Scrambing/Descrambing Introductory Demo
\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Polynomial** and **Initial State** map to the module's properties. The input is a list of bits specified in the **Bits** field.\n", + "\n", + "The main functionality to observe in the output is that the scrambled bit sequence should have frequent transitions, regardless of the input sequence pattern. The unscrambled bit sequence should match the input bit sequence.\n", + "\n", + "A new instance should be created (using the **Init** button), whenever new parameters are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "ef1422be6ff843d2abe6d3ca04c77440", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "VBox(children=(GridspecLayout(children=(Text(value='[1, 1, 1, 0, 1]', continuous_update=False, description='Po…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "scrambler = None\n", + "descrambler = None\n", + "\n", + "def init(b):\n", + " global scrambler, descrambler, disp\n", + " poly = poly_widget.value\n", + " init_state = init_state_widget.value\n", + " scrambler = sksdr.Scrambler(eval(poly), eval(init_state))\n", + " descrambler = sksdr.Descrambler(eval(poly), eval(init_state))\n", + " with disp:\n", + " print('Initiated scrambler with ' + repr(scrambler))\n", + "\n", + "def execute(b):\n", + " global scrambler, descrambler, disp\n", + " in_bits = np.array(eval(bits_widget.value))\n", + " scrambled_bits = scrambler(in_bits)\n", + " descrambled_bits = descrambler(scrambled_bits)\n", + " with disp:\n", + " print('Original bits: ' + repr(in_bits))\n", + " print('Scrambled bits: ' + repr(scrambled_bits))\n", + " print('Descrambled bits: ' + repr(descrambled_bits))\n", + "\n", + "style = dict(utils.description_width_style)\n", + "settings_grid = widgets.GridspecLayout(1, 3)\n", + "settings_grid[0, 0] = poly_widget = widgets.Text(description='Polynomial:', value='[1, 1, 1, 0, 1]', continuous_update=False, style=style)\n", + "settings_grid[0, 1] = init_state_widget = widgets.Text(description='Initial state:', value='[0, 1, 1, 0]', continuous_update=False, style=style)\n", + "settings_grid[0, 2] = bits_widget = widgets.Text(description='Bits:', value=str([0] * 10), continuous_update=False, style=style)\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + } + ], + "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.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/demo_symbol_sync.ipynb b/demo/demo_symbol_sync.ipynb new file mode 100644 index 0000000..fc36ad0 --- /dev/null +++ b/demo/demo_symbol_sync.ipynb @@ -0,0 +1,240 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#
Symbol Synchronization Introductory Demo
\n", + "\n", + "This demo includes a graphical interface to specify the module's properties and is meant as an introduction to it's functionality. The **Modulation**, **Samples per symbol**, **Damping factor**, **Normalized loop bandwidth**, **K factor** and **A factor** fields, translate directly to the equivalent module properties.\n", + "\n", + "The **Number of samples** field is the length of the input signal. it populates a variable *n* that can be used in the **Signal** field. Any valid Python expression can be used for the input signal (defined by the *sig* variable). An additional cell has been provided with experimental signals that can be pasted into the Signal field. \n", + "\n", + "The output shows plots of the (uncorrected) input and (corrected) output signals. It will also report the detected offset.\n", + "\n", + "A new instance should be created (using the **Init** button), whenever new parameters (or a new unrelated input signal) are specified. To clear the ouput, use the Jupyter Notebook's own shortcuts. Refer to the documentation in the Help menu." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%matplotlib inline\n", + "\n", + "import ipywidgets as widgets\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "import utils\n", + "\n", + "ssync = None\n", + "output_samples = None\n", + "\n", + "def init(b):\n", + " global ssync\n", + " mod = modulation_widget.value\n", + " sps = sps_widget.value\n", + " damp_factor = damp_factor_widget.value\n", + " norm_loop_bw = norm_loop_bw_widget.value\n", + " K = K_widget.value\n", + " A = A_widget.value\n", + " ssync = sksdr.SymbolSync(mod, sps, damp_factor, norm_loop_bw, K, A)\n", + " with disp:\n", + " print('Initiated with ' + repr(ssync))\n", + "\n", + "def execute(b):\n", + " global ssync, output_samples, disp\n", + " n = np.arange(num_samples_widget.value)\n", + " _locals = {'n': n}\n", + " exec(signal_widget.value, None, _locals)\n", + " sig = _locals['sig']\n", + " fig = plt.figure(figsize=(15,10))\n", + " gs = gridspec.GridSpec(1, 2, figure=fig)\n", + " with disp:\n", + " sksdr.time_plot([sig], [''], [1], 'Input Signal', fig=fig, gs=gs[0, 0])\n", + " out, _, _ = ssync(sig)\n", + " sksdr.time_plot([out], [''], [1], 'Output Signal', fig=fig, gs=gs[0, 1])\n", + " plt.show()\n", + " output_samples = out\n", + " print('Output samples available in variable \"output_samples\"')\n", + "\n", + "style = dict(utils.description_width_style)\n", + "settings_grid = widgets.GridspecLayout(3, 3)\n", + "settings_grid[0, 0] = modulation_widget = widgets.Dropdown(description='Modulation:', options=[('BPSK', sksdr.BPSK), ('QPSK', sksdr.QPSK)], value=sksdr.QPSK, continuous_update=False, style=style)\n", + "settings_grid[0, 1] = sps_widget = widgets.BoundedIntText(description='Samples per symbol:', value=2, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[0, 2] = damp_factor_widget = widgets.BoundedFloatText(description='Damping factor:', value=1.0, min=0, max=np.finfo(float).max, continuous_update=False, \n", + "style=style)\n", + "settings_grid[1, 0] = norm_loop_bw_widget = widgets.BoundedFloatText(description='Normalized loop bandwidth (Hz):', value=0.01, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[1, 1] = K_widget = widgets.BoundedFloatText(description='K factor:', value=1.0, min=0, max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[1, 2] = A_widget = widgets.BoundedFloatText(description='A factor:', value=1/np.sqrt(2), max=np.finfo(float).max, continuous_update=False, style=style)\n", + "settings_grid[2, 0] = num_samples_widget = widgets.BoundedIntText(description='Number of samples (n=):', value=200, min=1, max=np.iinfo(int).max, continuous_update=False, style=style)\n", + "settings_grid[2, 1:] = signal_widget = widgets.Textarea(description='Signal (sig=):', value='import numpy as np\\nsig = np.exp(1j * 2 * np.pi * n / 12)', continuous_update=False, style=style, layout=widgets.Layout(height='auto', width='auto'))\n", + "init_button = widgets.Button(description='Init', tooltip='Init')\n", + "init_button.on_click(init)\n", + "execute_button = widgets.Button(description='Execute', tooltip='Execute')\n", + "execute_button.on_click(execute)\n", + "disp = widgets.Output()\n", + "ui = widgets.VBox([\n", + " settings_grid,\n", + " widgets.HBox([init_button, execute_button]),\n", + " disp\n", + "])\n", + "display(ui)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# QPSK signal with fixed delay impairment and AWGN channel\n", + "This demo passes a QPSK modulated signal through a block that introduces a fixed delay, and then through an AWGN channel. The received signal will initially appear in a circle. A symbol synchronizer corrects the received signal and it will become grouped around the constellation points." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "DEBUG:sksdr.symbol_sync:SSYNC init: theta=0.004000, d=-5.443286, p_gain=-0.002939, i_gain=-0.000012\n" + ] + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAwMAAAJcCAYAAACljXi1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+j8jraAAAgAElEQVR4nOzde5hcVZkv/u+3OxVSHS6dSARShpvDr1EMpAUVzVwSvERggB4QgQFHZsaDzox6uEzmBHUgMDjEk8PIcdRRdBzxgJBwsQnCTFBDj040jsTuECO03AkVbpJ0TOiCVLrf3x97787u6r3r0r2r9q7a38/z9JN01a69V1261nrXetdaNDOIiIiIiEj6t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PnzOwYd38m7BrymyqvUfouf2lmA5KWSmpmGKjneynt85SZzZI0X9ILTayp0qQ1unt5PV+S9FctqGuqmv4bnC53/4+y25vM7AtmdqS7/zbOugAAaEep6CZkZoea2WGl25LeqmBAb9LcJ+kkMzvRzGZLukxSS2brCW2Q9P7w9vslTWjNMLMFZnZIePtIScsk/azJddXzvZTXfrGkLd7aFfUmrbGi7/2Fkh5uYX312iDpj8JZhc6WtKus61gimNnRpfEgZnamgv8da2XwAwBgxmiLloFazOydkv6vpIWSNprZNnc/18wWSfqSu5+voO/7t8Lzh1mS/sndv5e0Ot19v5ldJWmzpIykW9x9RwvL7JO03sw+KOnXkt4d1n6GpD9x9w9Jer2km8xsVMFJWJ+7NzUMVPtezOwGSfe7+wZJ/yDpq2b2qILBp5c1s6aDrPEjZnahpP1hjVe2skZJMrPbJPVIOtLMnpJ0naRs+Bm+KGmTpPMlPSppr6QPJLDGiyV92Mz2SypIuqzFwQ8AgBnD+P9QAAAAIJ1S0U0IAAAAwESEAQAAACClCAMAAABAShEGAAAAgJQiDAAAAAAp1fZTiyI9zGxE0nYFv9vHJb3P3YfjrQoAAKB90TKAdlJw99Pc/Q0K5un/07gLAgAAaGeEAbSrf5PUJUlm9hoz+56ZPWBm/2xmr4u5NgAAgLZAGEDbMbOMpDdL2hA+dLOkP3P30yV9XNIX4qoNAACgnbACMdpG2ZiBLkkPS1ouKSfpeUlDZbse4u6vb32FAAAA7YUwgLZhZnvcfZ6ZzZW0WdI3JH1Z0pC7HxNrcQAAAG2IbkJoO+6+V9JHJH1M0l5Jj5vZJZJkgVPjrA8AAKBdEAbQltx9UNJPJV0u6b2SPmhmD0raIemiOGsDAABoF3QTAgAAAFKKlgEAAAAgpQgDAAAAQEoRBgAAAICUIgwAAAAAKUUYAAAAAFKKMAAAAACkFGEAAAAASKn/D+rhUFKwugGxAAAAAElFTkSuQmCC\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "%matplotlib inline\n", + "\n", + "import matplotlib.gridspec as gridspec\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", + "import sksdr\n", + "\n", + "# Create a delay offset object\n", + "vfd = sksdr.VariableFractionalDelay(max_delay=2)\n", + "\n", + "# Create a symbol timing synchronizer object\n", + "ssync = sksdr.SymbolSync(mod=sksdr.QPSK, sps=2, damp_factor=1.0, norm_loop_bw=0.01, K=1.0, A=1/np.sqrt(2))\n", + "\n", + "# Generate random data symbols and apply QPSK modulation\n", + "ints = np.random.randint(0, 4, 10000)\n", + "bits = sksdr.x2binlist(ints, 2)\n", + "psk = sksdr.PSKModulator(sksdr.QPSK, [0, 1, 3, 2], 1.0, np.pi/4)\n", + "mod_sig = psk.modulate(bits)\n", + "\n", + "# Interpolate by 4 and filter with RRC tx filter\n", + "interp = sksdr.FirInterpolator(4, sksdr.rrc(4, 0.5, 10))\n", + "_, tx_sig = interp(mod_sig)\n", + "\n", + "# Apply the delay offset. Then, pass the offset signal through an AWGN channel.\n", + "tx_sig_off = vfd(tx_sig, 1)\n", + "awgn = sksdr.AWGNChannel(snr=12)\n", + "rx_sig = awgn(tx_sig_off)\n", + "\n", + "# Apply the matched filter and decimate by 2\n", + "decim = sksdr.FirDecimator(2, sksdr.rrc(4, 0.5, 10))\n", + "_, rx_down_sig = decim(rx_sig)\n", + "\n", + "# Correct for the delay offset\n", + "sync_sig, _, err_sig = ssync(rx_down_sig)\n", + "\n", + "# Setup figure\n", + "fig = plt.figure(figsize=(15,10))\n", + "gs = gridspec.GridSpec(2, 2, figure=fig)\n", + "\n", + "# Display the scatter plot of the received signal (set return value to a variable to avoid double plot)\n", + "f = sksdr.scatter_plot(rx_sig, 'Received Signal', fig=fig, gs=gs[0, 0])\n", + "\n", + "# Display the last 1000 symbols of corrected signal. The synchronizer has not yet converged so the data is not grouped around the reference constellation points.\n", + "f = sksdr.scatter_plot(rx_sig[-1000:], 'Last 1000 symbols (Uncorrected Signal)', fig=fig, gs=gs[0, 1])\n", + "\n", + "# Display the last 1000 symbols of the corrected signal. The data is now aligned with the reference constellation.\n", + "f = sksdr.scatter_plot(sync_sig[-1000:], 'Last 1000 symbols (Corrected Signal)', fig=fig, gs=gs[1, 0])\n", + "\n", + "#plt.close('all')" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/home/david/.local/lib/python3.6/site-packages/numpy/core/_asarray.py:83: ComplexWarning: Casting complex values to real discards the imaginary part\n", + " return array(a, dtype, copy=False, order=order)\n", + "/home/david/.local/lib/python3.6/site-packages/numpy/core/_asarray.py:83: ComplexWarning: Casting complex values to real discards the imaginary part\n", + " return array(a, dtype, copy=False, order=order)\n" + ] + }, + { + "data": { + "text/plain": [ + "[]" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXwAAAD4CAYAAADvsV2wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+j8jraAAAgAElEQVR4nOy9eZQcZ33u/3mrel9m0WyyFo8kS7YsGW8jy8LGLMaAIWB2gtnM4pDchFySEJ/LL1wCIcsNOCTh3EBYfAMYsIEAAZnNYMzi2B7bGmMby7a2kUa7Zl96X+r9/fFWdVfPdM90z3T3dM/Uc46PZ6qXqtZUP/Wt5/1+n0dIKXHgwIEDBysf2nIfgAMHDhw4qA8cwnfgwIGDVQKH8B04cOBglcAhfAcOHDhYJXAI34EDBw5WCVzLfQCl0NnZKTdt2rTch+HAgQMHTYWBgYFRKWVXsccalvA3bdrEvn37lvswHDhw4KCpIIQYKvWYI+k4cODAwSqBQ/gOHDhwsErgEL4DBw4crBI4hO/AgQMHqwQO4Ttw4MDBKoFD+A4cOHCwStC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UsqNgAW4i/Qc638Bbhj12kRj+zlgtfnzVeCn09lRWgk+sBU4JaVskFL6gV8Ct6b4mOYEKWWrlPKA+bgfJQBLUee7y/zYLuC21Bzh3CCEKAduAnaazwWwA3ja/Eg6nnMu8FngnwCklH4pZQ9pPtaoBk0ZQggrkAm0koZjLaV8F+ge9fJEY3sr8IRU7AXyhBClU91Xugn+UqA57nmL+VpaI4RYDlwK7AOWSClbzbfagCUpOqy54n8D3wLC5vMCoEdKGTSfp+OYrwA6gcdNK2unECKLNB5rKeVZ4IfAGZTQ9wJ1pP9YR5hobGelcekm+IsOIYQLeAb4UyllX/x7UuXcpk3erRDi80CHlLIu1ccyz1iBzcBPpZSXAoOMsm/ScKzdqGh2BVAGZDHW9lgUJHNs003wzwIVcc/LzdfSEiGEDSX2T0opnzVfbo/c4pn/dqTq+OaAK4BbhBCNKLtuB8rbzjNv+yE9x7wFaJFS7jOfP426AKTzWF8DnJZSdkopA8CzqPFP97GOMNHYzkrj0k3wPwBWmzP5dtQkzwspPqY5wfSu/wmol1L+r7i3XgDuNR/fCzw/38c2V0gpvy2lLJdSLkeN7VtSyruB3wJfMD+WVucMIKVsA5qFEGvNl64GjpLGY42ycmqFEJnmdz1yzmk91nFMNLYvAPeY2Tq1QG+c9XN+pJRp9QPcCJwAPgG+m+rjmcPz/DTqNu8g8JH5cyPK034TOAm8AeSn+ljn6Py3Ay+Zj1cC7wOngF8DjlQf3xyc7yXAfnO8nwPc6T7WwF8Cx4DDwL8CjnQca+AXqHmKAOpu7ssTjS0gUJmInwCHUFlMU96XLq2g0Wg0i4R0s3Q0Go1GMwFa8DUajWaRoAVfo9FoFgla8DUajWaRoAVfo9FoFgla8DUajWaRoAVfo9FoFgn/H4jZUsDrb7ZnAAAAAElFTkSuQmCC\n", + "text/plain": [ + "
" + ] + }, + "metadata": { + "needs_background": "light" + }, + "output_type": "display_data" + } + ], + "source": [ + "plt.plot(tx_sig[:100], '.-')\n", + "plt.plot(tx_sig_off[:100], '.-')" + ] + } + ], + "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.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/demo/psk_rx_iq.ipynb b/demo/psk_rx_iq.ipynb new file mode 100644 index 0000000..7759e27 --- /dev/null +++ b/demo/psk_rx_iq.ipynb @@ -0,0 +1,244 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + " #
PSK Receiver (IQ Files) Demo
\n", + "\n", + "This notebook demonstrates the PSK receiver with IQ files." + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "9abb42935d554ae78329eb04811ef1c5", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "VBox(children=(Tab(children=(GridspecLayout(children=(IntText(value=100, description='Frame size (Symbols):', …" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "a9bc9f608f464c348deab07a90ca5b01", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HTML(value='\\n + """ + return widgets.HTML(style) + +def disable_scroll(): + disable_scroll_js = """ + IPython.OutputArea.prototype._should_scroll = function(lines) { + return false; + } + """ + return Javascript(disable_scroll_js) + +def display_hacks(): + display(disable_scroll_output_widgets()) + display(disable_scroll()) + pass diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..e9c3363 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,22 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = sphinx-build +SPHINXPROJ = scikit-sdr +SOURCEDIR = . +BUILDDIR = _build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + rm -rf build + rm -rf source/_autosummary + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file diff --git a/docs/_templates/custom-class-template.rst b/docs/_templates/custom-class-template.rst new file mode 100644 index 0000000..f73eda5 --- /dev/null +++ b/docs/_templates/custom-class-template.rst @@ -0,0 +1,34 @@ +{{ fullname | escape | underline}} + +.. currentmodule:: {{ module }} + +.. autoclass:: {{ objname }} + :members: + :show-inheritance: + :inherited-members: + :special-members: __call__, __add__, __mul__ + + {% block methods %} + {% if methods %} + .. rubric:: {{ _('Methods') }} + + .. autosummary:: + :nosignatures: + {% for item in methods %} + {%- if not item.startswith('_') %} + ~{{ name }}.{{ item }} + {%- endif -%} + {%- endfor %} + {% endif %} + {% endblock %} + + {% block attributes %} + {% if attributes %} + .. rubric:: {{ _('Attributes') }} + + .. autosummary:: + {% for item in attributes %} + ~{{ name }}.{{ item }} + {%- endfor %} + {% endif %} + {% endblock %} diff --git a/docs/_templates/custom-module-template.rst b/docs/_templates/custom-module-template.rst new file mode 100644 index 0000000..d066d0e --- /dev/null +++ b/docs/_templates/custom-module-template.rst @@ -0,0 +1,66 @@ +{{ fullname | escape | underline}} + +.. automodule:: {{ fullname }} + + {% block attributes %} + {% if attributes %} + .. rubric:: Module attributes + + .. autosummary:: + :toctree: + {% for item in attributes %} + {{ item }} + {%- endfor %} + {% endif %} + {% endblock %} + + {% block functions %} + {% if functions %} + .. rubric:: {{ _('Functions') }} + + .. autosummary:: + :toctree: + :nosignatures: + {% for item in functions %} + {{ item }} + {%- endfor %} + {% endif %} + {% endblock %} + + {% block classes %} + {% if classes %} + .. rubric:: {{ _('Classes') }} + + .. autosummary:: + :toctree: + :template: custom-class-template.rst + :nosignatures: + {% for item in classes %} + {{ item }} + {%- endfor %} + {% endif %} + {% endblock %} + + {% block exceptions %} + {% if exceptions %} + .. rubric:: {{ _('Exceptions') }} + + .. autosummary:: + :toctree: + {% for item in exceptions %} + {{ item }} + {%- endfor %} + {% endif %} + {% endblock %} + +{% block modules %} +{% if modules %} +.. autosummary:: + :toctree: + :template: custom-module-template.rst + :recursive: +{% for item in modules %} + {{ item }} +{%- endfor %} +{% endif %} +{% endblock %} diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..21df053 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1,118 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# scikit-sdr documentation build configuration file, created by +# sphinx-quickstart on Thu Jun 11 14:43:41 2020. +# +# This file is execfile()d with the current directory set to its +# containing dir. +# +# Note that not all possible configuration values are present in this +# autogenerated file. +# +# All configuration values have a default; values that are commented out +# serve to show the default. + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +# +import os +import sys + +from sksdr import __version__ + +sys.path.insert(0, os.path.abspath('../')) + +# -- General configuration ------------------------------------------------ + +# If your documentation needs a minimal Sphinx version, state it here. +# +needs_sphinx = '3.1.0' + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.autosummary', + 'sphinx.ext.doctest', + 'sphinx.ext.mathjax', + 'sphinx.ext.intersphinx', # Link to other project's documentation (see mapping below) + 'sphinx.ext.viewcode', + 'sphinxcontrib.bibtex', + 'sphinx_autodoc_typehints', # automatically document param types (less noise in class signature) + 'jupyter_sphinx'] + +intersphinx_mapping = { + "python": ("https://docs.python.org/3/", None), + "NumPy [stable]": ('https://numpy.org/doc/stable/', None), + "SciPy [latest]": ('https://docs.scipy.org/doc/scipy/reference', None), + "matplotlib [latest]": ('https://matplotlib.org', None) +} +autosummary_generate = True +autodoc_member_order = 'bysource' +autodoc_default_flags = ['members', 'show-inheritance'] +autodoc_inherit_docstrings = True # If no class summary, inherit base class summary +autoclass_content = "both" # Add __init__ doc (ie. params) to class summaries +add_module_names = False +html_show_sourcelink = False # Remove 'view source code' from top of page (for html, not python) + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The suffix(es) of source filenames. +# You can specify multiple suffix as a list of string: +# +# source_suffix = ['.rst', '.md'] +source_suffix = '.rst' + +# The master toctree document. +master_doc = 'index' + +# General information about the project. +project = 'scikit-sdr' +copyright = '2020, David Pi' +author = 'David Pi' + +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the +# built documents. +# +# The short X.Y version. +version = __version__ +# The full version, including alpha/beta/rc tags. +release = version + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +# +# This is also used if you do content translation via gettext catalogs. +# Usually you set "language" from the command line for these cases. +# language = None + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +# This patterns also effect to html_static_path and html_extra_path +# exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] + +# The name of the Pygments (syntax highlighting) style to use. +# pygments_style = 'sphinx' + +# If true, `todo` and `todoList` produce output, else they produce nothing. +# todo_include_todos = False + + +# -- Options for HTML output ---------------------------------------------- + +# on_rtd is whether on readthedocs.org, this line of code grabbed from docs.readthedocs.org... +on_rtd = os.environ.get("READTHEDOCS", None) == "True" +if not on_rtd: # only import and set the theme if we're building docs locally + import sphinx_rtd_theme + html_theme = "sphinx_rtd_theme" + html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000..720e7c4 --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,15 @@ +.. scikit-sdr documentation master file, created by + sphinx-quickstart on Thu Jun 11 14:43:41 2020. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to scikit-sdr's documentation! +====================================== + +.. autosummary:: + :toctree: _autosummary + :caption: API Reference + :template: custom-module-template.rst + :recursive: + + sksdr diff --git a/docs/make.bat b/docs/make.bat new file mode 100644 index 0000000..4834a21 --- /dev/null +++ b/docs/make.bat @@ -0,0 +1,36 @@ +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=. +set BUILDDIR=_build +set SPHINXPROJ=scikit-sdr + +if "%1" == "" goto help + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% + +:end +popd diff --git a/docs/references.rst b/docs/references.rst new file mode 100644 index 0000000..51c2066 --- /dev/null +++ b/docs/references.rst @@ -0,0 +1,7 @@ +.. _references: + +References +========== + +.. bibliography:: refs.bib + :all: diff --git a/docs/refs.bib b/docs/refs.bib new file mode 100644 index 0000000..bb221e7 --- /dev/null +++ b/docs/refs.bib @@ -0,0 +1,17 @@ +@book{proakis06, + author = {Proakis, John G. and Manolakis, Dimitris G.}, + title = {Digital Signal Processing}, + publisher = {Pearson}, + edition = {4}, + year = {2006}, + isbn = {9780131873742}, +} + +@book{rice08, + author = {Rice, M.}, + title = {Digital Communications: A Discrete-Time Approach 1st Edition}, + publisher = {Pearson}, + edition = {1}, + year = {2008}, + isbn = {9780130304971}, +} diff --git a/gnuradio/demo/epy_block_0.py b/gnuradio/demo/epy_block_0.py new file mode 100644 index 0000000..f839878 --- /dev/null +++ b/gnuradio/demo/epy_block_0.py @@ -0,0 +1,60 @@ +""" +Embedded Python Blocks: + +Each time this file is saved, GRC will instantiate the first class it finds +to get ports and parameters of your block. The arguments to __init__ will +be the parameters. All of them are required to have default values! +""" +import logging +from logging import DEBUG + +import numpy as np + +import sksdr +from gnuradio import gr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class blk(gr.basic_block): + """ + """ + def __init__(self, txt_size=11, payload_size=224): + self.payload_size = payload_size + self.txt_size = txt_size + self.counter = 0 + gr.basic_block.__init__(self, + name='build_frame', + in_sig=[(np.uint8)], + out_sig=[(np.uint8)]) + self.set_output_multiple(self.payload_size) + + def forecast(self, noutput_items, ninput_items_required): + # setup size of input_items[i] for work call + for i in range(len(ninput_items_required)): + ninput_items_required[i] = noutput_items + + def general_work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + # print('len(in0), len(out): {}, {}'.format(len(in0), len(out))) + for xstart, ystart in zip(range(0, len(in0), self.txt_size), range(0, len(out), self.payload_size)): + xend = xstart + self.txt_size + bin_txt = sksdr.x2binlist(in0[xstart:xend], 8) + yend = ystart + len(bin_txt) + out[ystart:yend] = bin_txt + bin_counter = sksdr.x2binlist(' {:03d}'.format(self.counter % 100), 8) + y = yend + yend = y + len(bin_counter) + out[y:yend] = bin_counter + fill = np.random.randint(0, 1, self.payload_size - (yend - ystart)) + y = yend + yend = y + len(fill) + out[y:yend] = fill + # print('ystart, yend: {}, {}'.format(ystart, yend)) + # print('out[ystart:yend]: {}'.format(out[ystart:yend])) + self.counter += 1 + # print('xend, yend: {}, {}'.format(xend, yend)) + self.consume(0, xend) + return yend + diff --git a/gnuradio/demo/msg.txt b/gnuradio/demo/msg.txt new file mode 100644 index 0000000..5e1c309 --- /dev/null +++ b/gnuradio/demo/msg.txt @@ -0,0 +1 @@ +Hello World \ No newline at end of file diff --git a/gnuradio/demo/psk_tx.grc b/gnuradio/demo/psk_tx.grc new file mode 100644 index 0000000..6282d58 --- /dev/null +++ b/gnuradio/demo/psk_tx.grc @@ -0,0 +1,582 @@ +options: + parameters: + author: '' + category: '[GRC Hier Blocks]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: qt_gui + hier_block_src_path: '.:' + id: psk_tx + max_nouts: '0' + output_language: python + placement: (0,0) + qt_qss_theme: '' + realtime_scheduling: '' + run: 'True' + run_command: '{python} -u {filename}' + run_options: prompt + sizing_mode: fixed + thread_safe_setters: '' + title: Not titled yet + window_size: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: freq + id: variable + parameters: + comment: '' + value: 220e6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [480, 12.0] + rotation: 0 + state: enabled +- name: freq_correction + id: variable + parameters: + comment: '' + value: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [568, 12.0] + rotation: 0 + state: enabled +- name: rf_gain + id: variable + parameters: + comment: '' + value: '40' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [688, 12.0] + rotation: 0 + state: enabled +- name: rrc_coeffs + id: variable + parameters: + comment: '' + value: sksdr.rrc(upsampling, 0.5, 10) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [120, 92.0] + rotation: 0 + state: enabled +- name: samp_rate + id: variable + parameters: + comment: '' + value: 1.024e6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [384, 12.0] + rotation: 0 + state: enabled +- name: upsampling + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 92.0] + rotation: 0 + state: enabled +- name: blocks_char_to_float_0 + id: blocks_char_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + scale: '1' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 476.0] + rotation: 0 + state: true +- name: blocks_file_source_0 + id: blocks_file_source + parameters: + affinity: '' + alias: '' + begin_tag: pmt.PMT_NIL + comment: '' + file: test.dat + length: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + repeat: 'True' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [56, 260.0] + rotation: 0 + state: enabled +- name: blocks_packed_to_unpacked_xx_0 + id: blocks_packed_to_unpacked_xx + parameters: + affinity: '' + alias: '' + bits_per_chunk: '2' + comment: '' + endianness: gr.GR_MSB_FIRST + maxoutbuf: '0' + minoutbuf: '0' + num_ports: '1' + type: byte + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [240, 284.0] + rotation: 0 + state: true +- name: digital_chunks_to_symbols_xx_0 + id: digital_chunks_to_symbols_xx + parameters: + affinity: '' + alias: '' + comment: '' + dimension: '1' + in_type: byte + maxoutbuf: '0' + minoutbuf: '0' + num_ports: '1' + out_type: complex + symbol_table: '[1+1j, -1+1j, 1-1j, -1-1j]/np.sqrt(2)' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [456, 272.0] + rotation: 0 + state: true +- name: import_0 + id: import + parameters: + alias: '' + comment: '' + imports: import numpy as np + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [192, 12.0] + rotation: 0 + state: true +- name: import_1 + id: import + parameters: + alias: '' + comment: '' + imports: import sksdr + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [272, 12.0] + rotation: 0 + state: true +- name: interp_fir_filter_xxx_1 + id: interp_fir_filter_xxx + parameters: + affinity: '' + alias: '' + comment: '' + interp: upsampling + maxoutbuf: '0' + minoutbuf: '0' + samp_delay: '0' + taps: rrc_coeffs + type: ccc + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [704, 260.0] + rotation: 0 + state: true +- name: qtgui_const_sink_x_0 + id: qtgui_const_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: '"blue"' + color10: '"red"' + color2: '"red"' + color3: '"red"' + color4: '"red"' + color5: '"red"' + color6: '"red"' + color7: '"red"' + color8: '"red"' + color9: '"red"' + comment: '' + grid: 'False' + gui_hint: '' + label1: '' + label10: '' + label2: '' + label3: '' + label4: '' + label5: '' + label6: '' + label7: '' + label8: '' + label9: '' + legend: 'True' + marker1: '0' + marker10: '0' + marker2: '0' + marker3: '0' + marker4: '0' + marker5: '0' + marker6: '0' + marker7: '0' + marker8: '0' + marker9: '0' + name: '""' + nconnections: '1' + size: '1024' + style1: '0' + style10: '0' + style2: '0' + style3: '0' + style4: '0' + style5: '0' + style6: '0' + style7: '0' + style8: '0' + style9: '0' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: complex + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + xmax: '2' + xmin: '-2' + ymax: '2' + ymin: '-2' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [968, 260.0] + rotation: 0 + state: true +- name: qtgui_time_sink_x_1 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '0' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: complex + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1040, 380.0] + rotation: 0 + state: enabled +- name: qtgui_time_sink_x_1_0 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [456, 460.0] + rotation: 0 + state: enabled +- name: soapy_sink_0 + id: soapy_sink + parameters: + affinity: '' + alias: '' + amp_gain0: '0' + ant0: TX + ant1: TX + args: '' + balance0: '0' + balance1: '0' + bw0: '0' + bw1: '0' + center_freq0: freq + center_freq1: 100.0e6 + clock_rate: '0' + clock_source: '' + comment: '' + correction0: '0' + correction1: '0' + dc_offset0: '0' + dc_offset1: '0' + dc_offset_auto_mode0: 'False' + dc_offset_auto_mode1: 'False' + dev: driver=uhd + devname: hackrf + gain_auto_mode0: 'True' + gain_auto_mode1: 'False' + iamp_gain0: '0' + iamp_gain1: '0' + length_tag_name: '' + manual_gain0: 'True' + manual_gain1: 'True' + nchan: '1' + nco_freq0: '0' + nco_freq1: '0' + overall_gain0: rf_gain + overall_gain1: '0' + pad_gain0: '0' + pad_gain1: '0' + pga_gain0: '24' + pga_gain1: '0' + samp_rate: samp_rate + txvga1_gain: '-35' + txvga2_gain: '0' + type: fc32 + vga_gain0: rf_gain + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [784, 420.0] + rotation: 0 + state: enabled + +connections: +- [blocks_char_to_float_0, '0', qtgui_time_sink_x_1_0, '0'] +- [blocks_file_source_0, '0', blocks_packed_to_unpacked_xx_0, '0'] +- [blocks_packed_to_unpacked_xx_0, '0', blocks_char_to_float_0, '0'] +- [blocks_packed_to_unpacked_xx_0, '0', digital_chunks_to_symbols_xx_0, '0'] +- [digital_chunks_to_symbols_xx_0, '0', interp_fir_filter_xxx_1, '0'] +- [interp_fir_filter_xxx_1, '0', qtgui_const_sink_x_0, '0'] +- [interp_fir_filter_xxx_1, '0', qtgui_time_sink_x_1, '0'] +- [interp_fir_filter_xxx_1, '0', soapy_sink_0, '0'] + +metadata: + file_format: 1 diff --git a/gnuradio/demo/psk_tx.py b/gnuradio/demo/psk_tx.py new file mode 100755 index 0000000..d3e7db9 --- /dev/null +++ b/gnuradio/demo/psk_tx.py @@ -0,0 +1,407 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# +# SPDX-License-Identifier: GPL-3.0 +# +# GNU Radio Python Flow Graph +# Title: Not titled yet +# GNU Radio version: 3.8.1.0 + +from distutils.version import StrictVersion + +if __name__ == '__main__': + import ctypes + import sys + if sys.platform.startswith('linux'): + try: + x11 = ctypes.cdll.LoadLibrary('libX11.so') + x11.XInitThreads() + except: + print("Warning: failed to XInitThreads()") + +from PyQt5 import Qt +from gnuradio import qtgui +from gnuradio.filter import firdes +import sip +from gnuradio import blocks +import pmt +from gnuradio import digital +from gnuradio import filter +from gnuradio import gr +import sys +import signal +from argparse import ArgumentParser +from gnuradio.eng_arg import eng_float, intx +from gnuradio import eng_notation +import numpy as np +import sksdr +import soapy + +from gnuradio import qtgui + +class psk_tx(gr.top_block, Qt.QWidget): + + def __init__(self): + gr.top_block.__init__(self, "Not titled yet") + Qt.QWidget.__init__(self) + self.setWindowTitle("Not titled yet") + qtgui.util.check_set_qss() + try: + self.setWindowIcon(Qt.QIcon.fromTheme('gnuradio-grc')) + except: + pass + self.top_scroll_layout = Qt.QVBoxLayout() + self.setLayout(self.top_scroll_layout) + self.top_scroll = Qt.QScrollArea() + self.top_scroll.setFrameStyle(Qt.QFrame.NoFrame) + self.top_scroll_layout.addWidget(self.top_scroll) + self.top_scroll.setWidgetResizable(True) + self.top_widget = Qt.QWidget() + self.top_scroll.setWidget(self.top_widget) + self.top_layout = Qt.QVBoxLayout(self.top_widget) + self.top_grid_layout = Qt.QGridLayout() + self.top_layout.addLayout(self.top_grid_layout) + + self.settings = Qt.QSettings("GNU Radio", "psk_tx") + + try: + if StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): + self.restoreGeometry(self.settings.value("geometry").toByteArray()) + else: + self.restoreGeometry(self.settings.value("geometry")) + except: + pass + + ################################################## + # Variables + ################################################## + self.upsampling = upsampling = 4 + self.samp_rate = samp_rate = 1.024e6 + self.rrc_coeffs = rrc_coeffs = sksdr.rrc(upsampling, 0.5, 10) + self.rf_gain = rf_gain = 40 + self.freq_correction = freq_correction = 0 + self.freq = freq = 220e6 + + ################################################## + # Blocks + ################################################## + self.soapy_sink_0 = None + if "hackrf" == 'custom': + dev = 'driver=uhd' + else: + dev = 'driver=' + "hackrf" + + self.soapy_sink_0 = soapy.sink(1, dev, '', samp_rate, "fc32", '') + + self.soapy_sink_0.set_gain_mode(0,True) + self.soapy_sink_0.set_gain_mode(1,False) + + self.soapy_sink_0.set_frequency(0, freq) + self.soapy_sink_0.set_frequency(1, 100.0e6) + + # Made antenna sanity check more generic + antList = self.soapy_sink_0.listAntennas(0) + + if len(antList) > 1: + # If we have more than 1 possible antenna + if len('TX') == 0 or 'TX' not in antList: + print("ERROR: Please define ant0 to an allowed antenna name.") + strAntList = str(antList).lstrip('(').rstrip(')').rstrip(',') + print("Allowed antennas: " + strAntList) + exit(0) + + self.soapy_sink_0.set_antenna(0,'TX') + + if 1 > 1: + antList = self.soapy_sink_0.listAntennas(1) + # If we have more than 1 possible antenna + if len(antList) > 1: + if len('TX') == 0 or 'TX' not in antList: + print("ERROR: Please define ant1 to an allowed antenna name.") + strAntList = str(antList).lstrip('(').rstrip(')').rstrip(',') + print("Allowed antennas: " + strAntList) + exit(0) + + self.soapy_sink_0.set_antenna(1,'TX') + + # Setup IQ Balance + if "hackrf" != 'uhd': + if (self.soapy_sink_0.IQ_balance_support(0)): + self.soapy_sink_0.set_iq_balance(0,0) + + if (self.soapy_sink_0.IQ_balance_support(1)): + self.soapy_sink_0.set_iq_balance(1,0) + + # Setup Frequency correction + if (self.soapy_sink_0.freq_correction_support(0)): + self.soapy_sink_0.set_frequency_correction(0,0) + + if (self.soapy_sink_0.freq_correction_support(1)): + self.soapy_sink_0.set_frequency_correction(1,0) + + if "hackrf" == 'sidekiq' or "True" == 'False': + self.soapy_sink_0.set_gain(0,rf_gain) + self.soapy_sink_0.set_gain(1,0) + else: + if "hackrf" == 'bladerf': + self.soapy_sink_0.set_gain(0,"txvga1", -35) + self.soapy_sink_0.set_gain(0,"txvga2", 0) + elif "hackrf" == 'uhd': + self.soapy_sink_0.set_gain(0,"PGA", 24) + self.soapy_sink_0.set_gain(1,"PGA", 0) + else: + self.soapy_sink_0.set_gain(0,"PGA", 24) + self.soapy_sink_0.set_gain(1,"PGA", 0) + self.soapy_sink_0.set_gain(0,"PAD", 0) + self.soapy_sink_0.set_gain(1,"PAD", 0) + self.soapy_sink_0.set_gain(0,"IAMP", 0) + self.soapy_sink_0.set_gain(1,"IAMP", 0) + self.soapy_sink_0.set_gain(0,"txvga1", -35) + self.soapy_sink_0.set_gain(0,"txvga2", 0) + # Only hackrf uses VGA name, so just ch0 + self.soapy_sink_0.set_gain(0,"VGA", rf_gain) + self.qtgui_time_sink_x_1_0 = qtgui.time_sink_f( + 1024, #size + samp_rate, #samp_rate + "", #name + 1 #number of inputs + ) + self.qtgui_time_sink_x_1_0.set_update_time(0.10) + self.qtgui_time_sink_x_1_0.set_y_axis(-1, 1) + + self.qtgui_time_sink_x_1_0.set_y_label('Amplitude', "") + + self.qtgui_time_sink_x_1_0.enable_tags(True) + self.qtgui_time_sink_x_1_0.set_trigger_mode(qtgui.TRIG_MODE_FREE, qtgui.TRIG_SLOPE_POS, 0.0, 0, 0, "") + self.qtgui_time_sink_x_1_0.enable_autoscale(False) + self.qtgui_time_sink_x_1_0.enable_grid(False) + self.qtgui_time_sink_x_1_0.enable_axis_labels(True) + self.qtgui_time_sink_x_1_0.enable_control_panel(False) + self.qtgui_time_sink_x_1_0.enable_stem_plot(False) + + + labels = ['Signal 1', 'Signal 2', 'Signal 3', 'Signal 4', 'Signal 5', + 'Signal 6', 'Signal 7', 'Signal 8', 'Signal 9', 'Signal 10'] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ['blue', 'red', 'green', 'black', 'cyan', + 'magenta', 'yellow', 'dark red', 'dark green', 'dark blue'] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + styles = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + markers = [0, -1, -1, -1, -1, + -1, -1, -1, -1, -1] + + + for i in range(1): + if len(labels[i]) == 0: + self.qtgui_time_sink_x_1_0.set_line_label(i, "Data {0}".format(i)) + else: + self.qtgui_time_sink_x_1_0.set_line_label(i, labels[i]) + self.qtgui_time_sink_x_1_0.set_line_width(i, widths[i]) + self.qtgui_time_sink_x_1_0.set_line_color(i, colors[i]) + self.qtgui_time_sink_x_1_0.set_line_style(i, styles[i]) + self.qtgui_time_sink_x_1_0.set_line_marker(i, markers[i]) + self.qtgui_time_sink_x_1_0.set_line_alpha(i, alphas[i]) + + self._qtgui_time_sink_x_1_0_win = sip.wrapinstance(self.qtgui_time_sink_x_1_0.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_time_sink_x_1_0_win) + self.qtgui_time_sink_x_1 = qtgui.time_sink_c( + 1024, #size + samp_rate, #samp_rate + "", #name + 1 #number of inputs + ) + self.qtgui_time_sink_x_1.set_update_time(0.10) + self.qtgui_time_sink_x_1.set_y_axis(-1, 1) + + self.qtgui_time_sink_x_1.set_y_label('Amplitude', "") + + self.qtgui_time_sink_x_1.enable_tags(True) + self.qtgui_time_sink_x_1.set_trigger_mode(qtgui.TRIG_MODE_FREE, qtgui.TRIG_SLOPE_POS, 0.0, 0, 0, "") + self.qtgui_time_sink_x_1.enable_autoscale(False) + self.qtgui_time_sink_x_1.enable_grid(False) + self.qtgui_time_sink_x_1.enable_axis_labels(True) + self.qtgui_time_sink_x_1.enable_control_panel(False) + self.qtgui_time_sink_x_1.enable_stem_plot(False) + + + labels = ['Signal 1', 'Signal 2', 'Signal 3', 'Signal 4', 'Signal 5', + 'Signal 6', 'Signal 7', 'Signal 8', 'Signal 9', 'Signal 10'] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ['blue', 'red', 'green', 'black', 'cyan', + 'magenta', 'yellow', 'dark red', 'dark green', 'dark blue'] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + styles = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + markers = [0, 0, -1, -1, -1, + -1, -1, -1, -1, -1] + + + for i in range(2): + if len(labels[i]) == 0: + if (i % 2 == 0): + self.qtgui_time_sink_x_1.set_line_label(i, "Re{{Data {0}}}".format(i/2)) + else: + self.qtgui_time_sink_x_1.set_line_label(i, "Im{{Data {0}}}".format(i/2)) + else: + self.qtgui_time_sink_x_1.set_line_label(i, labels[i]) + self.qtgui_time_sink_x_1.set_line_width(i, widths[i]) + self.qtgui_time_sink_x_1.set_line_color(i, colors[i]) + self.qtgui_time_sink_x_1.set_line_style(i, styles[i]) + self.qtgui_time_sink_x_1.set_line_marker(i, markers[i]) + self.qtgui_time_sink_x_1.set_line_alpha(i, alphas[i]) + + self._qtgui_time_sink_x_1_win = sip.wrapinstance(self.qtgui_time_sink_x_1.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_time_sink_x_1_win) + self.qtgui_const_sink_x_0 = qtgui.const_sink_c( + 1024, #size + "", #name + 1 #number of inputs + ) + self.qtgui_const_sink_x_0.set_update_time(0.10) + self.qtgui_const_sink_x_0.set_y_axis(-2, 2) + self.qtgui_const_sink_x_0.set_x_axis(-2, 2) + self.qtgui_const_sink_x_0.set_trigger_mode(qtgui.TRIG_MODE_FREE, qtgui.TRIG_SLOPE_POS, 0.0, 0, "") + self.qtgui_const_sink_x_0.enable_autoscale(False) + self.qtgui_const_sink_x_0.enable_grid(False) + self.qtgui_const_sink_x_0.enable_axis_labels(True) + + + labels = ['', '', '', '', '', + '', '', '', '', ''] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ["blue", "red", "red", "red", "red", + "red", "red", "red", "red", "red"] + styles = [0, 0, 0, 0, 0, + 0, 0, 0, 0, 0] + markers = [0, 0, 0, 0, 0, + 0, 0, 0, 0, 0] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + + for i in range(1): + if len(labels[i]) == 0: + self.qtgui_const_sink_x_0.set_line_label(i, "Data {0}".format(i)) + else: + self.qtgui_const_sink_x_0.set_line_label(i, labels[i]) + self.qtgui_const_sink_x_0.set_line_width(i, widths[i]) + self.qtgui_const_sink_x_0.set_line_color(i, colors[i]) + self.qtgui_const_sink_x_0.set_line_style(i, styles[i]) + self.qtgui_const_sink_x_0.set_line_marker(i, markers[i]) + self.qtgui_const_sink_x_0.set_line_alpha(i, alphas[i]) + + self._qtgui_const_sink_x_0_win = sip.wrapinstance(self.qtgui_const_sink_x_0.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_const_sink_x_0_win) + self.interp_fir_filter_xxx_1 = filter.interp_fir_filter_ccc(upsampling, rrc_coeffs) + self.interp_fir_filter_xxx_1.declare_sample_delay(0) + self.digital_chunks_to_symbols_xx_0 = digital.chunks_to_symbols_bc([1+1j, -1+1j, 1-1j, -1-1j]/np.sqrt(2), 1) + self.blocks_packed_to_unpacked_xx_0 = blocks.packed_to_unpacked_bb(2, gr.GR_MSB_FIRST) + self.blocks_file_source_0 = blocks.file_source(gr.sizeof_char*1, 'test.dat', True, 0, 0) + self.blocks_file_source_0.set_begin_tag(pmt.PMT_NIL) + self.blocks_char_to_float_0 = blocks.char_to_float(1, 1) + + + + ################################################## + # Connections + ################################################## + self.connect((self.blocks_char_to_float_0, 0), (self.qtgui_time_sink_x_1_0, 0)) + self.connect((self.blocks_file_source_0, 0), (self.blocks_packed_to_unpacked_xx_0, 0)) + self.connect((self.blocks_packed_to_unpacked_xx_0, 0), (self.blocks_char_to_float_0, 0)) + self.connect((self.blocks_packed_to_unpacked_xx_0, 0), (self.digital_chunks_to_symbols_xx_0, 0)) + self.connect((self.digital_chunks_to_symbols_xx_0, 0), (self.interp_fir_filter_xxx_1, 0)) + self.connect((self.interp_fir_filter_xxx_1, 0), (self.qtgui_const_sink_x_0, 0)) + self.connect((self.interp_fir_filter_xxx_1, 0), (self.qtgui_time_sink_x_1, 0)) + self.connect((self.interp_fir_filter_xxx_1, 0), (self.soapy_sink_0, 0)) + + + def closeEvent(self, event): + self.settings = Qt.QSettings("GNU Radio", "psk_tx") + self.settings.setValue("geometry", self.saveGeometry()) + event.accept() + + def get_upsampling(self): + return self.upsampling + + def set_upsampling(self, upsampling): + self.upsampling = upsampling + self.set_rrc_coeffs(sksdr.rrc(self.upsampling, 0.5, 10)) + + def get_samp_rate(self): + return self.samp_rate + + def set_samp_rate(self, samp_rate): + self.samp_rate = samp_rate + self.qtgui_time_sink_x_1.set_samp_rate(self.samp_rate) + self.qtgui_time_sink_x_1_0.set_samp_rate(self.samp_rate) + + def get_rrc_coeffs(self): + return self.rrc_coeffs + + def set_rrc_coeffs(self, rrc_coeffs): + self.rrc_coeffs = rrc_coeffs + self.interp_fir_filter_xxx_1.set_taps(self.rrc_coeffs) + + def get_rf_gain(self): + return self.rf_gain + + def set_rf_gain(self, rf_gain): + self.rf_gain = rf_gain + self.soapy_sink_0.set_gain(0,self.rf_gain) + self.soapy_sink_0.set_gain(0,"VGA", self.rf_gain) + + def get_freq_correction(self): + return self.freq_correction + + def set_freq_correction(self, freq_correction): + self.freq_correction = freq_correction + + def get_freq(self): + return self.freq + + def set_freq(self, freq): + self.freq = freq + self.soapy_sink_0.set_frequency(0, self.freq) + + + + + +def main(top_block_cls=psk_tx, options=None): + + if StrictVersion("4.5.0") <= StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): + style = gr.prefs().get_string('qtgui', 'style', 'raster') + Qt.QApplication.setGraphicsSystem(style) + qapp = Qt.QApplication(sys.argv) + + tb = top_block_cls() + + tb.start() + + tb.show() + + def sig_handler(sig=None, frame=None): + Qt.QApplication.quit() + + signal.signal(signal.SIGINT, sig_handler) + signal.signal(signal.SIGTERM, sig_handler) + + timer = Qt.QTimer() + timer.start(500) + timer.timeout.connect(lambda: None) + + def quitting(): + tb.stop() + tb.wait() + + qapp.aboutToQuit.connect(quitting) + qapp.exec_() + +if __name__ == '__main__': + main() diff --git a/gnuradio/demo/psk_tx_mine.grc b/gnuradio/demo/psk_tx_mine.grc new file mode 100644 index 0000000..a09981c --- /dev/null +++ b/gnuradio/demo/psk_tx_mine.grc @@ -0,0 +1,1326 @@ +options: + parameters: + author: '' + category: '[GRC Hier Blocks]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: qt_gui + hier_block_src_path: '.:' + id: psk_tx_mine + max_nouts: '0' + output_language: python + placement: (0,0) + qt_qss_theme: '' + realtime_scheduling: '' + run: 'True' + run_command: '{python} -u {filename}' + run_options: prompt + sizing_mode: fixed + thread_safe_setters: '' + title: PSK Transmitter + window_size: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: fec_ndata + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1128, 92.0] + rotation: 0 + state: enabled +- name: fec_ntotal + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1040, 92.0] + rotation: 0 + state: enabled +- name: fec_rate + id: variable + parameters: + comment: '' + value: fec_ntotal / fec_ndata + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1216, 92.0] + rotation: 0 + state: enabled +- name: fill_size_bits + id: variable + parameters: + comment: '' + value: payload_size_bits - msg_size_bits + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [280, 92.0] + rotation: 0 + state: enabled +- name: frac_resampling + id: variable + parameters: + comment: '' + value: 1/5 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [480, 12.0] + rotation: 0 + state: enabled +- name: frame_size_bits + id: variable + parameters: + comment: '' + value: '250' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [648, 92.0] + rotation: 0 + state: enabled +- name: frame_size_samples + id: variable + parameters: + comment: '' + value: frame_size_symbols * upsampling + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [904, 92.0] + rotation: 0 + state: enabled +- name: frame_size_symbols + id: variable + parameters: + comment: '' + value: int(frame_size_bits / modulation.bits_per_symbol) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [768, 92.0] + rotation: 0 + state: enabled +- name: freq + id: variable + parameters: + comment: '' + value: 220e6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [600, 12.0] + rotation: 0 + state: enabled +- name: freq_correction + id: variable + parameters: + comment: '' + value: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [688, 12.0] + rotation: 0 + state: enabled +- name: mod_amplitude + id: variable + parameters: + comment: '' + value: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [768, 164.0] + rotation: 0 + state: enabled +- name: mod_labels + id: variable + parameters: + comment: '' + value: '[0, 1, 3, 2]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [664, 164.0] + rotation: 0 + state: enabled +- name: mod_phase_offset + id: variable + parameters: + comment: '' + value: np.pi / 4 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [888, 164.0] + rotation: 0 + state: enabled +- name: modulation + id: variable + parameters: + comment: '' + value: sksdr.QPSK + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [488, 164.0] + rotation: 0 + state: enabled +- name: msg_size + id: variable + parameters: + comment: '' + value: txt_size + 4 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [88, 92.0] + rotation: 0 + state: enabled +- name: msg_size_bits + id: variable + parameters: + comment: '' + value: msg_size * 8 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [176, 92.0] + rotation: 0 + state: enabled +- name: payload_fec_size_bits + id: variable + parameters: + comment: '' + value: int(payload_size_bits * fec_rate) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [504, 92.0] + rotation: 0 + state: enabled +- name: payload_size_bits + id: variable + parameters: + comment: '' + value: '224' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [376, 92.0] + rotation: 0 + state: enabled +- name: preamble + id: variable + parameters: + comment: '' + value: np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [304, 164.0] + rotation: 0 + state: enabled +- name: rf_gain + id: variable + parameters: + comment: '' + value: '40' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [808, 12.0] + rotation: 0 + state: enabled +- name: rrc_coeffs + id: variable + parameters: + comment: '' + value: sksdr.rrc(upsampling, 0.5, 10) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [120, 164.0] + rotation: 0 + state: enabled +- name: samp_rate + id: variable + parameters: + comment: '' + value: 1.024e6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [384, 12.0] + rotation: 0 + state: enabled +- name: txt_size + id: variable + parameters: + comment: '' + value: '11' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 92.0] + rotation: 0 + state: enabled +- name: upsampling + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 164.0] + rotation: 0 + state: enabled +- name: blocks_char_to_float_0 + id: blocks_char_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + scale: '1' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [200, 284.0] + rotation: 0 + state: disabled +- name: blocks_char_to_float_1 + id: blocks_char_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + scale: '1' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [992, 248.0] + rotation: 0 + state: disabled +- name: blocks_char_to_float_1_0 + id: blocks_char_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + scale: '1' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [248, 620.0] + rotation: 0 + state: disabled +- name: blocks_file_source_0 + id: blocks_file_source + parameters: + affinity: '' + alias: '' + begin_tag: pmt.PMT_NIL + comment: '' + file: test.dat + length: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + repeat: 'True' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [48, 372.0] + rotation: 0 + state: disabled +- name: blocks_file_source_0_0 + id: blocks_file_source + parameters: + affinity: '' + alias: '' + begin_tag: pmt.PMT_NIL + comment: '' + file: msg.txt + length: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + repeat: 'True' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [48, 516.0] + rotation: 0 + state: enabled +- name: blocks_null_sink_0 + id: blocks_null_sink + parameters: + affinity: '' + alias: '' + bus_structure_sink: '[[0,],]' + comment: '' + num_inputs: '1' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [872, 304.0] + rotation: 0 + state: disabled +- name: blocks_packed_to_unpacked_xx_0 + id: blocks_packed_to_unpacked_xx + parameters: + affinity: '' + alias: '' + bits_per_chunk: '1' + comment: '' + endianness: gr.GR_MSB_FIRST + maxoutbuf: '0' + minoutbuf: '0' + num_ports: '1' + type: byte + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [232, 396.0] + rotation: 0 + state: disabled +- name: blocks_stream_mux_0 + id: blocks_stream_mux + parameters: + affinity: '' + alias: '' + comment: '' + lengths: '[len(preamble), payload_fec_size_bits]' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [880, 696.0] + rotation: 0 + state: enabled +- name: blocks_vector_source_x_0 + id: blocks_vector_source_x + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + repeat: 'True' + tags: '[]' + type: byte + vector: preamble + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [512, 628.0] + rotation: 0 + state: enabled +- name: epy_block_0 + id: epy_block + parameters: + _source_code: "\"\"\"\nEmbedded Python Blocks:\n\nEach time this file is saved,\ + \ GRC will instantiate the first class it finds\nto get ports and parameters\ + \ of your block. The arguments to __init__ will\nbe the parameters. All of\ + \ them are required to have default values!\n\"\"\"\nimport logging\nfrom logging\ + \ import DEBUG\n\nimport numpy as np\n\nimport sksdr\nfrom gnuradio import gr\n\ + \n_log = logging.getLogger(__name__)\n#_log.setLevel(logging.DEBUG)\n\nclass\ + \ blk(gr.basic_block):\n \"\"\"\n \"\"\"\n def __init__(self, txt_size=11,\ + \ payload_size=224):\n self.payload_size = payload_size\n self.txt_size\ + \ = txt_size\n self.counter = 0\n gr.basic_block.__init__(self,\n\ + \ name='build_frame',\n \ + \ in_sig=[(np.uint8)],\n out_sig=[(np.uint8)])\n\ + \ self.set_output_multiple(self.payload_size)\n\n def forecast(self,\ + \ noutput_items, ninput_items_required):\n # setup size of input_items[i]\ + \ for work call\n for i in range(len(ninput_items_required)):\n \ + \ ninput_items_required[i] = noutput_items\n\n def general_work(self,\ + \ input_items, output_items):\n in0 = input_items[0]\n out = output_items[0]\n\ + \ # print('len(in0), len(out): {}, {}'.format(len(in0), len(out)))\n\ + \ for xstart, ystart in zip(range(0, len(in0), self.txt_size), range(0,\ + \ len(out), self.payload_size)):\n xend = xstart + self.txt_size\n\ + \ bin_txt = sksdr.x2binlist(in0[xstart:xend], 8)\n yend\ + \ = ystart + len(bin_txt)\n out[ystart:yend] = bin_txt\n \ + \ bin_counter = sksdr.x2binlist(' {:03d}'.format(self.counter % 100), 8)\n\ + \ y = yend\n yend = y + len(bin_counter)\n \ + \ out[y:yend] = bin_counter\n fill = np.random.randint(0, 1, self.payload_size\ + \ - (yend - ystart))\n y = yend\n yend = y + len(fill)\n\ + \ out[y:yend] = fill\n # print('ystart, yend: {}, {}'.format(ystart,\ + \ yend))\n # print('out[ystart:yend]: {}'.format(out[ystart:yend]))\n\ + \ self.counter += 1\n # print('xend, yend: {}, {}'.format(xend,\ + \ yend))\n self.consume(0, xend)\n return yend\n\n" + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + payload_size: payload_size_bits + txt_size: txt_size + states: + _io_cache: ('build_frame', 'blk', [('txt_size', '11'), ('payload_size', '224')], + [('0', 'byte', 1)], [('0', 'byte', 1)], '\n ', ['payload_size', 'txt_size']) + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [80, 716.0] + rotation: 0 + state: enabled +- name: grsksdr_fir_interpolator_0 + id: grsksdr_fir_interpolator + parameters: + affinity: '' + alias: '' + coeffs: rrc_coeffs + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + upsampling: upsampling + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [720, 404.0] + rotation: 0 + state: true +- name: grsksdr_hamming_encoder_0 + id: grsksdr_hamming_encoder + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + ndata: fec_ndata + ntotal: fec_ntotal + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [672, 764.0] + rotation: 0 + state: disabled +- name: grsksdr_psk_mod_0 + id: grsksdr_psk_mod + parameters: + affinity: '' + alias: '' + amplitude: mod_amplitude + comment: '' + labels: mod_labels + maxoutbuf: '0' + minoutbuf: '0' + modulation: '''sksdr.QPSK''' + phase_offset: mod_phase_offset + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [512, 388.0] + rotation: 0 + state: true +- name: grsksdr_scrambler_0 + id: grsksdr_scrambler + parameters: + affinity: '' + alias: '' + comment: '' + init_state: '[0, 1, 1, 0]' + maxoutbuf: '0' + minoutbuf: '0' + poly: '[1, 1, 1, 0, 1]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [512, 716.0] + rotation: 0 + state: enabled +- name: import_0 + id: import + parameters: + alias: '' + comment: '' + imports: import numpy as np + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [192, 12.0] + rotation: 0 + state: true +- name: import_1 + id: import + parameters: + alias: '' + comment: '' + imports: import sksdr + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [272, 12.0] + rotation: 0 + state: true +- name: mmse_resampler_xx_0 + id: mmse_resampler_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + phase_shift: '0' + resamp_ratio: frac_resampling + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [928, 488.0] + rotation: 0 + state: enabled +- name: qtgui_const_sink_x_0 + id: qtgui_const_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: '"blue"' + color10: '"red"' + color2: '"red"' + color3: '"red"' + color4: '"red"' + color5: '"red"' + color6: '"red"' + color7: '"red"' + color8: '"red"' + color9: '"red"' + comment: '' + grid: 'False' + gui_hint: '' + label1: '' + label10: '' + label2: '' + label3: '' + label4: '' + label5: '' + label6: '' + label7: '' + label8: '' + label9: '' + legend: 'True' + marker1: '0' + marker10: '0' + marker2: '0' + marker3: '0' + marker4: '0' + marker5: '0' + marker6: '0' + marker7: '0' + marker8: '0' + marker9: '0' + name: '""' + nconnections: '1' + size: '1024' + style1: '0' + style10: '0' + style2: '0' + style3: '0' + style4: '0' + style5: '0' + style6: '0' + style7: '0' + style8: '0' + style9: '0' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: complex + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + xmax: '2' + xmin: '-2' + ymax: '2' + ymin: '-2' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1224, 412.0] + rotation: 0 + state: disabled +- name: qtgui_freq_sink_x_0 + id: qtgui_freq_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + average: '1.0' + axislabels: 'True' + bw: samp_rate + color1: '"blue"' + color10: '"dark blue"' + color2: '"red"' + color3: '"green"' + color4: '"black"' + color5: '"cyan"' + color6: '"magenta"' + color7: '"yellow"' + color8: '"dark red"' + color9: '"dark green"' + comment: '' + ctrlpanel: 'False' + fc: '0' + fftsize: '1024' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + label: Relative Gain + label1: '' + label10: '''''' + label2: '''''' + label3: '''''' + label4: '''''' + label5: '''''' + label6: '''''' + label7: '''''' + label8: '''''' + label9: '''''' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + showports: 'False' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_tag: '""' + type: complex + units: dB + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + wintype: firdes.WIN_BLACKMAN_hARRIS + ymax: '10' + ymin: '-140' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1232, 488.0] + rotation: 0 + state: true +- name: qtgui_time_sink_x_1 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '0' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: complex + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1232, 300.0] + rotation: 0 + state: enabled +- name: qtgui_time_sink_x_1_0 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [360, 268.0] + rotation: 0 + state: disabled +- name: qtgui_time_sink_x_1_1 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '0' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1248, 188.0] + rotation: 0 + state: disabled +- name: qtgui_time_sink_x_1_1_0 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '0' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [360, 524.0] + rotation: 0 + state: disabled +- name: snippet_0 + id: snippet + parameters: + alias: '' + code: 'import logging + + logging.getLogger(''grsksdr.hamming_encoder'').setLevel(logging.DEBUG)' + comment: '' + priority: '' + section: main_after_init + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [896, 12.0] + rotation: 0 + state: true +- name: soapy_sink_0 + id: soapy_sink + parameters: + affinity: '' + alias: '' + amp_gain0: '0' + ant0: TX + ant1: TX + args: '' + balance0: '0' + balance1: '0' + bw0: '0' + bw1: '0' + center_freq0: freq + center_freq1: 100.0e6 + clock_rate: '0' + clock_source: '' + comment: '' + correction0: '0' + correction1: '0' + dc_offset0: '0' + dc_offset1: '0' + dc_offset_auto_mode0: 'False' + dc_offset_auto_mode1: 'False' + dev: driver=uhd + devname: hackrf + gain_auto_mode0: 'True' + gain_auto_mode1: 'False' + iamp_gain0: '0' + iamp_gain1: '0' + length_tag_name: '' + manual_gain0: 'True' + manual_gain1: 'True' + nchan: '1' + nco_freq0: '0' + nco_freq1: '0' + overall_gain0: rf_gain + overall_gain1: '0' + pad_gain0: '0' + pad_gain1: '0' + pga_gain0: '24' + pga_gain1: '0' + samp_rate: samp_rate + txvga1_gain: '-35' + txvga2_gain: '0' + type: fc32 + vga_gain0: rf_gain + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1232, 604.0] + rotation: 0 + state: enabled +- name: stream_demux_stream_demux_0 + id: stream_demux_stream_demux + parameters: + affinity: '' + alias: '' + comment: '' + lengths: 1, 1 + maxoutbuf: '0' + minoutbuf: '0' + num_outputs: '2' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [656, 288.0] + rotation: 0 + state: disabled + +connections: +- [blocks_char_to_float_0, '0', qtgui_time_sink_x_1_0, '0'] +- [blocks_char_to_float_1, '0', qtgui_time_sink_x_1_1, '0'] +- [blocks_char_to_float_1_0, '0', qtgui_time_sink_x_1_1_0, '0'] +- [blocks_file_source_0, '0', blocks_packed_to_unpacked_xx_0, '0'] +- [blocks_file_source_0_0, '0', epy_block_0, '0'] +- [blocks_packed_to_unpacked_xx_0, '0', blocks_char_to_float_0, '0'] +- [blocks_stream_mux_0, '0', grsksdr_psk_mod_0, '0'] +- [blocks_vector_source_x_0, '0', blocks_stream_mux_0, '0'] +- [epy_block_0, '0', blocks_char_to_float_1_0, '0'] +- [epy_block_0, '0', grsksdr_scrambler_0, '0'] +- [grsksdr_fir_interpolator_0, '0', mmse_resampler_xx_0, '0'] +- [grsksdr_fir_interpolator_0, '0', qtgui_freq_sink_x_0, '0'] +- [grsksdr_fir_interpolator_0, '0', qtgui_time_sink_x_1, '0'] +- [grsksdr_psk_mod_0, '0', grsksdr_fir_interpolator_0, '0'] +- [grsksdr_scrambler_0, '0', blocks_stream_mux_0, '1'] +- [mmse_resampler_xx_0, '0', qtgui_const_sink_x_0, '0'] +- [mmse_resampler_xx_0, '0', soapy_sink_0, '0'] + +metadata: + file_format: 1 diff --git a/gnuradio/demo/psk_tx_mine.py b/gnuradio/demo/psk_tx_mine.py new file mode 100755 index 0000000..1ba84d1 --- /dev/null +++ b/gnuradio/demo/psk_tx_mine.py @@ -0,0 +1,512 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# +# SPDX-License-Identifier: GPL-3.0 +# +# GNU Radio Python Flow Graph +# Title: PSK Transmitter +# GNU Radio version: 3.8.2.0 + +from distutils.version import StrictVersion + +if __name__ == '__main__': + import ctypes + import sys + if sys.platform.startswith('linux'): + try: + x11 = ctypes.cdll.LoadLibrary('libX11.so') + x11.XInitThreads() + except: + print("Warning: failed to XInitThreads()") + +from PyQt5 import Qt +from gnuradio import qtgui +from gnuradio.filter import firdes +import sip +from gnuradio import blocks +import pmt +from gnuradio import filter +from gnuradio import gr +import sys +import signal +from argparse import ArgumentParser +from gnuradio.eng_arg import eng_float, intx +from gnuradio import eng_notation +import epy_block_0 +import grsksdr +import numpy as np +import sksdr +import soapy + +from gnuradio import qtgui + +class psk_tx_mine(gr.top_block, Qt.QWidget): + + def __init__(self): + gr.top_block.__init__(self, "PSK Transmitter") + Qt.QWidget.__init__(self) + self.setWindowTitle("PSK Transmitter") + qtgui.util.check_set_qss() + try: + self.setWindowIcon(Qt.QIcon.fromTheme('gnuradio-grc')) + except: + pass + self.top_scroll_layout = Qt.QVBoxLayout() + self.setLayout(self.top_scroll_layout) + self.top_scroll = Qt.QScrollArea() + self.top_scroll.setFrameStyle(Qt.QFrame.NoFrame) + self.top_scroll_layout.addWidget(self.top_scroll) + self.top_scroll.setWidgetResizable(True) + self.top_widget = Qt.QWidget() + self.top_scroll.setWidget(self.top_widget) + self.top_layout = Qt.QVBoxLayout(self.top_widget) + self.top_grid_layout = Qt.QGridLayout() + self.top_layout.addLayout(self.top_grid_layout) + + self.settings = Qt.QSettings("GNU Radio", "psk_tx_mine") + + try: + if StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): + self.restoreGeometry(self.settings.value("geometry").toByteArray()) + else: + self.restoreGeometry(self.settings.value("geometry")) + except: + pass + + ################################################## + # Variables + ################################################## + self.txt_size = txt_size = 11 + self.msg_size = msg_size = txt_size + 4 + self.modulation = modulation = sksdr.QPSK + self.frame_size_bits = frame_size_bits = 250 + self.fec_ntotal = fec_ntotal = 4 + self.fec_ndata = fec_ndata = 4 + self.upsampling = upsampling = 4 + self.payload_size_bits = payload_size_bits = 224 + self.msg_size_bits = msg_size_bits = msg_size * 8 + self.frame_size_symbols = frame_size_symbols = int(frame_size_bits / modulation.bits_per_symbol) + self.fec_rate = fec_rate = fec_ntotal / fec_ndata + self.samp_rate = samp_rate = 1.024e6 + self.rrc_coeffs = rrc_coeffs = sksdr.rrc(upsampling, 0.5, 10) + self.rf_gain = rf_gain = 40 + self.preamble = preamble = np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) + self.payload_fec_size_bits = payload_fec_size_bits = int(payload_size_bits * fec_rate) + self.mod_phase_offset = mod_phase_offset = np.pi / 4 + self.mod_labels = mod_labels = [0, 1, 3, 2] + self.mod_amplitude = mod_amplitude = 1 + self.freq_correction = freq_correction = 0 + self.freq = freq = 220e6 + self.frame_size_samples = frame_size_samples = frame_size_symbols * upsampling + self.frac_resampling = frac_resampling = 1/5 + self.fill_size_bits = fill_size_bits = payload_size_bits - msg_size_bits + + ################################################## + # Blocks + ################################################## + self.soapy_sink_0 = None + if "hackrf" == 'custom': + dev = 'driver=uhd' + else: + dev = 'driver=' + "hackrf" + + self.soapy_sink_0 = soapy.sink(1, dev, '', samp_rate, "fc32", '') + + self.soapy_sink_0.set_gain_mode(0,True) + self.soapy_sink_0.set_gain_mode(1,False) + + self.soapy_sink_0.set_frequency(0, freq) + self.soapy_sink_0.set_frequency(1, 100.0e6) + + # Made antenna sanity check more generic + antList = self.soapy_sink_0.listAntennas(0) + + if len(antList) > 1: + # If we have more than 1 possible antenna + if len('TX') == 0 or 'TX' not in antList: + print("ERROR: Please define ant0 to an allowed antenna name.") + strAntList = str(antList).lstrip('(').rstrip(')').rstrip(',') + print("Allowed antennas: " + strAntList) + exit(0) + + self.soapy_sink_0.set_antenna(0,'TX') + + if 1 > 1: + antList = self.soapy_sink_0.listAntennas(1) + # If we have more than 1 possible antenna + if len(antList) > 1: + if len('TX') == 0 or 'TX' not in antList: + print("ERROR: Please define ant1 to an allowed antenna name.") + strAntList = str(antList).lstrip('(').rstrip(')').rstrip(',') + print("Allowed antennas: " + strAntList) + exit(0) + + self.soapy_sink_0.set_antenna(1,'TX') + + # Setup IQ Balance + if "hackrf" != 'uhd': + if (self.soapy_sink_0.IQ_balance_support(0)): + self.soapy_sink_0.set_iq_balance(0,0) + + if (self.soapy_sink_0.IQ_balance_support(1)): + self.soapy_sink_0.set_iq_balance(1,0) + + # Setup Frequency correction + if (self.soapy_sink_0.freq_correction_support(0)): + self.soapy_sink_0.set_frequency_correction(0,0) + + if (self.soapy_sink_0.freq_correction_support(1)): + self.soapy_sink_0.set_frequency_correction(1,0) + + if "hackrf" == 'sidekiq' or "True" == 'False': + self.soapy_sink_0.set_gain(0,rf_gain) + self.soapy_sink_0.set_gain(1,0) + else: + if "hackrf" == 'bladerf': + self.soapy_sink_0.set_gain(0,"txvga1", -35) + self.soapy_sink_0.set_gain(0,"txvga2", 0) + elif "hackrf" == 'uhd': + self.soapy_sink_0.set_gain(0,"PGA", 24) + self.soapy_sink_0.set_gain(1,"PGA", 0) + else: + self.soapy_sink_0.set_gain(0,"PGA", 24) + self.soapy_sink_0.set_gain(1,"PGA", 0) + self.soapy_sink_0.set_gain(0,"PAD", 0) + self.soapy_sink_0.set_gain(1,"PAD", 0) + self.soapy_sink_0.set_gain(0,"IAMP", 0) + self.soapy_sink_0.set_gain(1,"IAMP", 0) + self.soapy_sink_0.set_gain(0,"txvga1", -35) + self.soapy_sink_0.set_gain(0,"txvga2", 0) + # Only hackrf uses VGA name, so just ch0 + self.soapy_sink_0.set_gain(0,"VGA", rf_gain) + self.qtgui_time_sink_x_1 = qtgui.time_sink_c( + 1024, #size + samp_rate, #samp_rate + "", #name + 1 #number of inputs + ) + self.qtgui_time_sink_x_1.set_update_time(0.10) + self.qtgui_time_sink_x_1.set_y_axis(-1, 1) + + self.qtgui_time_sink_x_1.set_y_label('Amplitude', "") + + self.qtgui_time_sink_x_1.enable_tags(True) + self.qtgui_time_sink_x_1.set_trigger_mode(qtgui.TRIG_MODE_FREE, qtgui.TRIG_SLOPE_POS, 0.0, 0, 0, "") + self.qtgui_time_sink_x_1.enable_autoscale(False) + self.qtgui_time_sink_x_1.enable_grid(False) + self.qtgui_time_sink_x_1.enable_axis_labels(True) + self.qtgui_time_sink_x_1.enable_control_panel(False) + self.qtgui_time_sink_x_1.enable_stem_plot(False) + + + labels = ['Signal 1', 'Signal 2', 'Signal 3', 'Signal 4', 'Signal 5', + 'Signal 6', 'Signal 7', 'Signal 8', 'Signal 9', 'Signal 10'] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ['blue', 'red', 'green', 'black', 'cyan', + 'magenta', 'yellow', 'dark red', 'dark green', 'dark blue'] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + styles = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + markers = [0, 0, -1, -1, -1, + -1, -1, -1, -1, -1] + + + for i in range(2): + if len(labels[i]) == 0: + if (i % 2 == 0): + self.qtgui_time_sink_x_1.set_line_label(i, "Re{{Data {0}}}".format(i/2)) + else: + self.qtgui_time_sink_x_1.set_line_label(i, "Im{{Data {0}}}".format(i/2)) + else: + self.qtgui_time_sink_x_1.set_line_label(i, labels[i]) + self.qtgui_time_sink_x_1.set_line_width(i, widths[i]) + self.qtgui_time_sink_x_1.set_line_color(i, colors[i]) + self.qtgui_time_sink_x_1.set_line_style(i, styles[i]) + self.qtgui_time_sink_x_1.set_line_marker(i, markers[i]) + self.qtgui_time_sink_x_1.set_line_alpha(i, alphas[i]) + + self._qtgui_time_sink_x_1_win = sip.wrapinstance(self.qtgui_time_sink_x_1.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_time_sink_x_1_win) + self.qtgui_freq_sink_x_0 = qtgui.freq_sink_c( + 1024, #size + firdes.WIN_BLACKMAN_hARRIS, #wintype + 0, #fc + samp_rate, #bw + "", #name + 1 + ) + self.qtgui_freq_sink_x_0.set_update_time(0.10) + self.qtgui_freq_sink_x_0.set_y_axis(-140, 10) + self.qtgui_freq_sink_x_0.set_y_label('Relative Gain', 'dB') + self.qtgui_freq_sink_x_0.set_trigger_mode(qtgui.TRIG_MODE_FREE, 0.0, 0, "") + self.qtgui_freq_sink_x_0.enable_autoscale(False) + self.qtgui_freq_sink_x_0.enable_grid(False) + self.qtgui_freq_sink_x_0.set_fft_average(1.0) + self.qtgui_freq_sink_x_0.enable_axis_labels(True) + self.qtgui_freq_sink_x_0.enable_control_panel(False) + + + + labels = ['', '', '', '', '', + '', '', '', '', ''] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ["blue", "red", "green", "black", "cyan", + "magenta", "yellow", "dark red", "dark green", "dark blue"] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + + for i in range(1): + if len(labels[i]) == 0: + self.qtgui_freq_sink_x_0.set_line_label(i, "Data {0}".format(i)) + else: + self.qtgui_freq_sink_x_0.set_line_label(i, labels[i]) + self.qtgui_freq_sink_x_0.set_line_width(i, widths[i]) + self.qtgui_freq_sink_x_0.set_line_color(i, colors[i]) + self.qtgui_freq_sink_x_0.set_line_alpha(i, alphas[i]) + + self._qtgui_freq_sink_x_0_win = sip.wrapinstance(self.qtgui_freq_sink_x_0.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_freq_sink_x_0_win) + self.mmse_resampler_xx_0 = filter.mmse_resampler_cc(0, frac_resampling) + self.grsksdr_scrambler_0 = grsksdr.scrambler([1, 1, 1, 0, 1], [0, 1, 1, 0]) + self.grsksdr_psk_mod_0 = grsksdr.psk_mod('sksdr.QPSK', mod_labels, mod_amplitude, mod_phase_offset) + self.grsksdr_fir_interpolator_0 = grsksdr.fir_interpolator(upsampling, rrc_coeffs) + self.epy_block_0 = epy_block_0.blk(txt_size=txt_size, payload_size=payload_size_bits) + self.blocks_vector_source_x_0 = blocks.vector_source_b(preamble, True, 1, []) + self.blocks_stream_mux_0 = blocks.stream_mux(gr.sizeof_char*1, [len(preamble), payload_fec_size_bits]) + self.blocks_file_source_0_0 = blocks.file_source(gr.sizeof_char*1, 'msg.txt', True, 0, 0) + self.blocks_file_source_0_0.set_begin_tag(pmt.PMT_NIL) + + + + ################################################## + # Connections + ################################################## + self.connect((self.blocks_file_source_0_0, 0), (self.epy_block_0, 0)) + self.connect((self.blocks_stream_mux_0, 0), (self.grsksdr_psk_mod_0, 0)) + self.connect((self.blocks_vector_source_x_0, 0), (self.blocks_stream_mux_0, 0)) + self.connect((self.epy_block_0, 0), (self.grsksdr_scrambler_0, 0)) + self.connect((self.grsksdr_fir_interpolator_0, 0), (self.mmse_resampler_xx_0, 0)) + self.connect((self.grsksdr_fir_interpolator_0, 0), (self.qtgui_freq_sink_x_0, 0)) + self.connect((self.grsksdr_fir_interpolator_0, 0), (self.qtgui_time_sink_x_1, 0)) + self.connect((self.grsksdr_psk_mod_0, 0), (self.grsksdr_fir_interpolator_0, 0)) + self.connect((self.grsksdr_scrambler_0, 0), (self.blocks_stream_mux_0, 1)) + self.connect((self.mmse_resampler_xx_0, 0), (self.soapy_sink_0, 0)) + + + def closeEvent(self, event): + self.settings = Qt.QSettings("GNU Radio", "psk_tx_mine") + self.settings.setValue("geometry", self.saveGeometry()) + event.accept() + + def get_txt_size(self): + return self.txt_size + + def set_txt_size(self, txt_size): + self.txt_size = txt_size + self.set_msg_size(self.txt_size + 4) + self.epy_block_0.txt_size = self.txt_size + + def get_msg_size(self): + return self.msg_size + + def set_msg_size(self, msg_size): + self.msg_size = msg_size + self.set_msg_size_bits(self.msg_size * 8) + + def get_modulation(self): + return self.modulation + + def set_modulation(self, modulation): + self.modulation = modulation + + def get_frame_size_bits(self): + return self.frame_size_bits + + def set_frame_size_bits(self, frame_size_bits): + self.frame_size_bits = frame_size_bits + self.set_frame_size_symbols(int(self.frame_size_bits / modulation.bits_per_symbol)) + + def get_fec_ntotal(self): + return self.fec_ntotal + + def set_fec_ntotal(self, fec_ntotal): + self.fec_ntotal = fec_ntotal + self.set_fec_rate(self.fec_ntotal / self.fec_ndata) + + def get_fec_ndata(self): + return self.fec_ndata + + def set_fec_ndata(self, fec_ndata): + self.fec_ndata = fec_ndata + self.set_fec_rate(self.fec_ntotal / self.fec_ndata) + + def get_upsampling(self): + return self.upsampling + + def set_upsampling(self, upsampling): + self.upsampling = upsampling + self.set_frame_size_samples(self.frame_size_symbols * self.upsampling) + self.set_rrc_coeffs(sksdr.rrc(self.upsampling, 0.5, 10)) + + def get_payload_size_bits(self): + return self.payload_size_bits + + def set_payload_size_bits(self, payload_size_bits): + self.payload_size_bits = payload_size_bits + self.set_fill_size_bits(self.payload_size_bits - self.msg_size_bits) + self.set_payload_fec_size_bits(int(self.payload_size_bits * self.fec_rate)) + self.epy_block_0.payload_size = self.payload_size_bits + + def get_msg_size_bits(self): + return self.msg_size_bits + + def set_msg_size_bits(self, msg_size_bits): + self.msg_size_bits = msg_size_bits + self.set_fill_size_bits(self.payload_size_bits - self.msg_size_bits) + + def get_frame_size_symbols(self): + return self.frame_size_symbols + + def set_frame_size_symbols(self, frame_size_symbols): + self.frame_size_symbols = frame_size_symbols + self.set_frame_size_samples(self.frame_size_symbols * self.upsampling) + + def get_fec_rate(self): + return self.fec_rate + + def set_fec_rate(self, fec_rate): + self.fec_rate = fec_rate + self.set_payload_fec_size_bits(int(self.payload_size_bits * self.fec_rate)) + + def get_samp_rate(self): + return self.samp_rate + + def set_samp_rate(self, samp_rate): + self.samp_rate = samp_rate + self.qtgui_freq_sink_x_0.set_frequency_range(0, self.samp_rate) + self.qtgui_time_sink_x_1.set_samp_rate(self.samp_rate) + + def get_rrc_coeffs(self): + return self.rrc_coeffs + + def set_rrc_coeffs(self, rrc_coeffs): + self.rrc_coeffs = rrc_coeffs + + def get_rf_gain(self): + return self.rf_gain + + def set_rf_gain(self, rf_gain): + self.rf_gain = rf_gain + self.soapy_sink_0.set_gain(0,self.rf_gain) + self.soapy_sink_0.set_gain(0,"VGA", self.rf_gain) + + def get_preamble(self): + return self.preamble + + def set_preamble(self, preamble): + self.preamble = preamble + self.blocks_vector_source_x_0.set_data(self.preamble, []) + + def get_payload_fec_size_bits(self): + return self.payload_fec_size_bits + + def set_payload_fec_size_bits(self, payload_fec_size_bits): + self.payload_fec_size_bits = payload_fec_size_bits + + def get_mod_phase_offset(self): + return self.mod_phase_offset + + def set_mod_phase_offset(self, mod_phase_offset): + self.mod_phase_offset = mod_phase_offset + + def get_mod_labels(self): + return self.mod_labels + + def set_mod_labels(self, mod_labels): + self.mod_labels = mod_labels + + def get_mod_amplitude(self): + return self.mod_amplitude + + def set_mod_amplitude(self, mod_amplitude): + self.mod_amplitude = mod_amplitude + + def get_freq_correction(self): + return self.freq_correction + + def set_freq_correction(self, freq_correction): + self.freq_correction = freq_correction + + def get_freq(self): + return self.freq + + def set_freq(self, freq): + self.freq = freq + self.soapy_sink_0.set_frequency(0, self.freq) + + def get_frame_size_samples(self): + return self.frame_size_samples + + def set_frame_size_samples(self, frame_size_samples): + self.frame_size_samples = frame_size_samples + + def get_frac_resampling(self): + return self.frac_resampling + + def set_frac_resampling(self, frac_resampling): + self.frac_resampling = frac_resampling + self.mmse_resampler_xx_0.set_resamp_ratio(self.frac_resampling) + + def get_fill_size_bits(self): + return self.fill_size_bits + + def set_fill_size_bits(self, fill_size_bits): + self.fill_size_bits = fill_size_bits + +def snipfcn_snippet_0(self): + import logging + logging.getLogger('grsksdr.hamming_encoder').setLevel(logging.DEBUG) + + +def snippets_main_after_init(tb): + snipfcn_snippet_0(tb) + + + + +def main(top_block_cls=psk_tx_mine, options=None): + + if StrictVersion("4.5.0") <= StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): + style = gr.prefs().get_string('qtgui', 'style', 'raster') + Qt.QApplication.setGraphicsSystem(style) + qapp = Qt.QApplication(sys.argv) + + tb = top_block_cls() + snippets_main_after_init(tb) + tb.start() + + tb.show() + + def sig_handler(sig=None, frame=None): + Qt.QApplication.quit() + + signal.signal(signal.SIGINT, sig_handler) + signal.signal(signal.SIGTERM, sig_handler) + + timer = Qt.QTimer() + timer.start(500) + timer.timeout.connect(lambda: None) + + def quitting(): + tb.stop() + tb.wait() + + qapp.aboutToQuit.connect(quitting) + qapp.exec_() + +if __name__ == '__main__': + main() diff --git a/gnuradio/demo/rx/epy_block_0.py b/gnuradio/demo/rx/epy_block_0.py new file mode 100644 index 0000000..949013a --- /dev/null +++ b/gnuradio/demo/rx/epy_block_0.py @@ -0,0 +1,43 @@ +""" +Embedded Python Blocks: + +Each time this file is saved, GRC will instantiate the first class it finds +to get ports and parameters of your block. The arguments to __init__ will +be the parameters. All of them are required to have default values! +""" +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + + +class blk(gr.sync_block): # other base classes are basic_block, decim_block, interp_block + """Embedded Python Block example""" + + def __init__(self, message_size=1, payload_size_bits=1): # only default arguments here + """arguments to this function show up as parameters in GRC""" + self.message_size = message_size + self.payload_size_bits = payload_size_bits + gr.sync_block.__init__( + self, + name='decode_frame', # will show up in GRC + in_sig=[np.uint8], + out_sig=[np.uint8] + ) + self.set_output_multiple(self.payload_size_bits) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + for i in range(0, len(in0), self.payload_size_bits): + rxbits = in0[i : i + self.message_size * 8] + rx_msg = sksdr.binlist2x(rxbits, 8) + rx_msg_ascii = [chr(x) for x in rx_msg] + print(rx_msg_ascii) + + return len(in0) diff --git a/gnuradio/demo/rx/psk_rx.grc b/gnuradio/demo/rx/psk_rx.grc new file mode 100644 index 0000000..1b1b263 --- /dev/null +++ b/gnuradio/demo/rx/psk_rx.grc @@ -0,0 +1,1152 @@ +options: + parameters: + author: david + category: '[GRC Hier Blocks]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: qt_gui + hier_block_src_path: '.:' + id: psk_rx + max_nouts: '0' + output_language: python + placement: (0,0) + qt_qss_theme: '' + realtime_scheduling: '' + run: 'True' + run_command: '{python} -u {filename}' + run_options: prompt + sizing_mode: fixed + thread_safe_setters: '' + title: PSK Receiver + window_size: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: downsampling + id: variable + parameters: + comment: '' + value: '2' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [104, 180.0] + rotation: 0 + state: enabled +- name: fec_ndata + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1200, 108.0] + rotation: 0 + state: enabled +- name: fec_ntotal + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1112, 108.0] + rotation: 0 + state: enabled +- name: fec_rate + id: variable + parameters: + comment: '' + value: fec_ntotal / fec_ndata + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1288, 108.0] + rotation: 0 + state: enabled +- name: fill_size_bits + id: variable + parameters: + comment: '' + value: payload_size_bits - msg_size_bits + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [200, 108.0] + rotation: 0 + state: enabled +- name: frac_resampling + id: variable + parameters: + comment: '' + value: '5' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [480, 12.0] + rotation: 0 + state: enabled +- name: frame_size_bits + id: variable + parameters: + comment: '' + value: '250' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [568, 108.0] + rotation: 0 + state: enabled +- name: frame_size_samples + id: variable + parameters: + comment: '' + value: frame_size_symbols * upsampling + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [824, 108.0] + rotation: 0 + state: enabled +- name: frame_size_symbols + id: variable + parameters: + comment: '' + value: int(frame_size_bits / modulation.bits_per_symbol) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [688, 108.0] + rotation: 0 + state: enabled +- name: freq + id: variable + parameters: + comment: '' + value: 220e6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [600, 12.0] + rotation: 0 + state: enabled +- name: freq_correction + id: variable + parameters: + comment: '' + value: '40' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [688, 12.0] + rotation: 0 + state: true +- name: mod_amplitude + id: variable + parameters: + comment: '' + value: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1144, 180.0] + rotation: 0 + state: enabled +- name: mod_labels + id: variable + parameters: + comment: '' + value: '[0, 1, 3, 2]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1040, 180.0] + rotation: 0 + state: enabled +- name: mod_phase_offset + id: variable + parameters: + comment: '' + value: np.pi / 4 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1264, 180.0] + rotation: 0 + state: enabled +- name: mod_preamble + id: variable + parameters: + comment: '' + value: sksdr.PSKModulator(modulation, mod_labels, mod_amplitude, mod_phase_offset).modulate(np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], + 2)) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [680, 180.0] + rotation: 0 + state: true +- name: modulation + id: variable + parameters: + comment: '' + value: sksdr.QPSK + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [864, 180.0] + rotation: 0 + state: enabled +- name: msg_size + id: variable + parameters: + comment: '' + value: '15' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 108.0] + rotation: 0 + state: enabled +- name: msg_size_bits + id: variable + parameters: + comment: '' + value: msg_size * 8 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [96, 108.0] + rotation: 0 + state: enabled +- name: payload_fec_size_bits + id: variable + parameters: + comment: '' + value: int(payload_size_bits * fec_rate) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [424, 108.0] + rotation: 0 + state: enabled +- name: payload_size_bits + id: variable + parameters: + comment: '' + value: '224' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 108.0] + rotation: 0 + state: enabled +- name: preamble + id: variable + parameters: + comment: '' + value: np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [512, 180.0] + rotation: 0 + state: enabled +- name: rrc_coeffs + id: variable + parameters: + comment: '' + value: sksdr.rrc(upsampling, 0.5, 10) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [328, 180.0] + rotation: 0 + state: enabled +- name: rx_filter_sps + id: variable + parameters: + comment: '' + value: int(upsampling / downsampling) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [216, 180.0] + rotation: 0 + state: enabled +- name: rx_frame_size_samples + id: variable + parameters: + comment: '' + value: int(frame_size_samples / downsampling) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [960, 108.0] + rotation: 0 + state: enabled +- name: samp_rate + id: variable + parameters: + comment: '' + value: 1.024e6 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [384, 12.0] + rotation: 0 + state: enabled +- name: upsampling + id: variable + parameters: + comment: '' + value: '4' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 180.0] + rotation: 0 + state: enabled +- name: blocks_char_to_float_0 + id: blocks_char_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + scale: '1' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1632, 644.0] + rotation: 0 + state: disabled +- name: blocks_file_sink_0 + id: blocks_file_sink + parameters: + affinity: '' + alias: '' + append: 'False' + comment: '' + file: test.iq + type: complex + unbuffered: 'False' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [304, 548.0] + rotation: 0 + state: disabled +- name: blocks_file_source_0 + id: blocks_file_source + parameters: + affinity: '' + alias: '' + begin_tag: pmt.PMT_NIL + comment: '' + file: test.iq + length: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + repeat: 'True' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [72, 260.0] + rotation: 0 + state: disabled +- name: blocks_null_sink_0 + id: blocks_null_sink + parameters: + affinity: '' + alias: '' + bus_structure_sink: '[[0,],]' + comment: '' + num_inputs: '1' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1600, 720.0] + rotation: 0 + state: enabled +- name: blocks_null_sink_0_0 + id: blocks_null_sink + parameters: + affinity: '' + alias: '' + bus_structure_sink: '[[0,],]' + comment: '' + num_inputs: '1' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1112, 896.0] + rotation: 0 + state: enabled +- name: blocks_null_sink_0_0_0 + id: blocks_null_sink + parameters: + affinity: '' + alias: '' + bus_structure_sink: '[[0,],]' + comment: '' + num_inputs: '1' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [928, 784.0] + rotation: 0 + state: enabled +- name: blocks_throttle_1 + id: blocks_throttle + parameters: + affinity: '' + alias: '' + comment: '' + ignoretag: 'True' + maxoutbuf: '0' + minoutbuf: '0' + samples_per_second: samp_rate + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 292.0] + rotation: 0 + state: disabled +- name: epy_block_0 + id: epy_block + parameters: + _source_code: "\"\"\"\nEmbedded Python Blocks:\n\nEach time this file is saved,\ + \ GRC will instantiate the first class it finds\nto get ports and parameters\ + \ of your block. The arguments to __init__ will\nbe the parameters. All of\ + \ them are required to have default values!\n\"\"\"\nimport logging\n\nimport\ + \ numpy as np\n\nimport sksdr\nfrom gnuradio import gr\n\n_log = logging.getLogger(__name__)\n\ + #_log.setLevel(logging.DEBUG)\n\n\nclass blk(gr.sync_block): # other base classes\ + \ are basic_block, decim_block, interp_block\n \"\"\"Embedded Python Block\ + \ example - a simple multiply const\"\"\"\n\n def __init__(self, message_size=1,\ + \ payload_size_bits=1): # only default arguments here\n \"\"\"arguments\ + \ to this function show up as parameters in GRC\"\"\"\n self.message_size\ + \ = message_size\n self.payload_size_bits = payload_size_bits\n \ + \ gr.sync_block.__init__(\n self,\n name='decode_frame',\ + \ # will show up in GRC\n in_sig=[np.uint8],\n out_sig=[np.uint8]\n\ + \ )\n self.set_output_multiple(self.payload_size_bits)\n\n \ + \ def work(self, input_items, output_items):\n in0 = input_items[0]\n\ + \ out = output_items[0] \n for i in range(0, len(in0), self.payload_size_bits):\n\ + \ rxbits = in0[i : i + self.message_size * 8]\n rx_msg\ + \ = sksdr.binlist2x(rxbits, 8)\n rx_msg_ascii = [chr(x) for x in\ + \ rx_msg]\n print(rx_msg_ascii)\n \n return len(in0)\n" + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + message_size: msg_size + minoutbuf: '0' + payload_size_bits: payload_size_bits + states: + _io_cache: ('decode_frame', 'blk', [('message_size', '1'), ('payload_size_bits', + '1')], [('0', 'byte', 1)], [('0', 'byte', 1)], 'Embedded Python Block example + - a simple multiply const', ['message_size', 'payload_size_bits']) + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [904, 884.0] + rotation: 0 + state: enabled +- name: grsksdr_agc_1 + id: grsksdr_agc + parameters: + affinity: '' + alias: '' + avg_len: frame_size_samples + comment: '' + det_gain: '0.01' + max_gain: '60' + maxoutbuf: '0' + minoutbuf: '0' + ref_power: '0.25' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [608, 420.0] + rotation: 0 + state: true +- name: grsksdr_coarse_freq_comp_0 + id: grsksdr_coarse_freq_comp + parameters: + affinity: '' + alias: '' + comment: '' + frame_size: rx_frame_size_samples + freq_res: '1' + maxoutbuf: '0' + minoutbuf: '0' + mod_order: modulation.order + sample_rate: samp_rate/frac_resampling + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1200, 420.0] + rotation: 0 + state: true +- name: grsksdr_descrambler_0 + id: grsksdr_descrambler + parameters: + affinity: '' + alias: '' + comment: '' + init_state: '[0, 1, 1, 0]' + maxoutbuf: '0' + minoutbuf: '0' + poly: '[1, 1, 1, 0, 1]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [528, 884.0] + rotation: 0 + state: enabled +- name: grsksdr_fir_decimator_0 + id: grsksdr_fir_decimator + parameters: + affinity: '' + alias: '' + coeffs: rrc_coeffs + comment: '' + downsampling: downsampling + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [944, 436.0] + rotation: 0 + state: true +- name: grsksdr_frame_sync_0 + id: grsksdr_frame_sync + parameters: + affinity: '' + alias: '' + comment: '' + frame_size: frame_size_symbols + maxoutbuf: '0' + minoutbuf: '0' + preamble: mod_preamble + threshold: '8.0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [672, 684.0] + rotation: 0 + state: true +- name: grsksdr_freq_sync_0 + id: grsksdr_freq_sync + parameters: + affinity: '' + alias: '' + comment: '' + damp_factor: '1' + maxoutbuf: '0' + minoutbuf: '0' + modulation: '''sksdr.QPSK''' + norm_loop_bw: '0.01' + sps: rx_filter_sps + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [64, 660.0] + rotation: 0 + state: true +- name: grsksdr_hamming_decoder_0 + id: grsksdr_hamming_decoder + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + ndata: fec_ndata + ntotal: fec_ntotal + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [256, 884.0] + rotation: 0 + state: disabled +- name: grsksdr_phase_offset_est_0 + id: grsksdr_phase_offset_est + parameters: + affinity: '' + alias: '' + comment: '' + frame_size: frame_size_symbols + maxoutbuf: '0' + minoutbuf: '0' + preamble: mod_preamble + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [920, 692.0] + rotation: 0 + state: enabled +- name: grsksdr_psk_demod_0 + id: grsksdr_psk_demod + parameters: + affinity: '' + alias: '' + amplitude: mod_amplitude + comment: '' + labels: mod_labels + maxoutbuf: '0' + minoutbuf: '0' + modulation: '''sksdr.QPSK''' + phase_offset: mod_phase_offset + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1152, 676.0] + rotation: 0 + state: enabled +- name: grsksdr_symbol_sync_0 + id: grsksdr_symbol_sync + parameters: + A: 1/np.sqrt(2) + K: '1' + affinity: '' + alias: '' + comment: '' + damp_factor: '1' + maxoutbuf: '0' + minoutbuf: '0' + modulation: '''sksdr.QPSK''' + norm_loop_bw: '0.01' + sps: rx_filter_sps + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [392, 660.0] + rotation: 0 + state: true +- name: import_0 + id: import + parameters: + alias: '' + comment: '' + imports: import sksdr + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [272, 12.0] + rotation: 0 + state: true +- name: import_0_0 + id: import + parameters: + alias: '' + comment: '' + imports: import numpy as np + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [192, 12.0] + rotation: 0 + state: true +- name: mmse_resampler_xx_0 + id: mmse_resampler_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + phase_shift: '0' + resamp_ratio: frac_resampling + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [368, 416.0] + rotation: 0 + state: enabled +- name: qtgui_freq_sink_x_0 + id: qtgui_freq_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + average: '1.0' + axislabels: 'True' + bw: samp_rate/frac_resampling + color1: '"blue"' + color10: '"dark blue"' + color2: '"red"' + color3: '"green"' + color4: '"black"' + color5: '"cyan"' + color6: '"magenta"' + color7: '"yellow"' + color8: '"dark red"' + color9: '"dark green"' + comment: '' + ctrlpanel: 'False' + fc: '0' + fftsize: '1024' + freqhalf: 'True' + grid: 'False' + gui_hint: '' + label: Relative Gain + label1: '' + label10: '''''' + label2: '''''' + label3: '''''' + label4: '''''' + label5: '''''' + label6: '''''' + label7: '''''' + label8: '''''' + label9: '''''' + legend: 'True' + maxoutbuf: '0' + minoutbuf: '0' + name: '""' + nconnections: '1' + showports: 'False' + tr_chan: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_tag: '""' + type: complex + units: dB + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + wintype: firdes.WIN_BLACKMAN_hARRIS + ymax: '10' + ymin: '-140' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1552, 480.0] + rotation: 0 + state: enabled +- name: qtgui_time_sink_x_1 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '-1' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate/frac_resampling + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: complex + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1544, 364.0] + rotation: 0 + state: enabled +- name: qtgui_time_sink_x_1_0 + id: qtgui_time_sink_x + parameters: + affinity: '' + alias: '' + alpha1: '1.0' + alpha10: '1.0' + alpha2: '1.0' + alpha3: '1.0' + alpha4: '1.0' + alpha5: '1.0' + alpha6: '1.0' + alpha7: '1.0' + alpha8: '1.0' + alpha9: '1.0' + autoscale: 'False' + axislabels: 'True' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green + comment: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + label1: Signal 1 + label10: Signal 10 + label2: Signal 2 + label3: Signal 3 + label4: Signal 4 + label5: Signal 5 + label6: Signal 6 + label7: Signal 7 + label8: Signal 8 + label9: Signal 9 + legend: 'True' + marker1: '0' + marker10: '-1' + marker2: '-1' + marker3: '-1' + marker4: '-1' + marker5: '-1' + marker6: '-1' + marker7: '-1' + marker8: '-1' + marker9: '-1' + name: '""' + nconnections: '1' + size: '1024' + srate: samp_rate/frac_resampling + stemplot: 'False' + style1: '1' + style10: '1' + style2: '1' + style3: '1' + style4: '1' + style5: '1' + style6: '1' + style7: '1' + style8: '1' + style9: '1' + tr_chan: '0' + tr_delay: '0' + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_FREE + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '""' + type: float + update_time: '0.10' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1784, 628.0] + rotation: 0 + state: disabled +- name: snippet_0 + id: snippet + parameters: + alias: '' + code: 'import logging + + logging.getLogger(''grsksdr.frame_sync'').setLevel(logging.DEBUG-1) + + logging.getLogger(''grsksdr.phase_offset_est'').setLevel(logging.DEBUG) + + logging.getLogger(''grsksdr.descramber'').setLevel(logging.DEBUG) + + logging.getLogger(''grsksdr.hamming_decoder'').setLevel(logging.DEBUG)' + comment: '' + priority: '' + section: main_after_init + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [824, 12.0] + rotation: 0 + state: true +- name: soapy_source_1 + id: soapy_source + parameters: + affinity: '' + agc0: 'False' + agc1: 'False' + alias: '' + amp_gain0: '0' + ant0: RX + ant1: RX2 + args: '' + balance0: '0' + balance1: '0' + bw0: '0' + bw1: '0' + center_freq0: freq + center_freq1: '0' + clock_rate: '0' + clock_source: '' + comment: '' + correction0: freq_correction + correction1: '0' + dc_offset0: '0' + dc_offset1: '0' + dc_removal0: 'False' + dc_removal1: 'True' + dev: driver=rtlsdr + devname: rtlsdr + gain_mode0: Overall + gain_mode1: Overall + ifgr_gain: '59' + lna_gain0: '10' + lna_gain1: '10' + maxoutbuf: '0' + minoutbuf: '0' + mix_gain0: '10' + nchan: '1' + nco_freq0: '0' + nco_freq1: '0' + overall_gain0: '0' + overall_gain1: '10' + pga_gain0: '24' + pga_gain1: '24' + rfgr_gain: '9' + rxvga1_gain: '5' + rxvga2_gain: '0' + samp_rate: samp_rate + sdrplay_agc_setpoint: '-30' + sdrplay_biastee: 'False' + sdrplay_dabnotch: 'False' + sdrplay_if_mode: Zero-IF + sdrplay_rfnotch: 'False' + settings0: '' + settings1: '' + stream_args: '' + tia_gain0: '0' + tia_gain1: '0' + tune_args0: '' + tune_args1: '' + tuner_gain0: '20' + type: fc32 + vga_gain0: '10' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [56, 388.0] + rotation: 0 + state: enabled +- name: stream_demux_stream_demux_0 + id: stream_demux_stream_demux + parameters: + affinity: '' + alias: '' + comment: '' + lengths: '[len(preamble), payload_fec_size_bits]' + maxoutbuf: '0' + minoutbuf: '0' + num_outputs: '2' + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1360, 688.0] + rotation: 0 + state: true + +connections: +- [blocks_char_to_float_0, '0', qtgui_time_sink_x_1_0, '0'] +- [blocks_file_source_0, '0', blocks_throttle_1, '0'] +- [blocks_throttle_1, '0', mmse_resampler_xx_0, '0'] +- [epy_block_0, '0', blocks_null_sink_0_0, '0'] +- [grsksdr_agc_1, '0', grsksdr_fir_decimator_0, '0'] +- [grsksdr_coarse_freq_comp_0, '0', grsksdr_freq_sync_0, '0'] +- [grsksdr_coarse_freq_comp_0, '0', qtgui_freq_sink_x_0, '0'] +- [grsksdr_coarse_freq_comp_0, '0', qtgui_time_sink_x_1, '0'] +- [grsksdr_descrambler_0, '0', epy_block_0, '0'] +- [grsksdr_fir_decimator_0, '0', grsksdr_coarse_freq_comp_0, '0'] +- [grsksdr_frame_sync_0, '0', blocks_null_sink_0_0_0, '0'] +- [grsksdr_frame_sync_0, '0', grsksdr_phase_offset_est_0, '0'] +- [grsksdr_freq_sync_0, '0', grsksdr_symbol_sync_0, '0'] +- [grsksdr_phase_offset_est_0, '0', grsksdr_psk_demod_0, '0'] +- [grsksdr_psk_demod_0, '0', stream_demux_stream_demux_0, '0'] +- [grsksdr_symbol_sync_0, '0', grsksdr_frame_sync_0, '0'] +- [mmse_resampler_xx_0, '0', grsksdr_agc_1, '0'] +- [soapy_source_1, '0', blocks_file_sink_0, '0'] +- [soapy_source_1, '0', mmse_resampler_xx_0, '0'] +- [stream_demux_stream_demux_0, '0', blocks_char_to_float_0, '0'] +- [stream_demux_stream_demux_0, '0', blocks_null_sink_0, '0'] +- [stream_demux_stream_demux_0, '1', grsksdr_descrambler_0, '0'] + +metadata: + file_format: 1 diff --git a/gnuradio/demo/rx/psk_rx.py b/gnuradio/demo/rx/psk_rx.py new file mode 100755 index 0000000..173a157 --- /dev/null +++ b/gnuradio/demo/rx/psk_rx.py @@ -0,0 +1,526 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# +# SPDX-License-Identifier: GPL-3.0 +# +# GNU Radio Python Flow Graph +# Title: PSK Receiver +# Author: david +# GNU Radio version: 3.8.2.0 + +from distutils.version import StrictVersion + +if __name__ == '__main__': + import ctypes + import sys + if sys.platform.startswith('linux'): + try: + x11 = ctypes.cdll.LoadLibrary('libX11.so') + x11.XInitThreads() + except: + print("Warning: failed to XInitThreads()") + +from PyQt5 import Qt +from gnuradio import qtgui +from gnuradio.filter import firdes +import sip +from gnuradio import blocks +from gnuradio import filter +from gnuradio import gr +import sys +import signal +from argparse import ArgumentParser +from gnuradio.eng_arg import eng_float, intx +from gnuradio import eng_notation +from stream_demux import stream_demux_swig +import epy_block_0 +import grsksdr +import numpy as np +import sksdr +import soapy +import distutils +from distutils import util + +from gnuradio import qtgui + +class psk_rx(gr.top_block, Qt.QWidget): + + def __init__(self): + gr.top_block.__init__(self, "PSK Receiver") + Qt.QWidget.__init__(self) + self.setWindowTitle("PSK Receiver") + qtgui.util.check_set_qss() + try: + self.setWindowIcon(Qt.QIcon.fromTheme('gnuradio-grc')) + except: + pass + self.top_scroll_layout = Qt.QVBoxLayout() + self.setLayout(self.top_scroll_layout) + self.top_scroll = Qt.QScrollArea() + self.top_scroll.setFrameStyle(Qt.QFrame.NoFrame) + self.top_scroll_layout.addWidget(self.top_scroll) + self.top_scroll.setWidgetResizable(True) + self.top_widget = Qt.QWidget() + self.top_scroll.setWidget(self.top_widget) + self.top_layout = Qt.QVBoxLayout(self.top_widget) + self.top_grid_layout = Qt.QGridLayout() + self.top_layout.addLayout(self.top_grid_layout) + + self.settings = Qt.QSettings("GNU Radio", "psk_rx") + + try: + if StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): + self.restoreGeometry(self.settings.value("geometry").toByteArray()) + else: + self.restoreGeometry(self.settings.value("geometry")) + except: + pass + + ################################################## + # Variables + ################################################## + self.modulation = modulation = sksdr.QPSK + self.frame_size_bits = frame_size_bits = 250 + self.upsampling = upsampling = 4 + self.msg_size = msg_size = 15 + self.frame_size_symbols = frame_size_symbols = int(frame_size_bits / modulation.bits_per_symbol) + self.fec_ntotal = fec_ntotal = 4 + self.fec_ndata = fec_ndata = 4 + self.payload_size_bits = payload_size_bits = 224 + self.msg_size_bits = msg_size_bits = msg_size * 8 + self.mod_phase_offset = mod_phase_offset = np.pi / 4 + self.mod_labels = mod_labels = [0, 1, 3, 2] + self.mod_amplitude = mod_amplitude = 1 + self.frame_size_samples = frame_size_samples = frame_size_symbols * upsampling + self.fec_rate = fec_rate = fec_ntotal / fec_ndata + self.downsampling = downsampling = 2 + self.samp_rate = samp_rate = 1.024e6 + self.rx_frame_size_samples = rx_frame_size_samples = int(frame_size_samples / downsampling) + self.rx_filter_sps = rx_filter_sps = int(upsampling / downsampling) + self.rrc_coeffs = rrc_coeffs = sksdr.rrc(upsampling, 0.5, 10) + self.preamble = preamble = np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) + self.payload_fec_size_bits = payload_fec_size_bits = int(payload_size_bits * fec_rate) + self.mod_preamble = mod_preamble = sksdr.PSKModulator(modulation, mod_labels, mod_amplitude, mod_phase_offset).modulate(np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2)) + self.freq_correction = freq_correction = 40 + self.freq = freq = 220e6 + self.frac_resampling = frac_resampling = 5 + self.fill_size_bits = fill_size_bits = payload_size_bits - msg_size_bits + + ################################################## + # Blocks + ################################################## + self.stream_demux_stream_demux_0 = stream_demux_swig.stream_demux(gr.sizeof_char*1, [len(preamble), payload_fec_size_bits]) + self.soapy_source_1 = None + # Make sure that the gain mode is valid + if('Overall' not in ['Overall', 'Specific', 'Settings Field']): + raise ValueError("Wrong gain mode on channel 0. Allowed gain modes: " + "['Overall', 'Specific', 'Settings Field']") + + dev = 'driver=rtlsdr' + + # Stream arguments for every activated stream + tune_args = [''] + settings = [''] + + # Setup the device arguments + dev_args = '' + + self.soapy_source_1 = soapy.source(1, dev, dev_args, '', + tune_args, settings, samp_rate, "fc32") + + + + self.soapy_source_1.set_dc_removal(0,bool(distutils.util.strtobool('False'))) + + # Set up DC offset. If set to (0, 0) internally the source block + # will handle the case if no DC offset correction is supported + self.soapy_source_1.set_dc_offset(0,0) + + # Setup IQ Balance. If set to (0, 0) internally the source block + # will handle the case if no IQ balance correction is supported + self.soapy_source_1.set_iq_balance(0,0) + + self.soapy_source_1.set_agc(0,False) + + # generic frequency setting should be specified first + self.soapy_source_1.set_frequency(0, freq) + + self.soapy_source_1.set_frequency(0,"BB",0) + + # Setup Frequency correction. If set to 0 internally the source block + # will handle the case if no frequency correction is supported + self.soapy_source_1.set_frequency_correction(0,freq_correction) + + self.soapy_source_1.set_antenna(0,'RX') + + self.soapy_source_1.set_bandwidth(0,0) + + if('Overall' != 'Settings Field'): + # pass is needed, in case the template does not evaluare anything + pass + self.soapy_source_1.set_gain(0,0) + self.qtgui_time_sink_x_1 = qtgui.time_sink_c( + 1024, #size + samp_rate/frac_resampling, #samp_rate + "", #name + 1 #number of inputs + ) + self.qtgui_time_sink_x_1.set_update_time(0.10) + self.qtgui_time_sink_x_1.set_y_axis(-1, 1) + + self.qtgui_time_sink_x_1.set_y_label('Amplitude', "") + + self.qtgui_time_sink_x_1.enable_tags(True) + self.qtgui_time_sink_x_1.set_trigger_mode(qtgui.TRIG_MODE_FREE, qtgui.TRIG_SLOPE_POS, 0.0, 0, 0, "") + self.qtgui_time_sink_x_1.enable_autoscale(False) + self.qtgui_time_sink_x_1.enable_grid(False) + self.qtgui_time_sink_x_1.enable_axis_labels(True) + self.qtgui_time_sink_x_1.enable_control_panel(False) + self.qtgui_time_sink_x_1.enable_stem_plot(False) + + + labels = ['Signal 1', 'Signal 2', 'Signal 3', 'Signal 4', 'Signal 5', + 'Signal 6', 'Signal 7', 'Signal 8', 'Signal 9', 'Signal 10'] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ['blue', 'red', 'green', 'black', 'cyan', + 'magenta', 'yellow', 'dark red', 'dark green', 'dark blue'] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + styles = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + markers = [-1, -1, -1, -1, -1, + -1, -1, -1, -1, -1] + + + for i in range(2): + if len(labels[i]) == 0: + if (i % 2 == 0): + self.qtgui_time_sink_x_1.set_line_label(i, "Re{{Data {0}}}".format(i/2)) + else: + self.qtgui_time_sink_x_1.set_line_label(i, "Im{{Data {0}}}".format(i/2)) + else: + self.qtgui_time_sink_x_1.set_line_label(i, labels[i]) + self.qtgui_time_sink_x_1.set_line_width(i, widths[i]) + self.qtgui_time_sink_x_1.set_line_color(i, colors[i]) + self.qtgui_time_sink_x_1.set_line_style(i, styles[i]) + self.qtgui_time_sink_x_1.set_line_marker(i, markers[i]) + self.qtgui_time_sink_x_1.set_line_alpha(i, alphas[i]) + + self._qtgui_time_sink_x_1_win = sip.wrapinstance(self.qtgui_time_sink_x_1.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_time_sink_x_1_win) + self.qtgui_freq_sink_x_0 = qtgui.freq_sink_c( + 1024, #size + firdes.WIN_BLACKMAN_hARRIS, #wintype + 0, #fc + samp_rate/frac_resampling, #bw + "", #name + 1 + ) + self.qtgui_freq_sink_x_0.set_update_time(0.10) + self.qtgui_freq_sink_x_0.set_y_axis(-140, 10) + self.qtgui_freq_sink_x_0.set_y_label('Relative Gain', 'dB') + self.qtgui_freq_sink_x_0.set_trigger_mode(qtgui.TRIG_MODE_FREE, 0.0, 0, "") + self.qtgui_freq_sink_x_0.enable_autoscale(False) + self.qtgui_freq_sink_x_0.enable_grid(False) + self.qtgui_freq_sink_x_0.set_fft_average(1.0) + self.qtgui_freq_sink_x_0.enable_axis_labels(True) + self.qtgui_freq_sink_x_0.enable_control_panel(False) + + + + labels = ['', '', '', '', '', + '', '', '', '', ''] + widths = [1, 1, 1, 1, 1, + 1, 1, 1, 1, 1] + colors = ["blue", "red", "green", "black", "cyan", + "magenta", "yellow", "dark red", "dark green", "dark blue"] + alphas = [1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0] + + for i in range(1): + if len(labels[i]) == 0: + self.qtgui_freq_sink_x_0.set_line_label(i, "Data {0}".format(i)) + else: + self.qtgui_freq_sink_x_0.set_line_label(i, labels[i]) + self.qtgui_freq_sink_x_0.set_line_width(i, widths[i]) + self.qtgui_freq_sink_x_0.set_line_color(i, colors[i]) + self.qtgui_freq_sink_x_0.set_line_alpha(i, alphas[i]) + + self._qtgui_freq_sink_x_0_win = sip.wrapinstance(self.qtgui_freq_sink_x_0.pyqwidget(), Qt.QWidget) + self.top_grid_layout.addWidget(self._qtgui_freq_sink_x_0_win) + self.mmse_resampler_xx_0 = filter.mmse_resampler_cc(0, frac_resampling) + self.grsksdr_symbol_sync_0 = grsksdr.symbol_sync('sksdr.QPSK', rx_filter_sps, 1, 0.01, 1, 1/np.sqrt(2)) + self.grsksdr_psk_demod_0 = grsksdr.psk_demod('sksdr.QPSK', mod_labels, mod_amplitude, mod_phase_offset) + self.grsksdr_phase_offset_est_0 = grsksdr.phase_offset_est(mod_preamble, frame_size_symbols) + self.grsksdr_freq_sync_0 = grsksdr.freq_sync('sksdr.QPSK', rx_filter_sps, 1, 0.01) + self.grsksdr_frame_sync_0 = grsksdr.frame_sync(mod_preamble, 8.0, frame_size_symbols) + self.grsksdr_fir_decimator_0 = grsksdr.fir_decimator(downsampling, rrc_coeffs) + self.grsksdr_descrambler_0 = grsksdr.descrambler([1, 1, 1, 0, 1], [0, 1, 1, 0]) + self.grsksdr_coarse_freq_comp_0 = grsksdr.coarse_freq_comp(modulation.order, samp_rate/frac_resampling, 1, rx_frame_size_samples) + self.grsksdr_agc_1 = grsksdr.agc(0.25, 60, 0.01, frame_size_samples) + self.epy_block_0 = epy_block_0.blk(message_size=msg_size, payload_size_bits=payload_size_bits) + self.blocks_null_sink_0_0_0 = blocks.null_sink(gr.sizeof_gr_complex*1) + self.blocks_null_sink_0_0 = blocks.null_sink(gr.sizeof_char*1) + self.blocks_null_sink_0 = blocks.null_sink(gr.sizeof_char*1) + + + + ################################################## + # Connections + ################################################## + self.connect((self.epy_block_0, 0), (self.blocks_null_sink_0_0, 0)) + self.connect((self.grsksdr_agc_1, 0), (self.grsksdr_fir_decimator_0, 0)) + self.connect((self.grsksdr_coarse_freq_comp_0, 0), (self.grsksdr_freq_sync_0, 0)) + self.connect((self.grsksdr_coarse_freq_comp_0, 0), (self.qtgui_freq_sink_x_0, 0)) + self.connect((self.grsksdr_coarse_freq_comp_0, 0), (self.qtgui_time_sink_x_1, 0)) + self.connect((self.grsksdr_descrambler_0, 0), (self.epy_block_0, 0)) + self.connect((self.grsksdr_fir_decimator_0, 0), (self.grsksdr_coarse_freq_comp_0, 0)) + self.connect((self.grsksdr_frame_sync_0, 0), (self.blocks_null_sink_0_0_0, 0)) + self.connect((self.grsksdr_frame_sync_0, 0), (self.grsksdr_phase_offset_est_0, 0)) + self.connect((self.grsksdr_freq_sync_0, 0), (self.grsksdr_symbol_sync_0, 0)) + self.connect((self.grsksdr_phase_offset_est_0, 0), (self.grsksdr_psk_demod_0, 0)) + self.connect((self.grsksdr_psk_demod_0, 0), (self.stream_demux_stream_demux_0, 0)) + self.connect((self.grsksdr_symbol_sync_0, 0), (self.grsksdr_frame_sync_0, 0)) + self.connect((self.mmse_resampler_xx_0, 0), (self.grsksdr_agc_1, 0)) + self.connect((self.soapy_source_1, 0), (self.mmse_resampler_xx_0, 0)) + self.connect((self.stream_demux_stream_demux_0, 0), (self.blocks_null_sink_0, 0)) + self.connect((self.stream_demux_stream_demux_0, 1), (self.grsksdr_descrambler_0, 0)) + + + def closeEvent(self, event): + self.settings = Qt.QSettings("GNU Radio", "psk_rx") + self.settings.setValue("geometry", self.saveGeometry()) + event.accept() + + def get_modulation(self): + return self.modulation + + def set_modulation(self, modulation): + self.modulation = modulation + self.set_mod_preamble(sksdr.PSKModulator(self.modulation, self.mod_labels, self.mod_amplitude, self.mod_phase_offset).modulate(np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2))) + + def get_frame_size_bits(self): + return self.frame_size_bits + + def set_frame_size_bits(self, frame_size_bits): + self.frame_size_bits = frame_size_bits + self.set_frame_size_symbols(int(self.frame_size_bits / modulation.bits_per_symbol)) + + def get_upsampling(self): + return self.upsampling + + def set_upsampling(self, upsampling): + self.upsampling = upsampling + self.set_frame_size_samples(self.frame_size_symbols * self.upsampling) + self.set_rrc_coeffs(sksdr.rrc(self.upsampling, 0.5, 10)) + self.set_rx_filter_sps(int(self.upsampling / self.downsampling)) + + def get_msg_size(self): + return self.msg_size + + def set_msg_size(self, msg_size): + self.msg_size = msg_size + self.set_msg_size_bits(self.msg_size * 8) + self.epy_block_0.message_size = self.msg_size + + def get_frame_size_symbols(self): + return self.frame_size_symbols + + def set_frame_size_symbols(self, frame_size_symbols): + self.frame_size_symbols = frame_size_symbols + self.set_frame_size_samples(self.frame_size_symbols * self.upsampling) + + def get_fec_ntotal(self): + return self.fec_ntotal + + def set_fec_ntotal(self, fec_ntotal): + self.fec_ntotal = fec_ntotal + self.set_fec_rate(self.fec_ntotal / self.fec_ndata) + + def get_fec_ndata(self): + return self.fec_ndata + + def set_fec_ndata(self, fec_ndata): + self.fec_ndata = fec_ndata + self.set_fec_rate(self.fec_ntotal / self.fec_ndata) + + def get_payload_size_bits(self): + return self.payload_size_bits + + def set_payload_size_bits(self, payload_size_bits): + self.payload_size_bits = payload_size_bits + self.set_fill_size_bits(self.payload_size_bits - self.msg_size_bits) + self.set_payload_fec_size_bits(int(self.payload_size_bits * self.fec_rate)) + self.epy_block_0.payload_size_bits = self.payload_size_bits + + def get_msg_size_bits(self): + return self.msg_size_bits + + def set_msg_size_bits(self, msg_size_bits): + self.msg_size_bits = msg_size_bits + self.set_fill_size_bits(self.payload_size_bits - self.msg_size_bits) + + def get_mod_phase_offset(self): + return self.mod_phase_offset + + def set_mod_phase_offset(self, mod_phase_offset): + self.mod_phase_offset = mod_phase_offset + self.set_mod_preamble(sksdr.PSKModulator(self.modulation, self.mod_labels, self.mod_amplitude, self.mod_phase_offset).modulate(np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2))) + + def get_mod_labels(self): + return self.mod_labels + + def set_mod_labels(self, mod_labels): + self.mod_labels = mod_labels + self.set_mod_preamble(sksdr.PSKModulator(self.modulation, self.mod_labels, self.mod_amplitude, self.mod_phase_offset).modulate(np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2))) + + def get_mod_amplitude(self): + return self.mod_amplitude + + def set_mod_amplitude(self, mod_amplitude): + self.mod_amplitude = mod_amplitude + self.set_mod_preamble(sksdr.PSKModulator(self.modulation, self.mod_labels, self.mod_amplitude, self.mod_phase_offset).modulate(np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2))) + + def get_frame_size_samples(self): + return self.frame_size_samples + + def set_frame_size_samples(self, frame_size_samples): + self.frame_size_samples = frame_size_samples + self.set_rx_frame_size_samples(int(self.frame_size_samples / self.downsampling)) + + def get_fec_rate(self): + return self.fec_rate + + def set_fec_rate(self, fec_rate): + self.fec_rate = fec_rate + self.set_payload_fec_size_bits(int(self.payload_size_bits * self.fec_rate)) + + def get_downsampling(self): + return self.downsampling + + def set_downsampling(self, downsampling): + self.downsampling = downsampling + self.set_rx_filter_sps(int(self.upsampling / self.downsampling)) + self.set_rx_frame_size_samples(int(self.frame_size_samples / self.downsampling)) + + def get_samp_rate(self): + return self.samp_rate + + def set_samp_rate(self, samp_rate): + self.samp_rate = samp_rate + self.qtgui_freq_sink_x_0.set_frequency_range(0, self.samp_rate/self.frac_resampling) + self.qtgui_time_sink_x_1.set_samp_rate(self.samp_rate/self.frac_resampling) + + def get_rx_frame_size_samples(self): + return self.rx_frame_size_samples + + def set_rx_frame_size_samples(self, rx_frame_size_samples): + self.rx_frame_size_samples = rx_frame_size_samples + + def get_rx_filter_sps(self): + return self.rx_filter_sps + + def set_rx_filter_sps(self, rx_filter_sps): + self.rx_filter_sps = rx_filter_sps + + def get_rrc_coeffs(self): + return self.rrc_coeffs + + def set_rrc_coeffs(self, rrc_coeffs): + self.rrc_coeffs = rrc_coeffs + + def get_preamble(self): + return self.preamble + + def set_preamble(self, preamble): + self.preamble = preamble + + def get_payload_fec_size_bits(self): + return self.payload_fec_size_bits + + def set_payload_fec_size_bits(self, payload_fec_size_bits): + self.payload_fec_size_bits = payload_fec_size_bits + + def get_mod_preamble(self): + return self.mod_preamble + + def set_mod_preamble(self, mod_preamble): + self.mod_preamble = mod_preamble + + def get_freq_correction(self): + return self.freq_correction + + def set_freq_correction(self, freq_correction): + self.freq_correction = freq_correction + self.soapy_source_1.set_frequency_correction(0,self.freq_correction) + + def get_freq(self): + return self.freq + + def set_freq(self, freq): + self.freq = freq + self.soapy_source_1.set_frequency(0, self.freq) + + def get_frac_resampling(self): + return self.frac_resampling + + def set_frac_resampling(self, frac_resampling): + self.frac_resampling = frac_resampling + self.mmse_resampler_xx_0.set_resamp_ratio(self.frac_resampling) + self.qtgui_freq_sink_x_0.set_frequency_range(0, self.samp_rate/self.frac_resampling) + self.qtgui_time_sink_x_1.set_samp_rate(self.samp_rate/self.frac_resampling) + + def get_fill_size_bits(self): + return self.fill_size_bits + + def set_fill_size_bits(self, fill_size_bits): + self.fill_size_bits = fill_size_bits + +def snipfcn_snippet_0(self): + import logging + logging.getLogger('grsksdr.frame_sync').setLevel(logging.DEBUG-1) + logging.getLogger('grsksdr.phase_offset_est').setLevel(logging.DEBUG) + logging.getLogger('grsksdr.descramber').setLevel(logging.DEBUG) + logging.getLogger('grsksdr.hamming_decoder').setLevel(logging.DEBUG) + + +def snippets_main_after_init(tb): + snipfcn_snippet_0(tb) + + + + +def main(top_block_cls=psk_rx, options=None): + + if StrictVersion("4.5.0") <= StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): + style = gr.prefs().get_string('qtgui', 'style', 'raster') + Qt.QApplication.setGraphicsSystem(style) + qapp = Qt.QApplication(sys.argv) + + tb = top_block_cls() + snippets_main_after_init(tb) + tb.start() + + tb.show() + + def sig_handler(sig=None, frame=None): + Qt.QApplication.quit() + + signal.signal(signal.SIGINT, sig_handler) + signal.signal(signal.SIGTERM, sig_handler) + + timer = Qt.QTimer() + timer.start(500) + timer.timeout.connect(lambda: None) + + def quitting(): + tb.stop() + tb.wait() + + qapp.aboutToQuit.connect(quitting) + qapp.exec_() + +if __name__ == '__main__': + main() diff --git a/gnuradio/demo/rx/test.iq b/gnuradio/demo/rx/test.iq new file mode 100644 index 0000000..fada7c3 Binary files /dev/null and b/gnuradio/demo/rx/test.iq differ diff --git a/gnuradio/demo/test.dat b/gnuradio/demo/test.dat new file mode 100644 index 0000000..b007531 Binary files /dev/null and b/gnuradio/demo/test.dat differ diff --git a/gnuradio/demo/test.iq b/gnuradio/demo/test.iq new file mode 100644 index 0000000..94f01fc Binary files /dev/null and b/gnuradio/demo/test.iq differ diff --git a/gnuradio/gr-grsksdr/CMakeLists.txt b/gnuradio/gr-grsksdr/CMakeLists.txt new file mode 100644 index 0000000..90464fb --- /dev/null +++ b/gnuradio/gr-grsksdr/CMakeLists.txt @@ -0,0 +1,168 @@ +# Copyright 2011,2012,2014,2016,2018 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Project setup +######################################################################## +cmake_minimum_required(VERSION 3.8) +project(gr-grsksdr CXX C) +enable_testing() + +# Install to PyBOMBS target prefix if defined +if(DEFINED ENV{PYBOMBS_PREFIX}) + set(CMAKE_INSTALL_PREFIX $ENV{PYBOMBS_PREFIX}) + message(STATUS "PyBOMBS installed GNU Radio. Setting CMAKE_INSTALL_PREFIX to $ENV{PYBOMBS_PREFIX}") +endif() + +# Select the release build type by default to get optimization flags +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "Release") + message(STATUS "Build type not specified: defaulting to release.") +endif(NOT CMAKE_BUILD_TYPE) +set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "") + +# Make sure our local CMake Modules path comes first +list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules) + +# Set the version information here +set(VERSION_MAJOR 1) +set(VERSION_API 0) +set(VERSION_ABI 0) +set(VERSION_PATCH git) + +cmake_policy(SET CMP0011 NEW) + +# Enable generation of compile_commands.json for code completion engines +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + +######################################################################## +# Compiler specific setup +######################################################################## +if((CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR + CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + AND NOT WIN32) + #http://gcc.gnu.org/wiki/Visibility + add_definitions(-fvisibility=hidden) +endif() + +IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + SET(CMAKE_CXX_STANDARD 11) +ELSEIF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") + SET(CMAKE_CXX_STANDARD 11) +ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + SET(CMAKE_CXX_STANDARD 11) +ELSE() + message(WARNING "C++ standard could not be set because compiler is not GNU, Clang or MSVC.") +ENDIF() + +IF(CMAKE_C_COMPILER_ID STREQUAL "GNU") + SET(CMAKE_C_STANDARD 11) +ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Clang") + SET(CMAKE_C_STANDARD 11) +ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "MSVC") + SET(CMAKE_C_STANDARD 11) +ELSE() + message(WARNING "C standard could not be set because compiler is not GNU, Clang or MSVC.") +ENDIF() + +######################################################################## +# Install directories +######################################################################## +find_package(Gnuradio "3.8" REQUIRED) +include(GrVersion) + +include(GrPlatform) #define LIB_SUFFIX + +if(NOT CMAKE_MODULES_DIR) + set(CMAKE_MODULES_DIR lib${LIB_SUFFIX}/cmake) +endif(NOT CMAKE_MODULES_DIR) + +set(GR_INCLUDE_DIR include/grsksdr) +set(GR_CMAKE_DIR ${CMAKE_MODULES_DIR}/grsksdr) +set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME}) +set(GR_PKG_DOC_DIR ${GR_DOC_DIR}/${CMAKE_PROJECT_NAME}) +set(GR_PKG_CONF_DIR ${GR_CONF_DIR}/${CMAKE_PROJECT_NAME}/conf.d) +set(GR_PKG_LIBEXEC_DIR ${GR_LIBEXEC_DIR}/${CMAKE_PROJECT_NAME}) + +######################################################################## +# On Apple only, set install name and use rpath correctly, if not already set +######################################################################## +if(APPLE) + if(NOT CMAKE_INSTALL_NAME_DIR) + set(CMAKE_INSTALL_NAME_DIR + ${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE + PATH "Library Install Name Destination Directory" FORCE) + endif(NOT CMAKE_INSTALL_NAME_DIR) + if(NOT CMAKE_INSTALL_RPATH) + set(CMAKE_INSTALL_RPATH + ${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE + PATH "Library Install RPath" FORCE) + endif(NOT CMAKE_INSTALL_RPATH) + if(NOT CMAKE_BUILD_WITH_INSTALL_RPATH) + set(CMAKE_BUILD_WITH_INSTALL_RPATH ON CACHE + BOOL "Do Build Using Library Install RPath" FORCE) + endif(NOT CMAKE_BUILD_WITH_INSTALL_RPATH) +endif(APPLE) + +######################################################################## +# Find gnuradio build dependencies +######################################################################## +find_package(Doxygen) + +######################################################################## +# Setup doxygen option +######################################################################## +if(DOXYGEN_FOUND) + option(ENABLE_DOXYGEN "Build docs using Doxygen" ON) +else(DOXYGEN_FOUND) + option(ENABLE_DOXYGEN "Build docs using Doxygen" OFF) +endif(DOXYGEN_FOUND) + +######################################################################## +# Create uninstall target +######################################################################## +configure_file( + ${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in + ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake +@ONLY) + +add_custom_target(uninstall + ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake + ) + + +######################################################################## +# Add subdirectories +######################################################################## +add_subdirectory(include/grsksdr) +add_subdirectory(lib) +add_subdirectory(apps) +add_subdirectory(docs) +add_subdirectory(swig) +add_subdirectory(python) +add_subdirectory(grc) + +######################################################################## +# Install cmake search helper for this library +######################################################################## + +install(FILES cmake/Modules/grsksdrConfig.cmake + DESTINATION ${CMAKE_MODULES_DIR}/grsksdr +) diff --git a/gnuradio/gr-grsksdr/LICENSE b/gnuradio/gr-grsksdr/LICENSE new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/gnuradio/gr-grsksdr/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/gnuradio/gr-grsksdr/MANIFEST.md b/gnuradio/gr-grsksdr/MANIFEST.md new file mode 100644 index 0000000..653bb62 --- /dev/null +++ b/gnuradio/gr-grsksdr/MANIFEST.md @@ -0,0 +1,17 @@ +title: The GRSKSDR OOT Module +brief: Short description of gr-grsksdr +tags: # Tags are arbitrary, but look at CGRAN what other authors are using + - sdr +author: + - Author Name +copyright_owner: + - Copyright Owner 1 +license: +gr_supported_version: # Put a comma separated list of supported GR versions here +#repo: # Put the URL of the repository here, or leave blank for default +#website: # If you have a separate project website, put it here +#icon: # Put a URL to a square image here that will be used as an icon on CGRAN +--- +A longer, multi-line description of gr-grsksdr. +You may use some *basic* Markdown here. +If left empty, it will try to find a README file instead. diff --git a/gnuradio/gr-grsksdr/apps/CMakeLists.txt b/gnuradio/gr-grsksdr/apps/CMakeLists.txt new file mode 100644 index 0000000..6c1614b --- /dev/null +++ b/gnuradio/gr-grsksdr/apps/CMakeLists.txt @@ -0,0 +1,26 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +include(GrPython) + +GR_PYTHON_INSTALL( + PROGRAMS + DESTINATION bin +) diff --git a/gnuradio/gr-grsksdr/cmake/Modules/CMakeParseArgumentsCopy.cmake b/gnuradio/gr-grsksdr/cmake/Modules/CMakeParseArgumentsCopy.cmake new file mode 100644 index 0000000..66016cb --- /dev/null +++ b/gnuradio/gr-grsksdr/cmake/Modules/CMakeParseArgumentsCopy.cmake @@ -0,0 +1,138 @@ +# CMAKE_PARSE_ARGUMENTS( args...) +# +# CMAKE_PARSE_ARGUMENTS() is intended to be used in macros or functions for +# parsing the arguments given to that macro or function. +# It processes the arguments and defines a set of variables which hold the +# values of the respective options. +# +# The argument contains all options for the respective macro, +# i.e. keywords which can be used when calling the macro without any value +# following, like e.g. the OPTIONAL keyword of the install() command. +# +# The argument contains all keywords for this macro +# which are followed by one value, like e.g. DESTINATION keyword of the +# install() command. +# +# The argument contains all keywords for this macro +# which can be followed by more than one value, like e.g. the TARGETS or +# FILES keywords of the install() command. +# +# When done, CMAKE_PARSE_ARGUMENTS() will have defined for each of the +# keywords listed in , and +# a variable composed of the given +# followed by "_" and the name of the respective keyword. +# These variables will then hold the respective value from the argument list. +# For the keywords this will be TRUE or FALSE. +# +# All remaining arguments are collected in a variable +# _UNPARSED_ARGUMENTS, this can be checked afterwards to see whether +# your macro was called with unrecognized parameters. +# +# As an example here a my_install() macro, which takes similar arguments as the +# real install() command: +# +# function(MY_INSTALL) +# set(options OPTIONAL FAST) +# set(oneValueArgs DESTINATION RENAME) +# set(multiValueArgs TARGETS CONFIGURATIONS) +# cmake_parse_arguments(MY_INSTALL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} ) +# ... +# +# Assume my_install() has been called like this: +# my_install(TARGETS foo bar DESTINATION bin OPTIONAL blub) +# +# After the cmake_parse_arguments() call the macro will have set the following +# variables: +# MY_INSTALL_OPTIONAL = TRUE +# MY_INSTALL_FAST = FALSE (this option was not used when calling my_install() +# MY_INSTALL_DESTINATION = "bin" +# MY_INSTALL_RENAME = "" (was not used) +# MY_INSTALL_TARGETS = "foo;bar" +# MY_INSTALL_CONFIGURATIONS = "" (was not used) +# MY_INSTALL_UNPARSED_ARGUMENTS = "blub" (no value expected after "OPTIONAL" +# +# You can the continue and process these variables. +# +# Keywords terminate lists of values, e.g. if directly after a one_value_keyword +# another recognized keyword follows, this is interpreted as the beginning of +# the new option. +# E.g. my_install(TARGETS foo DESTINATION OPTIONAL) would result in +# MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION would +# be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefore. + +#============================================================================= +# Copyright 2010 Alexander Neundorf +# +# Distributed under the OSI-approved BSD License (the "License"); +# see accompanying file Copyright.txt for details. +# +# This software is distributed WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the License for more information. +#============================================================================= +# (To distribute this file outside of CMake, substitute the full +# License text for the above reference.) + + +if(__CMAKE_PARSE_ARGUMENTS_INCLUDED) + return() +endif() +set(__CMAKE_PARSE_ARGUMENTS_INCLUDED TRUE) + + +function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgNames) + # first set all result variables to empty/FALSE + foreach(arg_name ${_singleArgNames} ${_multiArgNames}) + set(${prefix}_${arg_name}) + endforeach(arg_name) + + foreach(option ${_optionNames}) + set(${prefix}_${option} FALSE) + endforeach(option) + + set(${prefix}_UNPARSED_ARGUMENTS) + + set(insideValues FALSE) + set(currentArgName) + + # now iterate over all arguments and fill the result variables + foreach(currentArg ${ARGN}) + list(FIND _optionNames "${currentArg}" optionIndex) # ... then this marks the end of the arguments belonging to this keyword + list(FIND _singleArgNames "${currentArg}" singleArgIndex) # ... then this marks the end of the arguments belonging to this keyword + list(FIND _multiArgNames "${currentArg}" multiArgIndex) # ... then this marks the end of the arguments belonging to this keyword + + if(${optionIndex} EQUAL -1 AND ${singleArgIndex} EQUAL -1 AND ${multiArgIndex} EQUAL -1) + if(insideValues) + if("${insideValues}" STREQUAL "SINGLE") + set(${prefix}_${currentArgName} ${currentArg}) + set(insideValues FALSE) + elseif("${insideValues}" STREQUAL "MULTI") + list(APPEND ${prefix}_${currentArgName} ${currentArg}) + endif() + else(insideValues) + list(APPEND ${prefix}_UNPARSED_ARGUMENTS ${currentArg}) + endif(insideValues) + else() + if(NOT ${optionIndex} EQUAL -1) + set(${prefix}_${currentArg} TRUE) + set(insideValues FALSE) + elseif(NOT ${singleArgIndex} EQUAL -1) + set(currentArgName ${currentArg}) + set(${prefix}_${currentArgName}) + set(insideValues "SINGLE") + elseif(NOT ${multiArgIndex} EQUAL -1) + set(currentArgName ${currentArg}) + set(${prefix}_${currentArgName}) + set(insideValues "MULTI") + endif() + endif() + + endforeach(currentArg) + + # propagate the result variables to the caller: + foreach(arg_name ${_singleArgNames} ${_multiArgNames} ${_optionNames}) + set(${prefix}_${arg_name} ${${prefix}_${arg_name}} PARENT_SCOPE) + endforeach(arg_name) + set(${prefix}_UNPARSED_ARGUMENTS ${${prefix}_UNPARSED_ARGUMENTS} PARENT_SCOPE) + +endfunction(CMAKE_PARSE_ARGUMENTS _options _singleArgs _multiArgs) diff --git a/gnuradio/gr-grsksdr/cmake/Modules/grsksdrConfig.cmake b/gnuradio/gr-grsksdr/cmake/Modules/grsksdrConfig.cmake new file mode 100644 index 0000000..d32b130 --- /dev/null +++ b/gnuradio/gr-grsksdr/cmake/Modules/grsksdrConfig.cmake @@ -0,0 +1,31 @@ +INCLUDE(FindPkgConfig) +PKG_CHECK_MODULES(PC_GRSKSDR grsksdr) + +FIND_PATH( + GRSKSDR_INCLUDE_DIRS + NAMES grsksdr/api.h + HINTS $ENV{GRSKSDR_DIR}/include + ${PC_GRSKSDR_INCLUDEDIR} + PATHS ${CMAKE_INSTALL_PREFIX}/include + /usr/local/include + /usr/include +) + +FIND_LIBRARY( + GRSKSDR_LIBRARIES + NAMES gnuradio-grsksdr + HINTS $ENV{GRSKSDR_DIR}/lib + ${PC_GRSKSDR_LIBDIR} + PATHS ${CMAKE_INSTALL_PREFIX}/lib + ${CMAKE_INSTALL_PREFIX}/lib64 + /usr/local/lib + /usr/local/lib64 + /usr/lib + /usr/lib64 + ) + +include("${CMAKE_CURRENT_LIST_DIR}/grsksdrTarget.cmake") + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(GRSKSDR DEFAULT_MSG GRSKSDR_LIBRARIES GRSKSDR_INCLUDE_DIRS) +MARK_AS_ADVANCED(GRSKSDR_LIBRARIES GRSKSDR_INCLUDE_DIRS) diff --git a/gnuradio/gr-grsksdr/cmake/Modules/targetConfig.cmake.in b/gnuradio/gr-grsksdr/cmake/Modules/targetConfig.cmake.in new file mode 100644 index 0000000..79e4a28 --- /dev/null +++ b/gnuradio/gr-grsksdr/cmake/Modules/targetConfig.cmake.in @@ -0,0 +1,26 @@ +# Copyright 2018 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +include(CMakeFindDependencyMacro) + +set(target_deps "@TARGET_DEPENDENCIES@") +foreach(dep IN LISTS target_deps) + find_dependency(${dep}) +endforeach() +include("${CMAKE_CURRENT_LIST_DIR}/@TARGET@Targets.cmake") diff --git a/gnuradio/gr-grsksdr/cmake/cmake_uninstall.cmake.in b/gnuradio/gr-grsksdr/cmake/cmake_uninstall.cmake.in new file mode 100644 index 0000000..9ae1ae4 --- /dev/null +++ b/gnuradio/gr-grsksdr/cmake/cmake_uninstall.cmake.in @@ -0,0 +1,32 @@ +# http://www.vtk.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F + +IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") +ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + +FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) +STRING(REGEX REPLACE "\n" ";" files "${files}") +FOREACH(file ${files}) + MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") + IF(EXISTS "$ENV{DESTDIR}${file}") + EXEC_PROGRAM( + "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" + OUTPUT_VARIABLE rm_out + RETURN_VALUE rm_retval + ) + IF(NOT "${rm_retval}" STREQUAL 0) + MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") + ENDIF(NOT "${rm_retval}" STREQUAL 0) + ELSEIF(IS_SYMLINK "$ENV{DESTDIR}${file}") + EXEC_PROGRAM( + "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" + OUTPUT_VARIABLE rm_out + RETURN_VALUE rm_retval + ) + IF(NOT "${rm_retval}" STREQUAL 0) + MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") + ENDIF(NOT "${rm_retval}" STREQUAL 0) + ELSE(EXISTS "$ENV{DESTDIR}${file}") + MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.") + ENDIF(EXISTS "$ENV{DESTDIR}${file}") +ENDFOREACH(file) diff --git a/gnuradio/gr-grsksdr/docs/CMakeLists.txt b/gnuradio/gr-grsksdr/docs/CMakeLists.txt new file mode 100644 index 0000000..500b630 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/CMakeLists.txt @@ -0,0 +1,36 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Setup dependencies +######################################################################## +find_package(Doxygen) + +######################################################################## +# Begin conditional configuration +######################################################################## +if(ENABLE_DOXYGEN) + +######################################################################## +# Add subdirectories +######################################################################## +add_subdirectory(doxygen) + +endif(ENABLE_DOXYGEN) diff --git a/gnuradio/gr-grsksdr/docs/README.grsksdr b/gnuradio/gr-grsksdr/docs/README.grsksdr new file mode 100644 index 0000000..4729ed1 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/README.grsksdr @@ -0,0 +1,11 @@ +This is the grsksdr-write-a-block package meant as a guide to building +out-of-tree packages. To use the grsksdr blocks, the Python namespaces +is in 'grsksdr', which is imported as: + + import grsksdr + +See the Doxygen documentation for details about the blocks available +in this package. A quick listing of the details can be found in Python +after importing by using: + + help(grsksdr) diff --git a/gnuradio/gr-grsksdr/docs/doxygen/CMakeLists.txt b/gnuradio/gr-grsksdr/docs/doxygen/CMakeLists.txt new file mode 100644 index 0000000..5aad8f8 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/CMakeLists.txt @@ -0,0 +1,53 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Create the doxygen configuration file +######################################################################## +file(TO_NATIVE_PATH ${CMAKE_SOURCE_DIR} top_srcdir) +file(TO_NATIVE_PATH ${CMAKE_BINARY_DIR} top_builddir) +file(TO_NATIVE_PATH ${CMAKE_SOURCE_DIR} abs_top_srcdir) +file(TO_NATIVE_PATH ${CMAKE_BINARY_DIR} abs_top_builddir) + +set(HAVE_DOT ${DOXYGEN_DOT_FOUND}) +set(enable_html_docs YES) +set(enable_latex_docs NO) +set(enable_xml_docs YES) + +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in + ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile +@ONLY) + +set(BUILT_DIRS ${CMAKE_CURRENT_BINARY_DIR}/xml ${CMAKE_CURRENT_BINARY_DIR}/html) + +######################################################################## +# Make and install doxygen docs +######################################################################## +add_custom_command( + OUTPUT ${BUILT_DIRS} + COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Generating documentation with doxygen" +) + +add_custom_target(doxygen_target ALL DEPENDS ${BUILT_DIRS}) + +install(DIRECTORY ${BUILT_DIRS} DESTINATION ${GR_PKG_DOC_DIR}) diff --git a/gnuradio/gr-grsksdr/docs/doxygen/Doxyfile.in b/gnuradio/gr-grsksdr/docs/doxygen/Doxyfile.in new file mode 100644 index 0000000..f51c350 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/Doxyfile.in @@ -0,0 +1,1910 @@ +# Doxyfile 1.8.4 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed +# in front of the TAG it is preceding . +# All text after a hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" "). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or sequence of words) that should +# identify the project. Note that if you do not use Doxywizard you need +# to put quotes around the project name if it contains spaces. + +PROJECT_NAME = "GNU Radio's GRSKSDR Package" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer +# a quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is +# included in the documentation. The maximum height of the logo should not +# exceed 55 pixels and the maximum width should not exceed 200 pixels. +# Doxygen will copy the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Latvian, Lithuanian, Norwegian, Macedonian, +# Persian, Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, +# Slovak, Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = YES + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. Note that you specify absolute paths here, but also +# relative paths, which will be relative from the directory where doxygen is +# started. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful if your file system +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = YES + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding +# "class=itcl::class" will allow you to use the command class in the +# itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, +# and language is one of the parsers supported by doxygen: IDL, Java, +# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, +# C++. For instance to make doxygen treat .inc files as Fortran files (default +# is PHP), and .f files as C (default is Fortran), use: inc=Fortran f=C. Note +# that for custom extensions you also need to set FILE_PATTERNS otherwise the +# files are not read by doxygen. + +EXTENSION_MAPPING = + +# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all +# comments according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you +# can mix doxygen, HTML, and XML commands with Markdown formatting. +# Disable only in case of backward compatibilities issues. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also makes the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = YES + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES (the +# default) will make doxygen replace the get and set methods by a property in +# the documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and +# unions are shown inside the group in which they are included (e.g. using +# @ingroup) instead of on a separate page (for HTML and Man pages) or +# section (for LaTeX and RTF). + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and +# unions with only public data fields or simple typedef fields will be shown +# inline in the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO (the default), structs, classes, and unions are shown on a separate +# page (for HTML and Man pages) or section (for LaTeX and RTF). + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can +# be an expensive process and often the same symbol appear multiple times in +# the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too +# small doxygen will become slower. If the cache is too large, memory is wasted. +# The cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid +# range is 0..9, the default is 0, corresponding to a cache size of 2^16 = 65536 +# symbols. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespaces are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to +# do proper type resolution of all parameters of a function it will reject a +# match between the prototype and the implementation of a member function even +# if there is only one candidate or it is obvious which candidate to choose +# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen +# will still accept a match between prototype and implementation in such cases. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = NO + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = NO + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = NO + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= NO + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if section-label ... \endif +# and \cond section-label ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or macro consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and macros in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. +# This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = NO + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. +# You can optionally specify a file name after the option, if omitted +# DoxygenLayout.xml will be used as the name of the layout file. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files +# containing the references data. This must be a list of .bib files. The +# .bib extension is automatically appended if omitted. Using this command +# requires the bibtex tool to be installed. See also +# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style +# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this +# feature you need bibtex and perl available in the search path. Do not use +# file names with spaces, bibtex cannot handle them. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = YES + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_NO_PARAMDOC option can be enabled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text " + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = "@top_srcdir@" \ + "@top_builddir@" + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh +# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py +# *.f90 *.f *.for *.vhd *.vhdl + +FILE_PATTERNS = *.h \ + *.dox + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = @abs_top_builddir@/docs/doxygen/html \ + @abs_top_builddir@/docs/doxygen/xml \ + @abs_top_builddir@/docs/doxygen/other/doxypy.py \ + @abs_top_builddir@/_CPack_Packages \ + @abs_top_srcdir@/cmake + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = */.deps/* \ + */.libs/* \ + */.svn/* \ + */CVS/* \ + */__init__.py \ + */qa_*.cc \ + */qa_*.h \ + */qa_*.py + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = ad9862 \ + numpy \ + *swig* \ + *Swig* \ + *my_top_block* \ + *my_graph* \ + *app_top_block* \ + *am_rx_graph* \ + *_queue_watcher_thread* \ + *parse* \ + *MyFrame* \ + *MyApp* \ + *PyObject* \ + *wfm_rx_block* \ + *_sptr* \ + *debug* \ + *wfm_rx_sca_block* \ + *tv_rx_block* \ + *wxapt_rx_block* \ + *example_signal* + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. +# If FILTER_PATTERNS is specified, this tag will be ignored. +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. +# Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. +# The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty or if +# non of the patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = *.py="@top_srcdir@"/doc/doxygen/other/doxypy.py + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) +# and it is also possible to disable source filtering for a specific pattern +# using *.ext= (so without naming a filter). This option only has effect when +# FILTER_SOURCE_FILES is enabled. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C, C++ and Fortran comments will always remain visible. + +STRIP_CODE_COMMENTS = NO + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. +# Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = @enable_html_docs@ + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. Note that when using a custom header you are responsible +# for the proper inclusion of any scripts and style sheets that doxygen +# needs, which is dependent on the configuration options used. +# It is advised to generate a default header using "doxygen -w html +# header.html footer.html stylesheet.css YourConfigFile" and then modify +# that header. Note that the header is subject to change so you typically +# have to redo this when upgrading to a newer version of doxygen or when +# changing the value of configuration settings such as GENERATE_TREEVIEW! + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If left blank doxygen will +# generate a default style sheet. Note that it is recommended to use +# HTML_EXTRA_STYLESHEET instead of this one, as it is more robust and this +# tag will in the future become obsolete. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional +# user-defined cascading style sheet that is included after the standard +# style sheets created by doxygen. Using this option one can overrule +# certain style aspects. This is preferred over using HTML_STYLESHEET +# since it does not replace the standard style sheet and is therefore more +# robust against future updates. Doxygen will copy the style sheet file to +# the output directory. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that +# the files will be copied as-is; there are no commands or markers available. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. +# Doxygen will adjust the colors in the style sheet and background images +# according to this color. Hue is specified as an angle on a colorwheel, +# see http://en.wikipedia.org/wiki/Hue for more information. +# For instance the value 0 represents red, 60 is yellow, 120 is green, +# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. +# The allowed range is 0 to 359. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of +# the colors in the HTML output. For a value of 0 the output will use +# grayscales only. A value of 255 will produce the most vivid colors. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to +# the luminance component of the colors in the HTML output. Values below +# 100 gradually make the output lighter, whereas values above 100 make +# the output darker. The value divided by 100 is the actual gamma applied, +# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, +# and 100 does not change the gamma. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. + +HTML_TIMESTAMP = NO + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of +# entries shown in the various tree structured indices initially; the user +# can expand and collapse entries dynamically later on. Doxygen will expand +# the tree to such a level that at most the specified number of entries are +# visible (unless a fully collapsed tree already exceeds this amount). +# So setting the number of entries 1 will produce a full collapsed tree by +# default. 0 is a special value representing an infinite number of entries +# and will result in a full expanded tree by default. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely +# identify the documentation publisher. This should be a reverse domain-name +# style string, e.g. com.mycompany.MyDocSet.documentation. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = YES + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated +# that can be used as input for Qt's qhelpgenerator to generate a +# Qt Compressed Help (.qch) of the generated HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to +# add. For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see +# +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's +# filter section matches. +# +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) +# at top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. Since the tabs have the same information as the +# navigation tree you can set this option to NO if you already set +# GENERATE_TREEVIEW to YES. + +DISABLE_INDEX = YES + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. +# Since the tree basically has the same information as the tab index you +# could consider to set DISABLE_INDEX to NO when enabling this option. + +GENERATE_TREEVIEW = YES + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 180 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open +# links to external symbols imported via tag files in a separate window. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are +# not supported properly for IE 6.0, but are supported on all modern browsers. +# Note that when changing this option you need to delete any form_*.png files +# in the HTML output before the changes have effect. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax +# (see http://www.mathjax.org) which uses client side Javascript for the +# rendering instead of using prerendered bitmaps. Use this if you do not +# have LaTeX installed or if you want to formulas look prettier in the HTML +# output. When enabled you may also need to install MathJax separately and +# configure the path to it using the MATHJAX_RELPATH option. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and +# SVG. The default value is HTML-CSS, which is slower, but has the best +# compatibility. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the +# HTML output directory using the MATHJAX_RELPATH option. The destination +# directory should contain the MathJax.js script. For instance, if the mathjax +# directory is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to +# the MathJax Content Delivery Network so you can quickly see the result without +# installing MathJax. +# However, it is strongly recommended to install a local +# copy of MathJax from http://www.mathjax.org before deployment. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension +# names that should be enabled during MathJax rendering. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript +# pieces of code that will be used on startup of the MathJax code. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets +# (GENERATE_DOCSET) there is already a search function so this one should +# typically be disabled. For large projects the javascript based search engine +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. + +SEARCHENGINE = NO + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a web server instead of a web client using Javascript. +# There are two flavours of web server based search depending on the +# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for +# searching and an index file used by the script. When EXTERNAL_SEARCH is +# enabled the indexing and searching needs to be provided by external tools. +# See the manual for details. + +SERVER_BASED_SEARCH = NO + +# When EXTERNAL_SEARCH is enabled doxygen will no longer generate the PHP +# script for searching. Instead the search results are written to an XML file +# which needs to be processed by an external indexer. Doxygen will invoke an +# external search engine pointed to by the SEARCHENGINE_URL option to obtain +# the search results. Doxygen ships with an example indexer (doxyindexer) and +# search engine (doxysearch.cgi) which are based on the open source search +# engine library Xapian. See the manual for configuration details. + +EXTERNAL_SEARCH = NO + +# The SEARCHENGINE_URL should point to a search engine hosted by a web server +# which will returned the search results when EXTERNAL_SEARCH is enabled. +# Doxygen ships with an example search engine (doxysearch) which is based on +# the open source search engine library Xapian. See the manual for configuration +# details. + +SEARCHENGINE_URL = + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed +# search data is written to a file for indexing by an external tool. With the +# SEARCHDATA_FILE tag the name of this file can be specified. + +SEARCHDATA_FILE = searchdata.xml + +# When SERVER_BASED_SEARCH AND EXTERNAL_SEARCH are both enabled the +# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is +# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple +# projects and redirect the results back to the right project. + +EXTERNAL_SEARCH_ID = + +# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen +# projects other than the one defined by this configuration file, but that are +# all added to the same external search index. Each project needs to have a +# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id +# of to a relative location where the documentation can be found. +# The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ... + +EXTRA_SEARCH_MAPPINGS = + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = @enable_latex_docs@ + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. +# Note that when enabling USE_PDFLATEX this option is only used for +# generating bitmaps for formulas in the HTML output, but not in the +# Makefile that is written to the output directory. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, letter, legal and +# executive. If left blank a4 will be used. + +PAPER_TYPE = letter + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for +# the generated latex document. The footer should contain everything after +# the last chapter. If it is left blank doxygen will generate a +# standard footer. Notice: only use this tag if you know what you are doing! + +LATEX_FOOTER = + +# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images +# or other source files which should be copied to the LaTeX output directory. +# Note that the files will be copied as-is; there are no commands or markers +# available. + +LATEX_EXTRA_FILES = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +# The LATEX_BIB_STYLE tag can be used to specify the style to use for the +# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See +# http://en.wikipedia.org/wiki/BibTeX for more info. + +LATEX_BIB_STYLE = plain + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load style sheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = @enable_xml_docs@ + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = NO + +#--------------------------------------------------------------------------- +# configuration options related to the DOCBOOK output +#--------------------------------------------------------------------------- + +# If the GENERATE_DOCBOOK tag is set to YES Doxygen will generate DOCBOOK files +# that can be used to generate PDF. + +GENERATE_DOCBOOK = NO + +# The DOCBOOK_OUTPUT tag is used to specify where the DOCBOOK pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in +# front of it. If left blank docbook will be used as the default path. + +DOCBOOK_OUTPUT = docbook + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. +# This is useful +# if you want to understand what is going on. +# On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# pointed to by INCLUDE_PATH will be searched when a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition that +# overrules the definition found in the source code. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all references to function-like macros +# that are alone on a line, have an all uppercase name, and do not end with a +# semicolon, because these will confuse the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. For each +# tag file the location of the external documentation should be added. The +# format of a tag file without this location is as follows: +# +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths +# or URLs. Note that each tag file must have a unique name (where the name does +# NOT include the path). If a tag file is not located in the directory in which +# doxygen is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed +# in the related pages index. If set to NO, only the current project's +# pages will be listed. + +EXTERNAL_PAGES = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option also works with HAVE_DOT disabled, but it is recommended to +# install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = @HAVE_DOT@ + +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is +# allowed to run in parallel. When set to 0 (the default) doxygen will +# base this on the number of processors available in the system. You can set it +# explicitly to a value larger than 0 to get control over the balance +# between CPU load and processing speed. + +DOT_NUM_THREADS = 0 + +# By default doxygen will use the Helvetica font for all dot files that +# doxygen generates. When you want a differently looking font you can specify +# the font name using DOT_FONTNAME. You need to make sure dot is able to find +# the font, which can be done by putting it in a standard location or by setting +# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the +# directory containing the font. + +DOT_FONTNAME = Helvetica + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the Helvetica font. +# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to +# set the path where dot can find it. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = NO + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If the UML_LOOK tag is enabled, the fields and methods are shown inside +# the class node. If there are many fields or methods and many nodes the +# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS +# threshold limits the number of items for each type to make the size more +# manageable. Set this to 0 for no limit. Note that the threshold may be +# exceeded by 50% before the limit is enforced. + +UML_LIMIT_NUM_FIELDS = 10 + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will generate a graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are svg, png, jpg, or gif. +# If left blank png will be used. If you choose svg you need to set +# HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible in IE 9+ (other browsers do not have this requirement). + +DOT_IMAGE_FORMAT = png + +# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to +# enable generation of interactive SVG images that allow zooming and panning. +# Note that this requires a modern browser other than Internet Explorer. +# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you +# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible. Older versions of IE do not have SVG support. + +INTERACTIVE_SVG = NO + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MSCFILE_DIRS tag can be used to specify one or more directories that +# contain msc files that are included in the documentation (see the +# \mscfile command). + +MSCFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = YES + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/gnuradio/gr-grsksdr/docs/doxygen/Doxyfile.swig_doc.in b/gnuradio/gr-grsksdr/docs/doxygen/Doxyfile.swig_doc.in new file mode 100644 index 0000000..cbe06d6 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/Doxyfile.swig_doc.in @@ -0,0 +1,1878 @@ +# Doxyfile 1.8.4 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed +# in front of the TAG it is preceding . +# All text after a hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" "). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or sequence of words) that should +# identify the project. Note that if you do not use Doxywizard you need +# to put quotes around the project name if it contains spaces. + +PROJECT_NAME = @CPACK_PACKAGE_NAME@ + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = @CPACK_PACKAGE_VERSION@ + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer +# a quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is +# included in the documentation. The maximum height of the logo should not +# exceed 55 pixels and the maximum width should not exceed 200 pixels. +# Doxygen will copy the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = "@OUTPUT_DIRECTORY@" + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Latvian, Lithuanian, Norwegian, Macedonian, +# Persian, Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, +# Slovak, Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. Note that you specify absolute paths here, but also +# relative paths, which will be relative from the directory where doxygen is +# started. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful if your file system +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding +# "class=itcl::class" will allow you to use the command class in the +# itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, +# and language is one of the parsers supported by doxygen: IDL, Java, +# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, +# C++. For instance to make doxygen treat .inc files as Fortran files (default +# is PHP), and .f files as C (default is Fortran), use: inc=Fortran f=C. Note +# that for custom extensions you also need to set FILE_PATTERNS otherwise the +# files are not read by doxygen. + +EXTENSION_MAPPING = + +# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all +# comments according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you +# can mix doxygen, HTML, and XML commands with Markdown formatting. +# Disable only in case of backward compatibilities issues. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also makes the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = YES + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES (the +# default) will make doxygen replace the get and set methods by a property in +# the documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and +# unions are shown inside the group in which they are included (e.g. using +# @ingroup) instead of on a separate page (for HTML and Man pages) or +# section (for LaTeX and RTF). + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and +# unions with only public data fields or simple typedef fields will be shown +# inline in the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO (the default), structs, classes, and unions are shown on a separate +# page (for HTML and Man pages) or section (for LaTeX and RTF). + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can +# be an expensive process and often the same symbol appear multiple times in +# the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too +# small doxygen will become slower. If the cache is too large, memory is wasted. +# The cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid +# range is 0..9, the default is 0, corresponding to a cache size of 2^16 = 65536 +# symbols. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespaces are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to +# do proper type resolution of all parameters of a function it will reject a +# match between the prototype and the implementation of a member function even +# if there is only one candidate or it is obvious which candidate to choose +# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen +# will still accept a match between prototype and implementation in such cases. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if section-label ... \endif +# and \cond section-label ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or macro consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and macros in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. +# This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. +# You can optionally specify a file name after the option, if omitted +# DoxygenLayout.xml will be used as the name of the layout file. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files +# containing the references data. This must be a list of .bib files. The +# .bib extension is automatically appended if omitted. Using this command +# requires the bibtex tool to be installed. See also +# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style +# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this +# feature you need bibtex and perl available in the search path. Do not use +# file names with spaces, bibtex cannot handle them. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = YES + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_NO_PARAMDOC option can be enabled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = @INPUT_PATHS@ + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh +# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py +# *.f90 *.f *.for *.vhd *.vhdl + +FILE_PATTERNS = *.h + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. +# If FILTER_PATTERNS is specified, this tag will be ignored. +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. +# Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. +# The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty or if +# non of the patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) +# and it is also possible to disable source filtering for a specific pattern +# using *.ext= (so without naming a filter). This option only has effect when +# FILTER_SOURCE_FILES is enabled. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C, C++ and Fortran comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. +# Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = NO + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. Note that when using a custom header you are responsible +# for the proper inclusion of any scripts and style sheets that doxygen +# needs, which is dependent on the configuration options used. +# It is advised to generate a default header using "doxygen -w html +# header.html footer.html stylesheet.css YourConfigFile" and then modify +# that header. Note that the header is subject to change so you typically +# have to redo this when upgrading to a newer version of doxygen or when +# changing the value of configuration settings such as GENERATE_TREEVIEW! + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If left blank doxygen will +# generate a default style sheet. Note that it is recommended to use +# HTML_EXTRA_STYLESHEET instead of this one, as it is more robust and this +# tag will in the future become obsolete. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional +# user-defined cascading style sheet that is included after the standard +# style sheets created by doxygen. Using this option one can overrule +# certain style aspects. This is preferred over using HTML_STYLESHEET +# since it does not replace the standard style sheet and is therefore more +# robust against future updates. Doxygen will copy the style sheet file to +# the output directory. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that +# the files will be copied as-is; there are no commands or markers available. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. +# Doxygen will adjust the colors in the style sheet and background images +# according to this color. Hue is specified as an angle on a colorwheel, +# see http://en.wikipedia.org/wiki/Hue for more information. +# For instance the value 0 represents red, 60 is yellow, 120 is green, +# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. +# The allowed range is 0 to 359. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of +# the colors in the HTML output. For a value of 0 the output will use +# grayscales only. A value of 255 will produce the most vivid colors. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to +# the luminance component of the colors in the HTML output. Values below +# 100 gradually make the output lighter, whereas values above 100 make +# the output darker. The value divided by 100 is the actual gamma applied, +# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, +# and 100 does not change the gamma. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. + +HTML_TIMESTAMP = NO + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of +# entries shown in the various tree structured indices initially; the user +# can expand and collapse entries dynamically later on. Doxygen will expand +# the tree to such a level that at most the specified number of entries are +# visible (unless a fully collapsed tree already exceeds this amount). +# So setting the number of entries 1 will produce a full collapsed tree by +# default. 0 is a special value representing an infinite number of entries +# and will result in a full expanded tree by default. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely +# identify the documentation publisher. This should be a reverse domain-name +# style string, e.g. com.mycompany.MyDocSet.documentation. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated +# that can be used as input for Qt's qhelpgenerator to generate a +# Qt Compressed Help (.qch) of the generated HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to +# add. For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see +# +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's +# filter section matches. +# +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) +# at top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. Since the tabs have the same information as the +# navigation tree you can set this option to NO if you already set +# GENERATE_TREEVIEW to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. +# Since the tree basically has the same information as the tab index you +# could consider to set DISABLE_INDEX to NO when enabling this option. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open +# links to external symbols imported via tag files in a separate window. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are +# not supported properly for IE 6.0, but are supported on all modern browsers. +# Note that when changing this option you need to delete any form_*.png files +# in the HTML output before the changes have effect. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax +# (see http://www.mathjax.org) which uses client side Javascript for the +# rendering instead of using prerendered bitmaps. Use this if you do not +# have LaTeX installed or if you want to formulas look prettier in the HTML +# output. When enabled you may also need to install MathJax separately and +# configure the path to it using the MATHJAX_RELPATH option. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and +# SVG. The default value is HTML-CSS, which is slower, but has the best +# compatibility. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the +# HTML output directory using the MATHJAX_RELPATH option. The destination +# directory should contain the MathJax.js script. For instance, if the mathjax +# directory is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to +# the MathJax Content Delivery Network so you can quickly see the result without +# installing MathJax. +# However, it is strongly recommended to install a local +# copy of MathJax from http://www.mathjax.org before deployment. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension +# names that should be enabled during MathJax rendering. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript +# pieces of code that will be used on startup of the MathJax code. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets +# (GENERATE_DOCSET) there is already a search function so this one should +# typically be disabled. For large projects the javascript based search engine +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. + +SEARCHENGINE = YES + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a web server instead of a web client using Javascript. +# There are two flavours of web server based search depending on the +# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for +# searching and an index file used by the script. When EXTERNAL_SEARCH is +# enabled the indexing and searching needs to be provided by external tools. +# See the manual for details. + +SERVER_BASED_SEARCH = NO + +# When EXTERNAL_SEARCH is enabled doxygen will no longer generate the PHP +# script for searching. Instead the search results are written to an XML file +# which needs to be processed by an external indexer. Doxygen will invoke an +# external search engine pointed to by the SEARCHENGINE_URL option to obtain +# the search results. Doxygen ships with an example indexer (doxyindexer) and +# search engine (doxysearch.cgi) which are based on the open source search +# engine library Xapian. See the manual for configuration details. + +EXTERNAL_SEARCH = NO + +# The SEARCHENGINE_URL should point to a search engine hosted by a web server +# which will returned the search results when EXTERNAL_SEARCH is enabled. +# Doxygen ships with an example search engine (doxysearch) which is based on +# the open source search engine library Xapian. See the manual for configuration +# details. + +SEARCHENGINE_URL = + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed +# search data is written to a file for indexing by an external tool. With the +# SEARCHDATA_FILE tag the name of this file can be specified. + +SEARCHDATA_FILE = searchdata.xml + +# When SERVER_BASED_SEARCH AND EXTERNAL_SEARCH are both enabled the +# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is +# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple +# projects and redirect the results back to the right project. + +EXTERNAL_SEARCH_ID = + +# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen +# projects other than the one defined by this configuration file, but that are +# all added to the same external search index. Each project needs to have a +# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id +# of to a relative location where the documentation can be found. +# The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ... + +EXTRA_SEARCH_MAPPINGS = + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. +# Note that when enabling USE_PDFLATEX this option is only used for +# generating bitmaps for formulas in the HTML output, but not in the +# Makefile that is written to the output directory. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, letter, legal and +# executive. If left blank a4 will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for +# the generated latex document. The footer should contain everything after +# the last chapter. If it is left blank doxygen will generate a +# standard footer. Notice: only use this tag if you know what you are doing! + +LATEX_FOOTER = + +# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images +# or other source files which should be copied to the LaTeX output directory. +# Note that the files will be copied as-is; there are no commands or markers +# available. + +LATEX_EXTRA_FILES = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +# The LATEX_BIB_STYLE tag can be used to specify the style to use for the +# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See +# http://en.wikipedia.org/wiki/BibTeX for more info. + +LATEX_BIB_STYLE = plain + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load style sheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = YES + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options related to the DOCBOOK output +#--------------------------------------------------------------------------- + +# If the GENERATE_DOCBOOK tag is set to YES Doxygen will generate DOCBOOK files +# that can be used to generate PDF. + +GENERATE_DOCBOOK = NO + +# The DOCBOOK_OUTPUT tag is used to specify where the DOCBOOK pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in +# front of it. If left blank docbook will be used as the default path. + +DOCBOOK_OUTPUT = docbook + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. +# This is useful +# if you want to understand what is going on. +# On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = YES + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# pointed to by INCLUDE_PATH will be searched when a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition that +# overrules the definition found in the source code. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all references to function-like macros +# that are alone on a line, have an all uppercase name, and do not end with a +# semicolon, because these will confuse the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. For each +# tag file the location of the external documentation should be added. The +# format of a tag file without this location is as follows: +# +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths +# or URLs. Note that each tag file must have a unique name (where the name does +# NOT include the path). If a tag file is not located in the directory in which +# doxygen is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed +# in the related pages index. If set to NO, only the current project's +# pages will be listed. + +EXTERNAL_PAGES = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option also works with HAVE_DOT disabled, but it is recommended to +# install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is +# allowed to run in parallel. When set to 0 (the default) doxygen will +# base this on the number of processors available in the system. You can set it +# explicitly to a value larger than 0 to get control over the balance +# between CPU load and processing speed. + +DOT_NUM_THREADS = 0 + +# By default doxygen will use the Helvetica font for all dot files that +# doxygen generates. When you want a differently looking font you can specify +# the font name using DOT_FONTNAME. You need to make sure dot is able to find +# the font, which can be done by putting it in a standard location or by setting +# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the +# directory containing the font. + +DOT_FONTNAME = Helvetica + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the Helvetica font. +# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to +# set the path where dot can find it. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If the UML_LOOK tag is enabled, the fields and methods are shown inside +# the class node. If there are many fields or methods and many nodes the +# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS +# threshold limits the number of items for each type to make the size more +# manageable. Set this to 0 for no limit. Note that the threshold may be +# exceeded by 50% before the limit is enforced. + +UML_LIMIT_NUM_FIELDS = 10 + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will generate a graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are svg, png, jpg, or gif. +# If left blank png will be used. If you choose svg you need to set +# HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible in IE 9+ (other browsers do not have this requirement). + +DOT_IMAGE_FORMAT = png + +# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to +# enable generation of interactive SVG images that allow zooming and panning. +# Note that this requires a modern browser other than Internet Explorer. +# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you +# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible. Older versions of IE do not have SVG support. + +INTERACTIVE_SVG = NO + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MSCFILE_DIRS tag can be used to specify one or more directories that +# contain msc files that are included in the documentation (see the +# \mscfile command). + +MSCFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = YES + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/__init__.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/__init__.py new file mode 100644 index 0000000..f1c14eb --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/__init__.py @@ -0,0 +1,84 @@ +# +# Copyright 2010 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +""" +Python interface to contents of doxygen xml documentation. + +Example use: +See the contents of the example folder for the C++ and +doxygen-generated xml used in this example. + +>>> # Parse the doxygen docs. +>>> import os +>>> this_dir = os.path.dirname(globals()['__file__']) +>>> xml_path = this_dir + "/example/xml/" +>>> di = DoxyIndex(xml_path) + +Get a list of all top-level objects. + +>>> print([mem.name() for mem in di.members()]) +[u'Aadvark', u'aadvarky_enough', u'main'] + +Get all functions. + +>>> print([mem.name() for mem in di.in_category(DoxyFunction)]) +[u'aadvarky_enough', u'main'] + +Check if an object is present. + +>>> di.has_member(u'Aadvark') +True +>>> di.has_member(u'Fish') +False + +Get an item by name and check its properties. + +>>> aad = di.get_member(u'Aadvark') +>>> print(aad.brief_description) +Models the mammal Aadvark. +>>> print(aad.detailed_description) +Sadly the model is incomplete and cannot capture all aspects of an aadvark yet. + +This line is uninformative and is only to test line breaks in the comments. +>>> [mem.name() for mem in aad.members()] +[u'aadvarkness', u'print', u'Aadvark', u'get_aadvarkness'] +>>> aad.get_member(u'print').brief_description +u'Outputs the vital aadvark statistics.' + +""" +from __future__ import unicode_literals + +from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther + +def _test(): + import os + this_dir = os.path.dirname(globals()['__file__']) + xml_path = this_dir + "/example/xml/" + di = DoxyIndex(xml_path) + # Get the Aadvark class + aad = di.get_member('Aadvark') + aad.brief_description + import doctest + return doctest.testmod() + +if __name__ == "__main__": + _test() + diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/base.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/base.py new file mode 100644 index 0000000..1b15d5d --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/base.py @@ -0,0 +1,222 @@ +# +# Copyright 2010 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +""" +A base class is created. + +Classes based upon this are used to make more user-friendly interfaces +to the doxygen xml docs than the generated classes provide. +""" +from __future__ import print_function +from __future__ import unicode_literals + +import os +import pdb + +from xml.parsers.expat import ExpatError + +from .generated import compound + + +class Base(object): + + class Duplicate(Exception): + pass + + class NoSuchMember(Exception): + pass + + class ParsingError(Exception): + pass + + def __init__(self, parse_data, top=None): + self._parsed = False + self._error = False + self._parse_data = parse_data + self._members = [] + self._dict_members = {} + self._in_category = {} + self._data = {} + if top is not None: + self._xml_path = top._xml_path + # Set up holder of references + else: + top = self + self._refs = {} + self._xml_path = parse_data + self.top = top + + @classmethod + def from_refid(cls, refid, top=None): + """ Instantiate class from a refid rather than parsing object. """ + # First check to see if its already been instantiated. + if top is not None and refid in top._refs: + return top._refs[refid] + # Otherwise create a new instance and set refid. + inst = cls(None, top=top) + inst.refid = refid + inst.add_ref(inst) + return inst + + @classmethod + def from_parse_data(cls, parse_data, top=None): + refid = getattr(parse_data, 'refid', None) + if refid is not None and top is not None and refid in top._refs: + return top._refs[refid] + inst = cls(parse_data, top=top) + if refid is not None: + inst.refid = refid + inst.add_ref(inst) + return inst + + def add_ref(self, obj): + if hasattr(obj, 'refid'): + self.top._refs[obj.refid] = obj + + mem_classes = [] + + def get_cls(self, mem): + for cls in self.mem_classes: + if cls.can_parse(mem): + return cls + raise Exception(("Did not find a class for object '%s'." \ + % (mem.get_name()))) + + def convert_mem(self, mem): + try: + cls = self.get_cls(mem) + converted = cls.from_parse_data(mem, self.top) + if converted is None: + raise Exception('No class matched this object.') + self.add_ref(converted) + return converted + except Exception as e: + print(e) + + @classmethod + def includes(cls, inst): + return isinstance(inst, cls) + + @classmethod + def can_parse(cls, obj): + return False + + def _parse(self): + self._parsed = True + + def _get_dict_members(self, cat=None): + """ + For given category a dictionary is returned mapping member names to + members of that category. For names that are duplicated the name is + mapped to None. + """ + self.confirm_no_error() + if cat not in self._dict_members: + new_dict = {} + for mem in self.in_category(cat): + if mem.name() not in new_dict: + new_dict[mem.name()] = mem + else: + new_dict[mem.name()] = self.Duplicate + self._dict_members[cat] = new_dict + return self._dict_members[cat] + + def in_category(self, cat): + self.confirm_no_error() + if cat is None: + return self._members + if cat not in self._in_category: + self._in_category[cat] = [mem for mem in self._members + if cat.includes(mem)] + return self._in_category[cat] + + def get_member(self, name, cat=None): + self.confirm_no_error() + # Check if it's in a namespace or class. + bits = name.split('::') + first = bits[0] + rest = '::'.join(bits[1:]) + member = self._get_dict_members(cat).get(first, self.NoSuchMember) + # Raise any errors that are returned. + if member in set([self.NoSuchMember, self.Duplicate]): + raise member() + if rest: + return member.get_member(rest, cat=cat) + return member + + def has_member(self, name, cat=None): + try: + mem = self.get_member(name, cat=cat) + return True + except self.NoSuchMember: + return False + + def data(self): + self.confirm_no_error() + return self._data + + def members(self): + self.confirm_no_error() + return self._members + + def process_memberdefs(self): + mdtss = [] + for sec in self._retrieved_data.compounddef.sectiondef: + mdtss += sec.memberdef + # At the moment we lose all information associated with sections. + # Sometimes a memberdef is in several sectiondef. + # We make sure we don't get duplicates here. + uniques = set([]) + for mem in mdtss: + converted = self.convert_mem(mem) + pair = (mem.name, mem.__class__) + if pair not in uniques: + uniques.add(pair) + self._members.append(converted) + + def retrieve_data(self): + filename = os.path.join(self._xml_path, self.refid + '.xml') + try: + self._retrieved_data = compound.parse(filename) + except ExpatError: + print('Error in xml in file %s' % filename) + self._error = True + self._retrieved_data = None + + def check_parsed(self): + if not self._parsed: + self._parse() + + def confirm_no_error(self): + self.check_parsed() + if self._error: + raise self.ParsingError() + + def error(self): + self.check_parsed() + return self._error + + def name(self): + # first see if we can do it without processing. + if self._parse_data is not None: + return self._parse_data.name + self.check_parsed() + return self._retrieved_data.compounddef.name diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/doxyindex.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/doxyindex.py new file mode 100644 index 0000000..2f71e8e --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/doxyindex.py @@ -0,0 +1,304 @@ +# +# Copyright 2010 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +""" +Classes providing more user-friendly interfaces to the doxygen xml +docs than the generated classes provide. +""" +from __future__ import absolute_import +from __future__ import unicode_literals + +import os + +from .generated import index +from .base import Base +from .text import description + +class DoxyIndex(Base): + """ + Parses a doxygen xml directory. + """ + + __module__ = "gnuradio.utils.doxyxml" + + def _parse(self): + if self._parsed: + return + super(DoxyIndex, self)._parse() + self._root = index.parse(os.path.join(self._xml_path, 'index.xml')) + for mem in self._root.compound: + converted = self.convert_mem(mem) + # For files and namespaces we want the contents to be + # accessible directly from the parent rather than having + # to go through the file object. + if self.get_cls(mem) == DoxyFile: + if mem.name.endswith('.h'): + self._members += converted.members() + self._members.append(converted) + elif self.get_cls(mem) == DoxyNamespace: + self._members += converted.members() + self._members.append(converted) + else: + self._members.append(converted) + + +def generate_swig_doc_i(self): + """ + %feature("docstring") gr_make_align_on_samplenumbers_ss::align_state " + Wraps the C++: gr_align_on_samplenumbers_ss::align_state"; + """ + pass + + +class DoxyCompMem(Base): + + + kind = None + + def __init__(self, *args, **kwargs): + super(DoxyCompMem, self).__init__(*args, **kwargs) + + @classmethod + def can_parse(cls, obj): + return obj.kind == cls.kind + + def set_descriptions(self, parse_data): + bd = description(getattr(parse_data, 'briefdescription', None)) + dd = description(getattr(parse_data, 'detaileddescription', None)) + self._data['brief_description'] = bd + self._data['detailed_description'] = dd + + def set_parameters(self, data): + vs = [ddc.value for ddc in data.detaileddescription.content_] + pls = [] + for v in vs: + if hasattr(v, 'parameterlist'): + pls += v.parameterlist + pis = [] + for pl in pls: + pis += pl.parameteritem + dpis = [] + for pi in pis: + dpi = DoxyParameterItem(pi) + dpi._parse() + dpis.append(dpi) + self._data['params'] = dpis + + +class DoxyCompound(DoxyCompMem): + pass + +class DoxyMember(DoxyCompMem): + pass + +class DoxyFunction(DoxyMember): + + __module__ = "gnuradio.utils.doxyxml" + + kind = 'function' + + def _parse(self): + if self._parsed: + return + super(DoxyFunction, self)._parse() + self.set_descriptions(self._parse_data) + self.set_parameters(self._parse_data) + if not self._data['params']: + # If the params weren't set by a comment then just grab the names. + self._data['params'] = [] + prms = self._parse_data.param + for prm in prms: + self._data['params'].append(DoxyParam(prm)) + + brief_description = property(lambda self: self.data()['brief_description']) + detailed_description = property(lambda self: self.data()['detailed_description']) + params = property(lambda self: self.data()['params']) + +Base.mem_classes.append(DoxyFunction) + + +class DoxyParam(DoxyMember): + + __module__ = "gnuradio.utils.doxyxml" + + def _parse(self): + if self._parsed: + return + super(DoxyParam, self)._parse() + self.set_descriptions(self._parse_data) + self._data['declname'] = self._parse_data.declname + + @property + def description(self): + descriptions = [] + if self.brief_description: + descriptions.append(self.brief_description) + if self.detailed_description: + descriptions.append(self.detailed_description) + return '\n\n'.join(descriptions) + + brief_description = property(lambda self: self.data()['brief_description']) + detailed_description = property(lambda self: self.data()['detailed_description']) + name = property(lambda self: self.data()['declname']) + +class DoxyParameterItem(DoxyMember): + """A different representation of a parameter in Doxygen.""" + + def _parse(self): + if self._parsed: + return + super(DoxyParameterItem, self)._parse() + names = [] + for nl in self._parse_data.parameternamelist: + for pn in nl.parametername: + names.append(description(pn)) + # Just take first name + self._data['name'] = names[0] + # Get description + pd = description(self._parse_data.get_parameterdescription()) + self._data['description'] = pd + + description = property(lambda self: self.data()['description']) + name = property(lambda self: self.data()['name']) + + +class DoxyClass(DoxyCompound): + + __module__ = "gnuradio.utils.doxyxml" + + kind = 'class' + + def _parse(self): + if self._parsed: + return + super(DoxyClass, self)._parse() + self.retrieve_data() + if self._error: + return + self.set_descriptions(self._retrieved_data.compounddef) + self.set_parameters(self._retrieved_data.compounddef) + # Sectiondef.kind tells about whether private or public. + # We just ignore this for now. + self.process_memberdefs() + + brief_description = property(lambda self: self.data()['brief_description']) + detailed_description = property(lambda self: self.data()['detailed_description']) + params = property(lambda self: self.data()['params']) + +Base.mem_classes.append(DoxyClass) + + +class DoxyFile(DoxyCompound): + + __module__ = "gnuradio.utils.doxyxml" + + kind = 'file' + + def _parse(self): + if self._parsed: + return + super(DoxyFile, self)._parse() + self.retrieve_data() + self.set_descriptions(self._retrieved_data.compounddef) + if self._error: + return + self.process_memberdefs() + + brief_description = property(lambda self: self.data()['brief_description']) + detailed_description = property(lambda self: self.data()['detailed_description']) + +Base.mem_classes.append(DoxyFile) + + +class DoxyNamespace(DoxyCompound): + + __module__ = "gnuradio.utils.doxyxml" + + kind = 'namespace' + + def _parse(self): + if self._parsed: + return + super(DoxyNamespace, self)._parse() + self.retrieve_data() + self.set_descriptions(self._retrieved_data.compounddef) + if self._error: + return + self.process_memberdefs() + +Base.mem_classes.append(DoxyNamespace) + + +class DoxyGroup(DoxyCompound): + + __module__ = "gnuradio.utils.doxyxml" + + kind = 'group' + + def _parse(self): + if self._parsed: + return + super(DoxyGroup, self)._parse() + self.retrieve_data() + if self._error: + return + cdef = self._retrieved_data.compounddef + self._data['title'] = description(cdef.title) + # Process inner groups + grps = cdef.innergroup + for grp in grps: + converted = DoxyGroup.from_refid(grp.refid, top=self.top) + self._members.append(converted) + # Process inner classes + klasses = cdef.innerclass + for kls in klasses: + converted = DoxyClass.from_refid(kls.refid, top=self.top) + self._members.append(converted) + # Process normal members + self.process_memberdefs() + + title = property(lambda self: self.data()['title']) + + +Base.mem_classes.append(DoxyGroup) + + +class DoxyFriend(DoxyMember): + + __module__ = "gnuradio.utils.doxyxml" + + kind = 'friend' + +Base.mem_classes.append(DoxyFriend) + + +class DoxyOther(Base): + + __module__ = "gnuradio.utils.doxyxml" + + kinds = set(['variable', 'struct', 'union', 'define', 'typedef', 'enum', + 'dir', 'page', 'signal', 'slot', 'property']) + + @classmethod + def can_parse(cls, obj): + return obj.kind in cls.kinds + +Base.mem_classes.append(DoxyOther) diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/__init__.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/__init__.py new file mode 100644 index 0000000..23095c1 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/__init__.py @@ -0,0 +1,8 @@ +""" +Contains generated files produced by generateDS.py. + +These do the real work of parsing the doxygen xml files but the +resultant classes are not very friendly to navigate so the rest of the +doxyxml module processes them further. +""" +from __future__ import unicode_literals diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/compound.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/compound.py new file mode 100644 index 0000000..acfa0dd --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/compound.py @@ -0,0 +1,505 @@ +#!/usr/bin/env python + +""" +Generated Mon Feb 9 19:08:05 2009 by generateDS.py. +""" +from __future__ import absolute_import +from __future__ import unicode_literals + + +from xml.dom import minidom +from xml.dom import Node + +import sys + +from . import compoundsuper as supermod +from .compoundsuper import MixedContainer + + +class DoxygenTypeSub(supermod.DoxygenType): + def __init__(self, version=None, compounddef=None): + supermod.DoxygenType.__init__(self, version, compounddef) + + def find(self, details): + + return self.compounddef.find(details) + +supermod.DoxygenType.subclass = DoxygenTypeSub +# end class DoxygenTypeSub + + +class compounddefTypeSub(supermod.compounddefType): + def __init__(self, kind=None, prot=None, id=None, compoundname='', title='', basecompoundref=None, derivedcompoundref=None, includes=None, includedby=None, incdepgraph=None, invincdepgraph=None, innerdir=None, innerfile=None, innerclass=None, innernamespace=None, innerpage=None, innergroup=None, templateparamlist=None, sectiondef=None, briefdescription=None, detaileddescription=None, inheritancegraph=None, collaborationgraph=None, programlisting=None, location=None, listofallmembers=None): + supermod.compounddefType.__init__(self, kind, prot, id, compoundname, title, basecompoundref, derivedcompoundref, includes, includedby, incdepgraph, invincdepgraph, innerdir, innerfile, innerclass, innernamespace, innerpage, innergroup, templateparamlist, sectiondef, briefdescription, detaileddescription, inheritancegraph, collaborationgraph, programlisting, location, listofallmembers) + + def find(self, details): + + if self.id == details.refid: + return self + + for sectiondef in self.sectiondef: + result = sectiondef.find(details) + if result: + return result + + +supermod.compounddefType.subclass = compounddefTypeSub +# end class compounddefTypeSub + + +class listofallmembersTypeSub(supermod.listofallmembersType): + def __init__(self, member=None): + supermod.listofallmembersType.__init__(self, member) +supermod.listofallmembersType.subclass = listofallmembersTypeSub +# end class listofallmembersTypeSub + + +class memberRefTypeSub(supermod.memberRefType): + def __init__(self, virt=None, prot=None, refid=None, ambiguityscope=None, scope='', name=''): + supermod.memberRefType.__init__(self, virt, prot, refid, ambiguityscope, scope, name) +supermod.memberRefType.subclass = memberRefTypeSub +# end class memberRefTypeSub + + +class compoundRefTypeSub(supermod.compoundRefType): + def __init__(self, virt=None, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None): + supermod.compoundRefType.__init__(self, mixedclass_, content_) +supermod.compoundRefType.subclass = compoundRefTypeSub +# end class compoundRefTypeSub + + +class reimplementTypeSub(supermod.reimplementType): + def __init__(self, refid=None, valueOf_='', mixedclass_=None, content_=None): + supermod.reimplementType.__init__(self, mixedclass_, content_) +supermod.reimplementType.subclass = reimplementTypeSub +# end class reimplementTypeSub + + +class incTypeSub(supermod.incType): + def __init__(self, local=None, refid=None, valueOf_='', mixedclass_=None, content_=None): + supermod.incType.__init__(self, mixedclass_, content_) +supermod.incType.subclass = incTypeSub +# end class incTypeSub + + +class refTypeSub(supermod.refType): + def __init__(self, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None): + supermod.refType.__init__(self, mixedclass_, content_) +supermod.refType.subclass = refTypeSub +# end class refTypeSub + + + +class refTextTypeSub(supermod.refTextType): + def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None): + supermod.refTextType.__init__(self, mixedclass_, content_) + +supermod.refTextType.subclass = refTextTypeSub +# end class refTextTypeSub + +class sectiondefTypeSub(supermod.sectiondefType): + + + def __init__(self, kind=None, header='', description=None, memberdef=None): + supermod.sectiondefType.__init__(self, kind, header, description, memberdef) + + def find(self, details): + + for memberdef in self.memberdef: + if memberdef.id == details.refid: + return memberdef + + return None + + +supermod.sectiondefType.subclass = sectiondefTypeSub +# end class sectiondefTypeSub + + +class memberdefTypeSub(supermod.memberdefType): + def __init__(self, initonly=None, kind=None, volatile=None, const=None, raise_=None, virt=None, readable=None, prot=None, explicit=None, new=None, final=None, writable=None, add=None, static=None, remove=None, sealed=None, mutable=None, gettable=None, inline=None, settable=None, id=None, templateparamlist=None, type_=None, definition='', argsstring='', name='', read='', write='', bitfield='', reimplements=None, reimplementedby=None, param=None, enumvalue=None, initializer=None, exceptions=None, briefdescription=None, detaileddescription=None, inbodydescription=None, location=None, references=None, referencedby=None): + supermod.memberdefType.__init__(self, initonly, kind, volatile, const, raise_, virt, readable, prot, explicit, new, final, writable, add, static, remove, sealed, mutable, gettable, inline, settable, id, templateparamlist, type_, definition, argsstring, name, read, write, bitfield, reimplements, reimplementedby, param, enumvalue, initializer, exceptions, briefdescription, detaileddescription, inbodydescription, location, references, referencedby) +supermod.memberdefType.subclass = memberdefTypeSub +# end class memberdefTypeSub + + +class descriptionTypeSub(supermod.descriptionType): + def __init__(self, title='', para=None, sect1=None, internal=None, mixedclass_=None, content_=None): + supermod.descriptionType.__init__(self, mixedclass_, content_) +supermod.descriptionType.subclass = descriptionTypeSub +# end class descriptionTypeSub + + +class enumvalueTypeSub(supermod.enumvalueType): + def __init__(self, prot=None, id=None, name='', initializer=None, briefdescription=None, detaileddescription=None, mixedclass_=None, content_=None): + supermod.enumvalueType.__init__(self, mixedclass_, content_) +supermod.enumvalueType.subclass = enumvalueTypeSub +# end class enumvalueTypeSub + + +class templateparamlistTypeSub(supermod.templateparamlistType): + def __init__(self, param=None): + supermod.templateparamlistType.__init__(self, param) +supermod.templateparamlistType.subclass = templateparamlistTypeSub +# end class templateparamlistTypeSub + + +class paramTypeSub(supermod.paramType): + def __init__(self, type_=None, declname='', defname='', array='', defval=None, briefdescription=None): + supermod.paramType.__init__(self, type_, declname, defname, array, defval, briefdescription) +supermod.paramType.subclass = paramTypeSub +# end class paramTypeSub + + +class linkedTextTypeSub(supermod.linkedTextType): + def __init__(self, ref=None, mixedclass_=None, content_=None): + supermod.linkedTextType.__init__(self, mixedclass_, content_) +supermod.linkedTextType.subclass = linkedTextTypeSub +# end class linkedTextTypeSub + + +class graphTypeSub(supermod.graphType): + def __init__(self, node=None): + supermod.graphType.__init__(self, node) +supermod.graphType.subclass = graphTypeSub +# end class graphTypeSub + + +class nodeTypeSub(supermod.nodeType): + def __init__(self, id=None, label='', link=None, childnode=None): + supermod.nodeType.__init__(self, id, label, link, childnode) +supermod.nodeType.subclass = nodeTypeSub +# end class nodeTypeSub + + +class childnodeTypeSub(supermod.childnodeType): + def __init__(self, relation=None, refid=None, edgelabel=None): + supermod.childnodeType.__init__(self, relation, refid, edgelabel) +supermod.childnodeType.subclass = childnodeTypeSub +# end class childnodeTypeSub + + +class linkTypeSub(supermod.linkType): + def __init__(self, refid=None, external=None, valueOf_=''): + supermod.linkType.__init__(self, refid, external) +supermod.linkType.subclass = linkTypeSub +# end class linkTypeSub + + +class listingTypeSub(supermod.listingType): + def __init__(self, codeline=None): + supermod.listingType.__init__(self, codeline) +supermod.listingType.subclass = listingTypeSub +# end class listingTypeSub + + +class codelineTypeSub(supermod.codelineType): + def __init__(self, external=None, lineno=None, refkind=None, refid=None, highlight=None): + supermod.codelineType.__init__(self, external, lineno, refkind, refid, highlight) +supermod.codelineType.subclass = codelineTypeSub +# end class codelineTypeSub + + +class highlightTypeSub(supermod.highlightType): + def __init__(self, class_=None, sp=None, ref=None, mixedclass_=None, content_=None): + supermod.highlightType.__init__(self, mixedclass_, content_) +supermod.highlightType.subclass = highlightTypeSub +# end class highlightTypeSub + + +class referenceTypeSub(supermod.referenceType): + def __init__(self, endline=None, startline=None, refid=None, compoundref=None, valueOf_='', mixedclass_=None, content_=None): + supermod.referenceType.__init__(self, mixedclass_, content_) +supermod.referenceType.subclass = referenceTypeSub +# end class referenceTypeSub + + +class locationTypeSub(supermod.locationType): + def __init__(self, bodystart=None, line=None, bodyend=None, bodyfile=None, file=None, valueOf_=''): + supermod.locationType.__init__(self, bodystart, line, bodyend, bodyfile, file) +supermod.locationType.subclass = locationTypeSub +# end class locationTypeSub + + +class docSect1TypeSub(supermod.docSect1Type): + def __init__(self, id=None, title='', para=None, sect2=None, internal=None, mixedclass_=None, content_=None): + supermod.docSect1Type.__init__(self, mixedclass_, content_) +supermod.docSect1Type.subclass = docSect1TypeSub +# end class docSect1TypeSub + + +class docSect2TypeSub(supermod.docSect2Type): + def __init__(self, id=None, title='', para=None, sect3=None, internal=None, mixedclass_=None, content_=None): + supermod.docSect2Type.__init__(self, mixedclass_, content_) +supermod.docSect2Type.subclass = docSect2TypeSub +# end class docSect2TypeSub + + +class docSect3TypeSub(supermod.docSect3Type): + def __init__(self, id=None, title='', para=None, sect4=None, internal=None, mixedclass_=None, content_=None): + supermod.docSect3Type.__init__(self, mixedclass_, content_) +supermod.docSect3Type.subclass = docSect3TypeSub +# end class docSect3TypeSub + + +class docSect4TypeSub(supermod.docSect4Type): + def __init__(self, id=None, title='', para=None, internal=None, mixedclass_=None, content_=None): + supermod.docSect4Type.__init__(self, mixedclass_, content_) +supermod.docSect4Type.subclass = docSect4TypeSub +# end class docSect4TypeSub + + +class docInternalTypeSub(supermod.docInternalType): + def __init__(self, para=None, sect1=None, mixedclass_=None, content_=None): + supermod.docInternalType.__init__(self, mixedclass_, content_) +supermod.docInternalType.subclass = docInternalTypeSub +# end class docInternalTypeSub + + +class docInternalS1TypeSub(supermod.docInternalS1Type): + def __init__(self, para=None, sect2=None, mixedclass_=None, content_=None): + supermod.docInternalS1Type.__init__(self, mixedclass_, content_) +supermod.docInternalS1Type.subclass = docInternalS1TypeSub +# end class docInternalS1TypeSub + + +class docInternalS2TypeSub(supermod.docInternalS2Type): + def __init__(self, para=None, sect3=None, mixedclass_=None, content_=None): + supermod.docInternalS2Type.__init__(self, mixedclass_, content_) +supermod.docInternalS2Type.subclass = docInternalS2TypeSub +# end class docInternalS2TypeSub + + +class docInternalS3TypeSub(supermod.docInternalS3Type): + def __init__(self, para=None, sect3=None, mixedclass_=None, content_=None): + supermod.docInternalS3Type.__init__(self, mixedclass_, content_) +supermod.docInternalS3Type.subclass = docInternalS3TypeSub +# end class docInternalS3TypeSub + + +class docInternalS4TypeSub(supermod.docInternalS4Type): + def __init__(self, para=None, mixedclass_=None, content_=None): + supermod.docInternalS4Type.__init__(self, mixedclass_, content_) +supermod.docInternalS4Type.subclass = docInternalS4TypeSub +# end class docInternalS4TypeSub + + +class docURLLinkSub(supermod.docURLLink): + def __init__(self, url=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docURLLink.__init__(self, mixedclass_, content_) +supermod.docURLLink.subclass = docURLLinkSub +# end class docURLLinkSub + + +class docAnchorTypeSub(supermod.docAnchorType): + def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docAnchorType.__init__(self, mixedclass_, content_) +supermod.docAnchorType.subclass = docAnchorTypeSub +# end class docAnchorTypeSub + + +class docFormulaTypeSub(supermod.docFormulaType): + def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docFormulaType.__init__(self, mixedclass_, content_) +supermod.docFormulaType.subclass = docFormulaTypeSub +# end class docFormulaTypeSub + + +class docIndexEntryTypeSub(supermod.docIndexEntryType): + def __init__(self, primaryie='', secondaryie=''): + supermod.docIndexEntryType.__init__(self, primaryie, secondaryie) +supermod.docIndexEntryType.subclass = docIndexEntryTypeSub +# end class docIndexEntryTypeSub + + +class docListTypeSub(supermod.docListType): + def __init__(self, listitem=None): + supermod.docListType.__init__(self, listitem) +supermod.docListType.subclass = docListTypeSub +# end class docListTypeSub + + +class docListItemTypeSub(supermod.docListItemType): + def __init__(self, para=None): + supermod.docListItemType.__init__(self, para) +supermod.docListItemType.subclass = docListItemTypeSub +# end class docListItemTypeSub + + +class docSimpleSectTypeSub(supermod.docSimpleSectType): + def __init__(self, kind=None, title=None, para=None): + supermod.docSimpleSectType.__init__(self, kind, title, para) +supermod.docSimpleSectType.subclass = docSimpleSectTypeSub +# end class docSimpleSectTypeSub + + +class docVarListEntryTypeSub(supermod.docVarListEntryType): + def __init__(self, term=None): + supermod.docVarListEntryType.__init__(self, term) +supermod.docVarListEntryType.subclass = docVarListEntryTypeSub +# end class docVarListEntryTypeSub + + +class docRefTextTypeSub(supermod.docRefTextType): + def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docRefTextType.__init__(self, mixedclass_, content_) +supermod.docRefTextType.subclass = docRefTextTypeSub +# end class docRefTextTypeSub + + +class docTableTypeSub(supermod.docTableType): + def __init__(self, rows=None, cols=None, row=None, caption=None): + supermod.docTableType.__init__(self, rows, cols, row, caption) +supermod.docTableType.subclass = docTableTypeSub +# end class docTableTypeSub + + +class docRowTypeSub(supermod.docRowType): + def __init__(self, entry=None): + supermod.docRowType.__init__(self, entry) +supermod.docRowType.subclass = docRowTypeSub +# end class docRowTypeSub + + +class docEntryTypeSub(supermod.docEntryType): + def __init__(self, thead=None, para=None): + supermod.docEntryType.__init__(self, thead, para) +supermod.docEntryType.subclass = docEntryTypeSub +# end class docEntryTypeSub + + +class docHeadingTypeSub(supermod.docHeadingType): + def __init__(self, level=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docHeadingType.__init__(self, mixedclass_, content_) +supermod.docHeadingType.subclass = docHeadingTypeSub +# end class docHeadingTypeSub + + +class docImageTypeSub(supermod.docImageType): + def __init__(self, width=None, type_=None, name=None, height=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docImageType.__init__(self, mixedclass_, content_) +supermod.docImageType.subclass = docImageTypeSub +# end class docImageTypeSub + + +class docDotFileTypeSub(supermod.docDotFileType): + def __init__(self, name=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docDotFileType.__init__(self, mixedclass_, content_) +supermod.docDotFileType.subclass = docDotFileTypeSub +# end class docDotFileTypeSub + + +class docTocItemTypeSub(supermod.docTocItemType): + def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None): + supermod.docTocItemType.__init__(self, mixedclass_, content_) +supermod.docTocItemType.subclass = docTocItemTypeSub +# end class docTocItemTypeSub + + +class docTocListTypeSub(supermod.docTocListType): + def __init__(self, tocitem=None): + supermod.docTocListType.__init__(self, tocitem) +supermod.docTocListType.subclass = docTocListTypeSub +# end class docTocListTypeSub + + +class docLanguageTypeSub(supermod.docLanguageType): + def __init__(self, langid=None, para=None): + supermod.docLanguageType.__init__(self, langid, para) +supermod.docLanguageType.subclass = docLanguageTypeSub +# end class docLanguageTypeSub + + +class docParamListTypeSub(supermod.docParamListType): + def __init__(self, kind=None, parameteritem=None): + supermod.docParamListType.__init__(self, kind, parameteritem) +supermod.docParamListType.subclass = docParamListTypeSub +# end class docParamListTypeSub + + +class docParamListItemSub(supermod.docParamListItem): + def __init__(self, parameternamelist=None, parameterdescription=None): + supermod.docParamListItem.__init__(self, parameternamelist, parameterdescription) +supermod.docParamListItem.subclass = docParamListItemSub +# end class docParamListItemSub + + +class docParamNameListSub(supermod.docParamNameList): + def __init__(self, parametername=None): + supermod.docParamNameList.__init__(self, parametername) +supermod.docParamNameList.subclass = docParamNameListSub +# end class docParamNameListSub + + +class docParamNameSub(supermod.docParamName): + def __init__(self, direction=None, ref=None, mixedclass_=None, content_=None): + supermod.docParamName.__init__(self, mixedclass_, content_) +supermod.docParamName.subclass = docParamNameSub +# end class docParamNameSub + + +class docXRefSectTypeSub(supermod.docXRefSectType): + def __init__(self, id=None, xreftitle=None, xrefdescription=None): + supermod.docXRefSectType.__init__(self, id, xreftitle, xrefdescription) +supermod.docXRefSectType.subclass = docXRefSectTypeSub +# end class docXRefSectTypeSub + + +class docCopyTypeSub(supermod.docCopyType): + def __init__(self, link=None, para=None, sect1=None, internal=None): + supermod.docCopyType.__init__(self, link, para, sect1, internal) +supermod.docCopyType.subclass = docCopyTypeSub +# end class docCopyTypeSub + + +class docCharTypeSub(supermod.docCharType): + def __init__(self, char=None, valueOf_=''): + supermod.docCharType.__init__(self, char) +supermod.docCharType.subclass = docCharTypeSub +# end class docCharTypeSub + +class docParaTypeSub(supermod.docParaType): + def __init__(self, char=None, valueOf_=''): + supermod.docParaType.__init__(self, char) + + self.parameterlist = [] + self.simplesects = [] + self.content = [] + + def buildChildren(self, child_, nodeName_): + supermod.docParaType.buildChildren(self, child_, nodeName_) + + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == "ref": + obj_ = supermod.docRefTextType.factory() + obj_.build(child_) + self.content.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'parameterlist': + obj_ = supermod.docParamListType.factory() + obj_.build(child_) + self.parameterlist.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'simplesect': + obj_ = supermod.docSimpleSectType.factory() + obj_.build(child_) + self.simplesects.append(obj_) + + +supermod.docParaType.subclass = docParaTypeSub +# end class docParaTypeSub + + + +def parse(inFilename): + doc = minidom.parse(inFilename) + rootNode = doc.documentElement + rootObj = supermod.DoxygenType.factory() + rootObj.build(rootNode) + return rootObj + + diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/compoundsuper.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/compoundsuper.py new file mode 100644 index 0000000..6e984e1 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/compoundsuper.py @@ -0,0 +1,8346 @@ +#!/usr/bin/env python + +# +# Generated Thu Jun 11 18:44:25 2009 by generateDS.py. +# + +from __future__ import print_function +from __future__ import unicode_literals + +import sys + +from xml.dom import minidom +from xml.dom import Node + +import six + + +# +# User methods +# +# Calls to the methods in these classes are generated by generateDS.py. +# You can replace these methods by re-implementing the following class +# in a module named generatedssuper.py. + +try: + from generatedssuper import GeneratedsSuper +except ImportError as exp: + + class GeneratedsSuper(object): + def format_string(self, input_data, input_name=''): + return input_data + def format_integer(self, input_data, input_name=''): + return '%d' % input_data + def format_float(self, input_data, input_name=''): + return '%f' % input_data + def format_double(self, input_data, input_name=''): + return '%e' % input_data + def format_boolean(self, input_data, input_name=''): + return '%s' % input_data + + +# +# If you have installed IPython you can uncomment and use the following. +# IPython is available from http://ipython.scipy.org/. +# + +## from IPython.Shell import IPShellEmbed +## args = '' +## ipshell = IPShellEmbed(args, +## banner = 'Dropping into IPython', +## exit_msg = 'Leaving Interpreter, back to program.') + +# Then use the following line where and when you want to drop into the +# IPython shell: +# ipshell(' -- Entering ipshell.\nHit Ctrl-D to exit') + +# +# Globals +# + +ExternalEncoding = 'ascii' + +# +# Support/utility functions. +# + +def showIndent(outfile, level): + for idx in range(level): + outfile.write(' ') + +def quote_xml(inStr): + s1 = (isinstance(inStr, six.string_types) and inStr or + '%s' % inStr) + s1 = s1.replace('&', '&') + s1 = s1.replace('<', '<') + s1 = s1.replace('>', '>') + return s1 + +def quote_attrib(inStr): + s1 = (isinstance(inStr, six.string_types) and inStr or + '%s' % inStr) + s1 = s1.replace('&', '&') + s1 = s1.replace('<', '<') + s1 = s1.replace('>', '>') + if '"' in s1: + if "'" in s1: + s1 = '"%s"' % s1.replace('"', """) + else: + s1 = "'%s'" % s1 + else: + s1 = '"%s"' % s1 + return s1 + +def quote_python(inStr): + s1 = inStr + if s1.find("'") == -1: + if s1.find('\n') == -1: + return "'%s'" % s1 + else: + return "'''%s'''" % s1 + else: + if s1.find('"') != -1: + s1 = s1.replace('"', '\\"') + if s1.find('\n') == -1: + return '"%s"' % s1 + else: + return '"""%s"""' % s1 + + +class MixedContainer(object): + # Constants for category: + CategoryNone = 0 + CategoryText = 1 + CategorySimple = 2 + CategoryComplex = 3 + # Constants for content_type: + TypeNone = 0 + TypeText = 1 + TypeString = 2 + TypeInteger = 3 + TypeFloat = 4 + TypeDecimal = 5 + TypeDouble = 6 + TypeBoolean = 7 + def __init__(self, category, content_type, name, value): + self.category = category + self.content_type = content_type + self.name = name + self.value = value + def getCategory(self): + return self.category + def getContenttype(self, content_type): + return self.content_type + def getValue(self): + return self.value + def getName(self): + return self.name + def export(self, outfile, level, name, namespace): + if self.category == MixedContainer.CategoryText: + outfile.write(self.value) + elif self.category == MixedContainer.CategorySimple: + self.exportSimple(outfile, level, name) + else: # category == MixedContainer.CategoryComplex + self.value.export(outfile, level, namespace,name) + def exportSimple(self, outfile, level, name): + if self.content_type == MixedContainer.TypeString: + outfile.write('<%s>%s' % (self.name, self.value, self.name)) + elif self.content_type == MixedContainer.TypeInteger or \ + self.content_type == MixedContainer.TypeBoolean: + outfile.write('<%s>%d' % (self.name, self.value, self.name)) + elif self.content_type == MixedContainer.TypeFloat or \ + self.content_type == MixedContainer.TypeDecimal: + outfile.write('<%s>%f' % (self.name, self.value, self.name)) + elif self.content_type == MixedContainer.TypeDouble: + outfile.write('<%s>%g' % (self.name, self.value, self.name)) + def exportLiteral(self, outfile, level, name): + if self.category == MixedContainer.CategoryText: + showIndent(outfile, level) + outfile.write('MixedContainer(%d, %d, "%s", "%s"),\n' % \ + (self.category, self.content_type, self.name, self.value)) + elif self.category == MixedContainer.CategorySimple: + showIndent(outfile, level) + outfile.write('MixedContainer(%d, %d, "%s", "%s"),\n' % \ + (self.category, self.content_type, self.name, self.value)) + else: # category == MixedContainer.CategoryComplex + showIndent(outfile, level) + outfile.write('MixedContainer(%d, %d, "%s",\n' % \ + (self.category, self.content_type, self.name,)) + self.value.exportLiteral(outfile, level + 1) + showIndent(outfile, level) + outfile.write(')\n') + + +class _MemberSpec(object): + def __init__(self, name='', data_type='', container=0): + self.name = name + self.data_type = data_type + self.container = container + def set_name(self, name): self.name = name + def get_name(self): return self.name + def set_data_type(self, data_type): self.data_type = data_type + def get_data_type(self): return self.data_type + def set_container(self, container): self.container = container + def get_container(self): return self.container + + +# +# Data representation classes. +# + +class DoxygenType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, version=None, compounddef=None): + self.version = version + self.compounddef = compounddef + def factory(*args_, **kwargs_): + if DoxygenType.subclass: + return DoxygenType.subclass(*args_, **kwargs_) + else: + return DoxygenType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_compounddef(self): return self.compounddef + def set_compounddef(self, compounddef): self.compounddef = compounddef + def get_version(self): return self.version + def set_version(self, version): self.version = version + def export(self, outfile, level, namespace_='', name_='DoxygenType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='DoxygenType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='DoxygenType'): + outfile.write(' version=%s' % (quote_attrib(self.version), )) + def exportChildren(self, outfile, level, namespace_='', name_='DoxygenType'): + if self.compounddef: + self.compounddef.export(outfile, level, namespace_, name_='compounddef') + def hasContent_(self): + if ( + self.compounddef is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='DoxygenType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.version is not None: + showIndent(outfile, level) + outfile.write('version = "%s",\n' % (self.version,)) + def exportLiteralChildren(self, outfile, level, name_): + if self.compounddef: + showIndent(outfile, level) + outfile.write('compounddef=model_.compounddefType(\n') + self.compounddef.exportLiteral(outfile, level, name_='compounddef') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('version'): + self.version = attrs.get('version').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'compounddef': + obj_ = compounddefType.factory() + obj_.build(child_) + self.set_compounddef(obj_) +# end class DoxygenType + + +class compounddefType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, kind=None, prot=None, id=None, compoundname=None, title=None, basecompoundref=None, derivedcompoundref=None, includes=None, includedby=None, incdepgraph=None, invincdepgraph=None, innerdir=None, innerfile=None, innerclass=None, innernamespace=None, innerpage=None, innergroup=None, templateparamlist=None, sectiondef=None, briefdescription=None, detaileddescription=None, inheritancegraph=None, collaborationgraph=None, programlisting=None, location=None, listofallmembers=None): + self.kind = kind + self.prot = prot + self.id = id + self.compoundname = compoundname + self.title = title + if basecompoundref is None: + self.basecompoundref = [] + else: + self.basecompoundref = basecompoundref + if derivedcompoundref is None: + self.derivedcompoundref = [] + else: + self.derivedcompoundref = derivedcompoundref + if includes is None: + self.includes = [] + else: + self.includes = includes + if includedby is None: + self.includedby = [] + else: + self.includedby = includedby + self.incdepgraph = incdepgraph + self.invincdepgraph = invincdepgraph + if innerdir is None: + self.innerdir = [] + else: + self.innerdir = innerdir + if innerfile is None: + self.innerfile = [] + else: + self.innerfile = innerfile + if innerclass is None: + self.innerclass = [] + else: + self.innerclass = innerclass + if innernamespace is None: + self.innernamespace = [] + else: + self.innernamespace = innernamespace + if innerpage is None: + self.innerpage = [] + else: + self.innerpage = innerpage + if innergroup is None: + self.innergroup = [] + else: + self.innergroup = innergroup + self.templateparamlist = templateparamlist + if sectiondef is None: + self.sectiondef = [] + else: + self.sectiondef = sectiondef + self.briefdescription = briefdescription + self.detaileddescription = detaileddescription + self.inheritancegraph = inheritancegraph + self.collaborationgraph = collaborationgraph + self.programlisting = programlisting + self.location = location + self.listofallmembers = listofallmembers + def factory(*args_, **kwargs_): + if compounddefType.subclass: + return compounddefType.subclass(*args_, **kwargs_) + else: + return compounddefType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_compoundname(self): return self.compoundname + def set_compoundname(self, compoundname): self.compoundname = compoundname + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_basecompoundref(self): return self.basecompoundref + def set_basecompoundref(self, basecompoundref): self.basecompoundref = basecompoundref + def add_basecompoundref(self, value): self.basecompoundref.append(value) + def insert_basecompoundref(self, index, value): self.basecompoundref[index] = value + def get_derivedcompoundref(self): return self.derivedcompoundref + def set_derivedcompoundref(self, derivedcompoundref): self.derivedcompoundref = derivedcompoundref + def add_derivedcompoundref(self, value): self.derivedcompoundref.append(value) + def insert_derivedcompoundref(self, index, value): self.derivedcompoundref[index] = value + def get_includes(self): return self.includes + def set_includes(self, includes): self.includes = includes + def add_includes(self, value): self.includes.append(value) + def insert_includes(self, index, value): self.includes[index] = value + def get_includedby(self): return self.includedby + def set_includedby(self, includedby): self.includedby = includedby + def add_includedby(self, value): self.includedby.append(value) + def insert_includedby(self, index, value): self.includedby[index] = value + def get_incdepgraph(self): return self.incdepgraph + def set_incdepgraph(self, incdepgraph): self.incdepgraph = incdepgraph + def get_invincdepgraph(self): return self.invincdepgraph + def set_invincdepgraph(self, invincdepgraph): self.invincdepgraph = invincdepgraph + def get_innerdir(self): return self.innerdir + def set_innerdir(self, innerdir): self.innerdir = innerdir + def add_innerdir(self, value): self.innerdir.append(value) + def insert_innerdir(self, index, value): self.innerdir[index] = value + def get_innerfile(self): return self.innerfile + def set_innerfile(self, innerfile): self.innerfile = innerfile + def add_innerfile(self, value): self.innerfile.append(value) + def insert_innerfile(self, index, value): self.innerfile[index] = value + def get_innerclass(self): return self.innerclass + def set_innerclass(self, innerclass): self.innerclass = innerclass + def add_innerclass(self, value): self.innerclass.append(value) + def insert_innerclass(self, index, value): self.innerclass[index] = value + def get_innernamespace(self): return self.innernamespace + def set_innernamespace(self, innernamespace): self.innernamespace = innernamespace + def add_innernamespace(self, value): self.innernamespace.append(value) + def insert_innernamespace(self, index, value): self.innernamespace[index] = value + def get_innerpage(self): return self.innerpage + def set_innerpage(self, innerpage): self.innerpage = innerpage + def add_innerpage(self, value): self.innerpage.append(value) + def insert_innerpage(self, index, value): self.innerpage[index] = value + def get_innergroup(self): return self.innergroup + def set_innergroup(self, innergroup): self.innergroup = innergroup + def add_innergroup(self, value): self.innergroup.append(value) + def insert_innergroup(self, index, value): self.innergroup[index] = value + def get_templateparamlist(self): return self.templateparamlist + def set_templateparamlist(self, templateparamlist): self.templateparamlist = templateparamlist + def get_sectiondef(self): return self.sectiondef + def set_sectiondef(self, sectiondef): self.sectiondef = sectiondef + def add_sectiondef(self, value): self.sectiondef.append(value) + def insert_sectiondef(self, index, value): self.sectiondef[index] = value + def get_briefdescription(self): return self.briefdescription + def set_briefdescription(self, briefdescription): self.briefdescription = briefdescription + def get_detaileddescription(self): return self.detaileddescription + def set_detaileddescription(self, detaileddescription): self.detaileddescription = detaileddescription + def get_inheritancegraph(self): return self.inheritancegraph + def set_inheritancegraph(self, inheritancegraph): self.inheritancegraph = inheritancegraph + def get_collaborationgraph(self): return self.collaborationgraph + def set_collaborationgraph(self, collaborationgraph): self.collaborationgraph = collaborationgraph + def get_programlisting(self): return self.programlisting + def set_programlisting(self, programlisting): self.programlisting = programlisting + def get_location(self): return self.location + def set_location(self, location): self.location = location + def get_listofallmembers(self): return self.listofallmembers + def set_listofallmembers(self, listofallmembers): self.listofallmembers = listofallmembers + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def get_prot(self): return self.prot + def set_prot(self, prot): self.prot = prot + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='compounddefType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='compounddefType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='compounddefType'): + if self.kind is not None: + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + if self.prot is not None: + outfile.write(' prot=%s' % (quote_attrib(self.prot), )) + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='compounddefType'): + if self.compoundname is not None: + showIndent(outfile, level) + outfile.write('<%scompoundname>%s\n' % (namespace_, self.format_string(quote_xml(self.compoundname).encode(ExternalEncoding), input_name='compoundname'), namespace_)) + if self.title is not None: + showIndent(outfile, level) + outfile.write('<%stitle>%s\n' % (namespace_, self.format_string(quote_xml(self.title).encode(ExternalEncoding), input_name='title'), namespace_)) + for basecompoundref_ in self.basecompoundref: + basecompoundref_.export(outfile, level, namespace_, name_='basecompoundref') + for derivedcompoundref_ in self.derivedcompoundref: + derivedcompoundref_.export(outfile, level, namespace_, name_='derivedcompoundref') + for includes_ in self.includes: + includes_.export(outfile, level, namespace_, name_='includes') + for includedby_ in self.includedby: + includedby_.export(outfile, level, namespace_, name_='includedby') + if self.incdepgraph: + self.incdepgraph.export(outfile, level, namespace_, name_='incdepgraph') + if self.invincdepgraph: + self.invincdepgraph.export(outfile, level, namespace_, name_='invincdepgraph') + for innerdir_ in self.innerdir: + innerdir_.export(outfile, level, namespace_, name_='innerdir') + for innerfile_ in self.innerfile: + innerfile_.export(outfile, level, namespace_, name_='innerfile') + for innerclass_ in self.innerclass: + innerclass_.export(outfile, level, namespace_, name_='innerclass') + for innernamespace_ in self.innernamespace: + innernamespace_.export(outfile, level, namespace_, name_='innernamespace') + for innerpage_ in self.innerpage: + innerpage_.export(outfile, level, namespace_, name_='innerpage') + for innergroup_ in self.innergroup: + innergroup_.export(outfile, level, namespace_, name_='innergroup') + if self.templateparamlist: + self.templateparamlist.export(outfile, level, namespace_, name_='templateparamlist') + for sectiondef_ in self.sectiondef: + sectiondef_.export(outfile, level, namespace_, name_='sectiondef') + if self.briefdescription: + self.briefdescription.export(outfile, level, namespace_, name_='briefdescription') + if self.detaileddescription: + self.detaileddescription.export(outfile, level, namespace_, name_='detaileddescription') + if self.inheritancegraph: + self.inheritancegraph.export(outfile, level, namespace_, name_='inheritancegraph') + if self.collaborationgraph: + self.collaborationgraph.export(outfile, level, namespace_, name_='collaborationgraph') + if self.programlisting: + self.programlisting.export(outfile, level, namespace_, name_='programlisting') + if self.location: + self.location.export(outfile, level, namespace_, name_='location') + if self.listofallmembers: + self.listofallmembers.export(outfile, level, namespace_, name_='listofallmembers') + def hasContent_(self): + if ( + self.compoundname is not None or + self.title is not None or + self.basecompoundref is not None or + self.derivedcompoundref is not None or + self.includes is not None or + self.includedby is not None or + self.incdepgraph is not None or + self.invincdepgraph is not None or + self.innerdir is not None or + self.innerfile is not None or + self.innerclass is not None or + self.innernamespace is not None or + self.innerpage is not None or + self.innergroup is not None or + self.templateparamlist is not None or + self.sectiondef is not None or + self.briefdescription is not None or + self.detaileddescription is not None or + self.inheritancegraph is not None or + self.collaborationgraph is not None or + self.programlisting is not None or + self.location is not None or + self.listofallmembers is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='compounddefType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + if self.prot is not None: + showIndent(outfile, level) + outfile.write('prot = "%s",\n' % (self.prot,)) + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('compoundname=%s,\n' % quote_python(self.compoundname).encode(ExternalEncoding)) + if self.title: + showIndent(outfile, level) + outfile.write('title=model_.xsd_string(\n') + self.title.exportLiteral(outfile, level, name_='title') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('basecompoundref=[\n') + level += 1 + for basecompoundref in self.basecompoundref: + showIndent(outfile, level) + outfile.write('model_.basecompoundref(\n') + basecompoundref.exportLiteral(outfile, level, name_='basecompoundref') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('derivedcompoundref=[\n') + level += 1 + for derivedcompoundref in self.derivedcompoundref: + showIndent(outfile, level) + outfile.write('model_.derivedcompoundref(\n') + derivedcompoundref.exportLiteral(outfile, level, name_='derivedcompoundref') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('includes=[\n') + level += 1 + for includes in self.includes: + showIndent(outfile, level) + outfile.write('model_.includes(\n') + includes.exportLiteral(outfile, level, name_='includes') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('includedby=[\n') + level += 1 + for includedby in self.includedby: + showIndent(outfile, level) + outfile.write('model_.includedby(\n') + includedby.exportLiteral(outfile, level, name_='includedby') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.incdepgraph: + showIndent(outfile, level) + outfile.write('incdepgraph=model_.graphType(\n') + self.incdepgraph.exportLiteral(outfile, level, name_='incdepgraph') + showIndent(outfile, level) + outfile.write('),\n') + if self.invincdepgraph: + showIndent(outfile, level) + outfile.write('invincdepgraph=model_.graphType(\n') + self.invincdepgraph.exportLiteral(outfile, level, name_='invincdepgraph') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('innerdir=[\n') + level += 1 + for innerdir in self.innerdir: + showIndent(outfile, level) + outfile.write('model_.innerdir(\n') + innerdir.exportLiteral(outfile, level, name_='innerdir') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('innerfile=[\n') + level += 1 + for innerfile in self.innerfile: + showIndent(outfile, level) + outfile.write('model_.innerfile(\n') + innerfile.exportLiteral(outfile, level, name_='innerfile') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('innerclass=[\n') + level += 1 + for innerclass in self.innerclass: + showIndent(outfile, level) + outfile.write('model_.innerclass(\n') + innerclass.exportLiteral(outfile, level, name_='innerclass') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('innernamespace=[\n') + level += 1 + for innernamespace in self.innernamespace: + showIndent(outfile, level) + outfile.write('model_.innernamespace(\n') + innernamespace.exportLiteral(outfile, level, name_='innernamespace') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('innerpage=[\n') + level += 1 + for innerpage in self.innerpage: + showIndent(outfile, level) + outfile.write('model_.innerpage(\n') + innerpage.exportLiteral(outfile, level, name_='innerpage') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('innergroup=[\n') + level += 1 + for innergroup in self.innergroup: + showIndent(outfile, level) + outfile.write('model_.innergroup(\n') + innergroup.exportLiteral(outfile, level, name_='innergroup') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.templateparamlist: + showIndent(outfile, level) + outfile.write('templateparamlist=model_.templateparamlistType(\n') + self.templateparamlist.exportLiteral(outfile, level, name_='templateparamlist') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('sectiondef=[\n') + level += 1 + for sectiondef in self.sectiondef: + showIndent(outfile, level) + outfile.write('model_.sectiondef(\n') + sectiondef.exportLiteral(outfile, level, name_='sectiondef') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.briefdescription: + showIndent(outfile, level) + outfile.write('briefdescription=model_.descriptionType(\n') + self.briefdescription.exportLiteral(outfile, level, name_='briefdescription') + showIndent(outfile, level) + outfile.write('),\n') + if self.detaileddescription: + showIndent(outfile, level) + outfile.write('detaileddescription=model_.descriptionType(\n') + self.detaileddescription.exportLiteral(outfile, level, name_='detaileddescription') + showIndent(outfile, level) + outfile.write('),\n') + if self.inheritancegraph: + showIndent(outfile, level) + outfile.write('inheritancegraph=model_.graphType(\n') + self.inheritancegraph.exportLiteral(outfile, level, name_='inheritancegraph') + showIndent(outfile, level) + outfile.write('),\n') + if self.collaborationgraph: + showIndent(outfile, level) + outfile.write('collaborationgraph=model_.graphType(\n') + self.collaborationgraph.exportLiteral(outfile, level, name_='collaborationgraph') + showIndent(outfile, level) + outfile.write('),\n') + if self.programlisting: + showIndent(outfile, level) + outfile.write('programlisting=model_.listingType(\n') + self.programlisting.exportLiteral(outfile, level, name_='programlisting') + showIndent(outfile, level) + outfile.write('),\n') + if self.location: + showIndent(outfile, level) + outfile.write('location=model_.locationType(\n') + self.location.exportLiteral(outfile, level, name_='location') + showIndent(outfile, level) + outfile.write('),\n') + if self.listofallmembers: + showIndent(outfile, level) + outfile.write('listofallmembers=model_.listofallmembersType(\n') + self.listofallmembers.exportLiteral(outfile, level, name_='listofallmembers') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('kind'): + self.kind = attrs.get('kind').value + if attrs.get('prot'): + self.prot = attrs.get('prot').value + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'compoundname': + compoundname_ = '' + for text__content_ in child_.childNodes: + compoundname_ += text__content_.nodeValue + self.compoundname = compoundname_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + obj_ = docTitleType.factory() + obj_.build(child_) + self.set_title(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'basecompoundref': + obj_ = compoundRefType.factory() + obj_.build(child_) + self.basecompoundref.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'derivedcompoundref': + obj_ = compoundRefType.factory() + obj_.build(child_) + self.derivedcompoundref.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'includes': + obj_ = incType.factory() + obj_.build(child_) + self.includes.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'includedby': + obj_ = incType.factory() + obj_.build(child_) + self.includedby.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'incdepgraph': + obj_ = graphType.factory() + obj_.build(child_) + self.set_incdepgraph(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'invincdepgraph': + obj_ = graphType.factory() + obj_.build(child_) + self.set_invincdepgraph(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'innerdir': + obj_ = refType.factory() + obj_.build(child_) + self.innerdir.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'innerfile': + obj_ = refType.factory() + obj_.build(child_) + self.innerfile.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'innerclass': + obj_ = refType.factory() + obj_.build(child_) + self.innerclass.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'innernamespace': + obj_ = refType.factory() + obj_.build(child_) + self.innernamespace.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'innerpage': + obj_ = refType.factory() + obj_.build(child_) + self.innerpage.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'innergroup': + obj_ = refType.factory() + obj_.build(child_) + self.innergroup.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'templateparamlist': + obj_ = templateparamlistType.factory() + obj_.build(child_) + self.set_templateparamlist(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sectiondef': + obj_ = sectiondefType.factory() + obj_.build(child_) + self.sectiondef.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'briefdescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_briefdescription(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'detaileddescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_detaileddescription(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'inheritancegraph': + obj_ = graphType.factory() + obj_.build(child_) + self.set_inheritancegraph(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'collaborationgraph': + obj_ = graphType.factory() + obj_.build(child_) + self.set_collaborationgraph(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'programlisting': + obj_ = listingType.factory() + obj_.build(child_) + self.set_programlisting(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'location': + obj_ = locationType.factory() + obj_.build(child_) + self.set_location(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'listofallmembers': + obj_ = listofallmembersType.factory() + obj_.build(child_) + self.set_listofallmembers(obj_) +# end class compounddefType + + +class listofallmembersType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, member=None): + if member is None: + self.member = [] + else: + self.member = member + def factory(*args_, **kwargs_): + if listofallmembersType.subclass: + return listofallmembersType.subclass(*args_, **kwargs_) + else: + return listofallmembersType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_member(self): return self.member + def set_member(self, member): self.member = member + def add_member(self, value): self.member.append(value) + def insert_member(self, index, value): self.member[index] = value + def export(self, outfile, level, namespace_='', name_='listofallmembersType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='listofallmembersType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='listofallmembersType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='listofallmembersType'): + for member_ in self.member: + member_.export(outfile, level, namespace_, name_='member') + def hasContent_(self): + if ( + self.member is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='listofallmembersType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('member=[\n') + level += 1 + for member in self.member: + showIndent(outfile, level) + outfile.write('model_.member(\n') + member.exportLiteral(outfile, level, name_='member') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'member': + obj_ = memberRefType.factory() + obj_.build(child_) + self.member.append(obj_) +# end class listofallmembersType + + +class memberRefType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, virt=None, prot=None, refid=None, ambiguityscope=None, scope=None, name=None): + self.virt = virt + self.prot = prot + self.refid = refid + self.ambiguityscope = ambiguityscope + self.scope = scope + self.name = name + def factory(*args_, **kwargs_): + if memberRefType.subclass: + return memberRefType.subclass(*args_, **kwargs_) + else: + return memberRefType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_scope(self): return self.scope + def set_scope(self, scope): self.scope = scope + def get_name(self): return self.name + def set_name(self, name): self.name = name + def get_virt(self): return self.virt + def set_virt(self, virt): self.virt = virt + def get_prot(self): return self.prot + def set_prot(self, prot): self.prot = prot + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def get_ambiguityscope(self): return self.ambiguityscope + def set_ambiguityscope(self, ambiguityscope): self.ambiguityscope = ambiguityscope + def export(self, outfile, level, namespace_='', name_='memberRefType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='memberRefType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='memberRefType'): + if self.virt is not None: + outfile.write(' virt=%s' % (quote_attrib(self.virt), )) + if self.prot is not None: + outfile.write(' prot=%s' % (quote_attrib(self.prot), )) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + if self.ambiguityscope is not None: + outfile.write(' ambiguityscope=%s' % (self.format_string(quote_attrib(self.ambiguityscope).encode(ExternalEncoding), input_name='ambiguityscope'), )) + def exportChildren(self, outfile, level, namespace_='', name_='memberRefType'): + if self.scope is not None: + showIndent(outfile, level) + outfile.write('<%sscope>%s\n' % (namespace_, self.format_string(quote_xml(self.scope).encode(ExternalEncoding), input_name='scope'), namespace_)) + if self.name is not None: + showIndent(outfile, level) + outfile.write('<%sname>%s\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_)) + def hasContent_(self): + if ( + self.scope is not None or + self.name is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='memberRefType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.virt is not None: + showIndent(outfile, level) + outfile.write('virt = "%s",\n' % (self.virt,)) + if self.prot is not None: + showIndent(outfile, level) + outfile.write('prot = "%s",\n' % (self.prot,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + if self.ambiguityscope is not None: + showIndent(outfile, level) + outfile.write('ambiguityscope = %s,\n' % (self.ambiguityscope,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('scope=%s,\n' % quote_python(self.scope).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('name=%s,\n' % quote_python(self.name).encode(ExternalEncoding)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('virt'): + self.virt = attrs.get('virt').value + if attrs.get('prot'): + self.prot = attrs.get('prot').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + if attrs.get('ambiguityscope'): + self.ambiguityscope = attrs.get('ambiguityscope').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'scope': + scope_ = '' + for text__content_ in child_.childNodes: + scope_ += text__content_.nodeValue + self.scope = scope_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'name': + name_ = '' + for text__content_ in child_.childNodes: + name_ += text__content_.nodeValue + self.name = name_ +# end class memberRefType + + +class scope(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if scope.subclass: + return scope.subclass(*args_, **kwargs_) + else: + return scope(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='scope', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='scope') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='scope'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='scope'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='scope'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class scope + + +class name(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if name.subclass: + return name.subclass(*args_, **kwargs_) + else: + return name(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='name', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='name') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='name'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='name'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='name'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class name + + +class compoundRefType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, virt=None, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None): + self.virt = virt + self.prot = prot + self.refid = refid + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if compoundRefType.subclass: + return compoundRefType.subclass(*args_, **kwargs_) + else: + return compoundRefType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_virt(self): return self.virt + def set_virt(self, virt): self.virt = virt + def get_prot(self): return self.prot + def set_prot(self, prot): self.prot = prot + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='compoundRefType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='compoundRefType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='compoundRefType'): + if self.virt is not None: + outfile.write(' virt=%s' % (quote_attrib(self.virt), )) + if self.prot is not None: + outfile.write(' prot=%s' % (quote_attrib(self.prot), )) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='compoundRefType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='compoundRefType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.virt is not None: + showIndent(outfile, level) + outfile.write('virt = "%s",\n' % (self.virt,)) + if self.prot is not None: + showIndent(outfile, level) + outfile.write('prot = "%s",\n' % (self.prot,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('virt'): + self.virt = attrs.get('virt').value + if attrs.get('prot'): + self.prot = attrs.get('prot').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class compoundRefType + + +class reimplementType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, refid=None, valueOf_='', mixedclass_=None, content_=None): + self.refid = refid + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if reimplementType.subclass: + return reimplementType.subclass(*args_, **kwargs_) + else: + return reimplementType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='reimplementType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='reimplementType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='reimplementType'): + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='reimplementType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='reimplementType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class reimplementType + + +class incType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, local=None, refid=None, valueOf_='', mixedclass_=None, content_=None): + self.local = local + self.refid = refid + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if incType.subclass: + return incType.subclass(*args_, **kwargs_) + else: + return incType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_local(self): return self.local + def set_local(self, local): self.local = local + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='incType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='incType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='incType'): + if self.local is not None: + outfile.write(' local=%s' % (quote_attrib(self.local), )) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='incType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='incType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.local is not None: + showIndent(outfile, level) + outfile.write('local = "%s",\n' % (self.local,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('local'): + self.local = attrs.get('local').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class incType + + +class refType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None): + self.prot = prot + self.refid = refid + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if refType.subclass: + return refType.subclass(*args_, **kwargs_) + else: + return refType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_prot(self): return self.prot + def set_prot(self, prot): self.prot = prot + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='refType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='refType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='refType'): + if self.prot is not None: + outfile.write(' prot=%s' % (quote_attrib(self.prot), )) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='refType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='refType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.prot is not None: + showIndent(outfile, level) + outfile.write('prot = "%s",\n' % (self.prot,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('prot'): + self.prot = attrs.get('prot').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class refType + + +class refTextType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None): + self.refid = refid + self.kindref = kindref + self.external = external + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if refTextType.subclass: + return refTextType.subclass(*args_, **kwargs_) + else: + return refTextType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def get_kindref(self): return self.kindref + def set_kindref(self, kindref): self.kindref = kindref + def get_external(self): return self.external + def set_external(self, external): self.external = external + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='refTextType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='refTextType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='refTextType'): + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + if self.kindref is not None: + outfile.write(' kindref=%s' % (quote_attrib(self.kindref), )) + if self.external is not None: + outfile.write(' external=%s' % (self.format_string(quote_attrib(self.external).encode(ExternalEncoding), input_name='external'), )) + def exportChildren(self, outfile, level, namespace_='', name_='refTextType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='refTextType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + if self.kindref is not None: + showIndent(outfile, level) + outfile.write('kindref = "%s",\n' % (self.kindref,)) + if self.external is not None: + showIndent(outfile, level) + outfile.write('external = %s,\n' % (self.external,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('refid'): + self.refid = attrs.get('refid').value + if attrs.get('kindref'): + self.kindref = attrs.get('kindref').value + if attrs.get('external'): + self.external = attrs.get('external').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class refTextType + + +class sectiondefType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, kind=None, header=None, description=None, memberdef=None): + self.kind = kind + self.header = header + self.description = description + if memberdef is None: + self.memberdef = [] + else: + self.memberdef = memberdef + def factory(*args_, **kwargs_): + if sectiondefType.subclass: + return sectiondefType.subclass(*args_, **kwargs_) + else: + return sectiondefType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_header(self): return self.header + def set_header(self, header): self.header = header + def get_description(self): return self.description + def set_description(self, description): self.description = description + def get_memberdef(self): return self.memberdef + def set_memberdef(self, memberdef): self.memberdef = memberdef + def add_memberdef(self, value): self.memberdef.append(value) + def insert_memberdef(self, index, value): self.memberdef[index] = value + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def export(self, outfile, level, namespace_='', name_='sectiondefType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='sectiondefType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='sectiondefType'): + if self.kind is not None: + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + def exportChildren(self, outfile, level, namespace_='', name_='sectiondefType'): + if self.header is not None: + showIndent(outfile, level) + outfile.write('<%sheader>%s\n' % (namespace_, self.format_string(quote_xml(self.header).encode(ExternalEncoding), input_name='header'), namespace_)) + if self.description: + self.description.export(outfile, level, namespace_, name_='description') + for memberdef_ in self.memberdef: + memberdef_.export(outfile, level, namespace_, name_='memberdef') + def hasContent_(self): + if ( + self.header is not None or + self.description is not None or + self.memberdef is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='sectiondefType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('header=%s,\n' % quote_python(self.header).encode(ExternalEncoding)) + if self.description: + showIndent(outfile, level) + outfile.write('description=model_.descriptionType(\n') + self.description.exportLiteral(outfile, level, name_='description') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('memberdef=[\n') + level += 1 + for memberdef in self.memberdef: + showIndent(outfile, level) + outfile.write('model_.memberdef(\n') + memberdef.exportLiteral(outfile, level, name_='memberdef') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('kind'): + self.kind = attrs.get('kind').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'header': + header_ = '' + for text__content_ in child_.childNodes: + header_ += text__content_.nodeValue + self.header = header_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'description': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_description(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'memberdef': + obj_ = memberdefType.factory() + obj_.build(child_) + self.memberdef.append(obj_) +# end class sectiondefType + + +class memberdefType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, initonly=None, kind=None, volatile=None, const=None, raisexx=None, virt=None, readable=None, prot=None, explicit=None, new=None, final=None, writable=None, add=None, static=None, remove=None, sealed=None, mutable=None, gettable=None, inline=None, settable=None, id=None, templateparamlist=None, type_=None, definition=None, argsstring=None, name=None, read=None, write=None, bitfield=None, reimplements=None, reimplementedby=None, param=None, enumvalue=None, initializer=None, exceptions=None, briefdescription=None, detaileddescription=None, inbodydescription=None, location=None, references=None, referencedby=None): + self.initonly = initonly + self.kind = kind + self.volatile = volatile + self.const = const + self.raisexx = raisexx + self.virt = virt + self.readable = readable + self.prot = prot + self.explicit = explicit + self.new = new + self.final = final + self.writable = writable + self.add = add + self.static = static + self.remove = remove + self.sealed = sealed + self.mutable = mutable + self.gettable = gettable + self.inline = inline + self.settable = settable + self.id = id + self.templateparamlist = templateparamlist + self.type_ = type_ + self.definition = definition + self.argsstring = argsstring + self.name = name + self.read = read + self.write = write + self.bitfield = bitfield + if reimplements is None: + self.reimplements = [] + else: + self.reimplements = reimplements + if reimplementedby is None: + self.reimplementedby = [] + else: + self.reimplementedby = reimplementedby + if param is None: + self.param = [] + else: + self.param = param + if enumvalue is None: + self.enumvalue = [] + else: + self.enumvalue = enumvalue + self.initializer = initializer + self.exceptions = exceptions + self.briefdescription = briefdescription + self.detaileddescription = detaileddescription + self.inbodydescription = inbodydescription + self.location = location + if references is None: + self.references = [] + else: + self.references = references + if referencedby is None: + self.referencedby = [] + else: + self.referencedby = referencedby + def factory(*args_, **kwargs_): + if memberdefType.subclass: + return memberdefType.subclass(*args_, **kwargs_) + else: + return memberdefType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_templateparamlist(self): return self.templateparamlist + def set_templateparamlist(self, templateparamlist): self.templateparamlist = templateparamlist + def get_type(self): return self.type_ + def set_type(self, type_): self.type_ = type_ + def get_definition(self): return self.definition + def set_definition(self, definition): self.definition = definition + def get_argsstring(self): return self.argsstring + def set_argsstring(self, argsstring): self.argsstring = argsstring + def get_name(self): return self.name + def set_name(self, name): self.name = name + def get_read(self): return self.read + def set_read(self, read): self.read = read + def get_write(self): return self.write + def set_write(self, write): self.write = write + def get_bitfield(self): return self.bitfield + def set_bitfield(self, bitfield): self.bitfield = bitfield + def get_reimplements(self): return self.reimplements + def set_reimplements(self, reimplements): self.reimplements = reimplements + def add_reimplements(self, value): self.reimplements.append(value) + def insert_reimplements(self, index, value): self.reimplements[index] = value + def get_reimplementedby(self): return self.reimplementedby + def set_reimplementedby(self, reimplementedby): self.reimplementedby = reimplementedby + def add_reimplementedby(self, value): self.reimplementedby.append(value) + def insert_reimplementedby(self, index, value): self.reimplementedby[index] = value + def get_param(self): return self.param + def set_param(self, param): self.param = param + def add_param(self, value): self.param.append(value) + def insert_param(self, index, value): self.param[index] = value + def get_enumvalue(self): return self.enumvalue + def set_enumvalue(self, enumvalue): self.enumvalue = enumvalue + def add_enumvalue(self, value): self.enumvalue.append(value) + def insert_enumvalue(self, index, value): self.enumvalue[index] = value + def get_initializer(self): return self.initializer + def set_initializer(self, initializer): self.initializer = initializer + def get_exceptions(self): return self.exceptions + def set_exceptions(self, exceptions): self.exceptions = exceptions + def get_briefdescription(self): return self.briefdescription + def set_briefdescription(self, briefdescription): self.briefdescription = briefdescription + def get_detaileddescription(self): return self.detaileddescription + def set_detaileddescription(self, detaileddescription): self.detaileddescription = detaileddescription + def get_inbodydescription(self): return self.inbodydescription + def set_inbodydescription(self, inbodydescription): self.inbodydescription = inbodydescription + def get_location(self): return self.location + def set_location(self, location): self.location = location + def get_references(self): return self.references + def set_references(self, references): self.references = references + def add_references(self, value): self.references.append(value) + def insert_references(self, index, value): self.references[index] = value + def get_referencedby(self): return self.referencedby + def set_referencedby(self, referencedby): self.referencedby = referencedby + def add_referencedby(self, value): self.referencedby.append(value) + def insert_referencedby(self, index, value): self.referencedby[index] = value + def get_initonly(self): return self.initonly + def set_initonly(self, initonly): self.initonly = initonly + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def get_volatile(self): return self.volatile + def set_volatile(self, volatile): self.volatile = volatile + def get_const(self): return self.const + def set_const(self, const): self.const = const + def get_raise(self): return self.raisexx + def set_raise(self, raisexx): self.raisexx = raisexx + def get_virt(self): return self.virt + def set_virt(self, virt): self.virt = virt + def get_readable(self): return self.readable + def set_readable(self, readable): self.readable = readable + def get_prot(self): return self.prot + def set_prot(self, prot): self.prot = prot + def get_explicit(self): return self.explicit + def set_explicit(self, explicit): self.explicit = explicit + def get_new(self): return self.new + def set_new(self, new): self.new = new + def get_final(self): return self.final + def set_final(self, final): self.final = final + def get_writable(self): return self.writable + def set_writable(self, writable): self.writable = writable + def get_add(self): return self.add + def set_add(self, add): self.add = add + def get_static(self): return self.static + def set_static(self, static): self.static = static + def get_remove(self): return self.remove + def set_remove(self, remove): self.remove = remove + def get_sealed(self): return self.sealed + def set_sealed(self, sealed): self.sealed = sealed + def get_mutable(self): return self.mutable + def set_mutable(self, mutable): self.mutable = mutable + def get_gettable(self): return self.gettable + def set_gettable(self, gettable): self.gettable = gettable + def get_inline(self): return self.inline + def set_inline(self, inline): self.inline = inline + def get_settable(self): return self.settable + def set_settable(self, settable): self.settable = settable + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='memberdefType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='memberdefType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='memberdefType'): + if self.initonly is not None: + outfile.write(' initonly=%s' % (quote_attrib(self.initonly), )) + if self.kind is not None: + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + if self.volatile is not None: + outfile.write(' volatile=%s' % (quote_attrib(self.volatile), )) + if self.const is not None: + outfile.write(' const=%s' % (quote_attrib(self.const), )) + if self.raisexx is not None: + outfile.write(' raise=%s' % (quote_attrib(self.raisexx), )) + if self.virt is not None: + outfile.write(' virt=%s' % (quote_attrib(self.virt), )) + if self.readable is not None: + outfile.write(' readable=%s' % (quote_attrib(self.readable), )) + if self.prot is not None: + outfile.write(' prot=%s' % (quote_attrib(self.prot), )) + if self.explicit is not None: + outfile.write(' explicit=%s' % (quote_attrib(self.explicit), )) + if self.new is not None: + outfile.write(' new=%s' % (quote_attrib(self.new), )) + if self.final is not None: + outfile.write(' final=%s' % (quote_attrib(self.final), )) + if self.writable is not None: + outfile.write(' writable=%s' % (quote_attrib(self.writable), )) + if self.add is not None: + outfile.write(' add=%s' % (quote_attrib(self.add), )) + if self.static is not None: + outfile.write(' static=%s' % (quote_attrib(self.static), )) + if self.remove is not None: + outfile.write(' remove=%s' % (quote_attrib(self.remove), )) + if self.sealed is not None: + outfile.write(' sealed=%s' % (quote_attrib(self.sealed), )) + if self.mutable is not None: + outfile.write(' mutable=%s' % (quote_attrib(self.mutable), )) + if self.gettable is not None: + outfile.write(' gettable=%s' % (quote_attrib(self.gettable), )) + if self.inline is not None: + outfile.write(' inline=%s' % (quote_attrib(self.inline), )) + if self.settable is not None: + outfile.write(' settable=%s' % (quote_attrib(self.settable), )) + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='memberdefType'): + if self.templateparamlist: + self.templateparamlist.export(outfile, level, namespace_, name_='templateparamlist') + if self.type_: + self.type_.export(outfile, level, namespace_, name_='type') + if self.definition is not None: + showIndent(outfile, level) + outfile.write('<%sdefinition>%s\n' % (namespace_, self.format_string(quote_xml(self.definition).encode(ExternalEncoding), input_name='definition'), namespace_)) + if self.argsstring is not None: + showIndent(outfile, level) + outfile.write('<%sargsstring>%s\n' % (namespace_, self.format_string(quote_xml(self.argsstring).encode(ExternalEncoding), input_name='argsstring'), namespace_)) + if self.name is not None: + showIndent(outfile, level) + outfile.write('<%sname>%s\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_)) + if self.read is not None: + showIndent(outfile, level) + outfile.write('<%sread>%s\n' % (namespace_, self.format_string(quote_xml(self.read).encode(ExternalEncoding), input_name='read'), namespace_)) + if self.write is not None: + showIndent(outfile, level) + outfile.write('<%swrite>%s\n' % (namespace_, self.format_string(quote_xml(self.write).encode(ExternalEncoding), input_name='write'), namespace_)) + if self.bitfield is not None: + showIndent(outfile, level) + outfile.write('<%sbitfield>%s\n' % (namespace_, self.format_string(quote_xml(self.bitfield).encode(ExternalEncoding), input_name='bitfield'), namespace_)) + for reimplements_ in self.reimplements: + reimplements_.export(outfile, level, namespace_, name_='reimplements') + for reimplementedby_ in self.reimplementedby: + reimplementedby_.export(outfile, level, namespace_, name_='reimplementedby') + for param_ in self.param: + param_.export(outfile, level, namespace_, name_='param') + for enumvalue_ in self.enumvalue: + enumvalue_.export(outfile, level, namespace_, name_='enumvalue') + if self.initializer: + self.initializer.export(outfile, level, namespace_, name_='initializer') + if self.exceptions: + self.exceptions.export(outfile, level, namespace_, name_='exceptions') + if self.briefdescription: + self.briefdescription.export(outfile, level, namespace_, name_='briefdescription') + if self.detaileddescription: + self.detaileddescription.export(outfile, level, namespace_, name_='detaileddescription') + if self.inbodydescription: + self.inbodydescription.export(outfile, level, namespace_, name_='inbodydescription') + if self.location: + self.location.export(outfile, level, namespace_, name_='location', ) + for references_ in self.references: + references_.export(outfile, level, namespace_, name_='references') + for referencedby_ in self.referencedby: + referencedby_.export(outfile, level, namespace_, name_='referencedby') + def hasContent_(self): + if ( + self.templateparamlist is not None or + self.type_ is not None or + self.definition is not None or + self.argsstring is not None or + self.name is not None or + self.read is not None or + self.write is not None or + self.bitfield is not None or + self.reimplements is not None or + self.reimplementedby is not None or + self.param is not None or + self.enumvalue is not None or + self.initializer is not None or + self.exceptions is not None or + self.briefdescription is not None or + self.detaileddescription is not None or + self.inbodydescription is not None or + self.location is not None or + self.references is not None or + self.referencedby is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='memberdefType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.initonly is not None: + showIndent(outfile, level) + outfile.write('initonly = "%s",\n' % (self.initonly,)) + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + if self.volatile is not None: + showIndent(outfile, level) + outfile.write('volatile = "%s",\n' % (self.volatile,)) + if self.const is not None: + showIndent(outfile, level) + outfile.write('const = "%s",\n' % (self.const,)) + if self.raisexx is not None: + showIndent(outfile, level) + outfile.write('raisexx = "%s",\n' % (self.raisexx,)) + if self.virt is not None: + showIndent(outfile, level) + outfile.write('virt = "%s",\n' % (self.virt,)) + if self.readable is not None: + showIndent(outfile, level) + outfile.write('readable = "%s",\n' % (self.readable,)) + if self.prot is not None: + showIndent(outfile, level) + outfile.write('prot = "%s",\n' % (self.prot,)) + if self.explicit is not None: + showIndent(outfile, level) + outfile.write('explicit = "%s",\n' % (self.explicit,)) + if self.new is not None: + showIndent(outfile, level) + outfile.write('new = "%s",\n' % (self.new,)) + if self.final is not None: + showIndent(outfile, level) + outfile.write('final = "%s",\n' % (self.final,)) + if self.writable is not None: + showIndent(outfile, level) + outfile.write('writable = "%s",\n' % (self.writable,)) + if self.add is not None: + showIndent(outfile, level) + outfile.write('add = "%s",\n' % (self.add,)) + if self.static is not None: + showIndent(outfile, level) + outfile.write('static = "%s",\n' % (self.static,)) + if self.remove is not None: + showIndent(outfile, level) + outfile.write('remove = "%s",\n' % (self.remove,)) + if self.sealed is not None: + showIndent(outfile, level) + outfile.write('sealed = "%s",\n' % (self.sealed,)) + if self.mutable is not None: + showIndent(outfile, level) + outfile.write('mutable = "%s",\n' % (self.mutable,)) + if self.gettable is not None: + showIndent(outfile, level) + outfile.write('gettable = "%s",\n' % (self.gettable,)) + if self.inline is not None: + showIndent(outfile, level) + outfile.write('inline = "%s",\n' % (self.inline,)) + if self.settable is not None: + showIndent(outfile, level) + outfile.write('settable = "%s",\n' % (self.settable,)) + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + if self.templateparamlist: + showIndent(outfile, level) + outfile.write('templateparamlist=model_.templateparamlistType(\n') + self.templateparamlist.exportLiteral(outfile, level, name_='templateparamlist') + showIndent(outfile, level) + outfile.write('),\n') + if self.type_: + showIndent(outfile, level) + outfile.write('type_=model_.linkedTextType(\n') + self.type_.exportLiteral(outfile, level, name_='type') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('definition=%s,\n' % quote_python(self.definition).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('argsstring=%s,\n' % quote_python(self.argsstring).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('name=%s,\n' % quote_python(self.name).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('read=%s,\n' % quote_python(self.read).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('write=%s,\n' % quote_python(self.write).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('bitfield=%s,\n' % quote_python(self.bitfield).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('reimplements=[\n') + level += 1 + for reimplements in self.reimplements: + showIndent(outfile, level) + outfile.write('model_.reimplements(\n') + reimplements.exportLiteral(outfile, level, name_='reimplements') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('reimplementedby=[\n') + level += 1 + for reimplementedby in self.reimplementedby: + showIndent(outfile, level) + outfile.write('model_.reimplementedby(\n') + reimplementedby.exportLiteral(outfile, level, name_='reimplementedby') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('param=[\n') + level += 1 + for param in self.param: + showIndent(outfile, level) + outfile.write('model_.param(\n') + param.exportLiteral(outfile, level, name_='param') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('enumvalue=[\n') + level += 1 + for enumvalue in self.enumvalue: + showIndent(outfile, level) + outfile.write('model_.enumvalue(\n') + enumvalue.exportLiteral(outfile, level, name_='enumvalue') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.initializer: + showIndent(outfile, level) + outfile.write('initializer=model_.linkedTextType(\n') + self.initializer.exportLiteral(outfile, level, name_='initializer') + showIndent(outfile, level) + outfile.write('),\n') + if self.exceptions: + showIndent(outfile, level) + outfile.write('exceptions=model_.linkedTextType(\n') + self.exceptions.exportLiteral(outfile, level, name_='exceptions') + showIndent(outfile, level) + outfile.write('),\n') + if self.briefdescription: + showIndent(outfile, level) + outfile.write('briefdescription=model_.descriptionType(\n') + self.briefdescription.exportLiteral(outfile, level, name_='briefdescription') + showIndent(outfile, level) + outfile.write('),\n') + if self.detaileddescription: + showIndent(outfile, level) + outfile.write('detaileddescription=model_.descriptionType(\n') + self.detaileddescription.exportLiteral(outfile, level, name_='detaileddescription') + showIndent(outfile, level) + outfile.write('),\n') + if self.inbodydescription: + showIndent(outfile, level) + outfile.write('inbodydescription=model_.descriptionType(\n') + self.inbodydescription.exportLiteral(outfile, level, name_='inbodydescription') + showIndent(outfile, level) + outfile.write('),\n') + if self.location: + showIndent(outfile, level) + outfile.write('location=model_.locationType(\n') + self.location.exportLiteral(outfile, level, name_='location') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('references=[\n') + level += 1 + for references in self.references: + showIndent(outfile, level) + outfile.write('model_.references(\n') + references.exportLiteral(outfile, level, name_='references') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('referencedby=[\n') + level += 1 + for referencedby in self.referencedby: + showIndent(outfile, level) + outfile.write('model_.referencedby(\n') + referencedby.exportLiteral(outfile, level, name_='referencedby') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('initonly'): + self.initonly = attrs.get('initonly').value + if attrs.get('kind'): + self.kind = attrs.get('kind').value + if attrs.get('volatile'): + self.volatile = attrs.get('volatile').value + if attrs.get('const'): + self.const = attrs.get('const').value + if attrs.get('raise'): + self.raisexx = attrs.get('raise').value + if attrs.get('virt'): + self.virt = attrs.get('virt').value + if attrs.get('readable'): + self.readable = attrs.get('readable').value + if attrs.get('prot'): + self.prot = attrs.get('prot').value + if attrs.get('explicit'): + self.explicit = attrs.get('explicit').value + if attrs.get('new'): + self.new = attrs.get('new').value + if attrs.get('final'): + self.final = attrs.get('final').value + if attrs.get('writable'): + self.writable = attrs.get('writable').value + if attrs.get('add'): + self.add = attrs.get('add').value + if attrs.get('static'): + self.static = attrs.get('static').value + if attrs.get('remove'): + self.remove = attrs.get('remove').value + if attrs.get('sealed'): + self.sealed = attrs.get('sealed').value + if attrs.get('mutable'): + self.mutable = attrs.get('mutable').value + if attrs.get('gettable'): + self.gettable = attrs.get('gettable').value + if attrs.get('inline'): + self.inline = attrs.get('inline').value + if attrs.get('settable'): + self.settable = attrs.get('settable').value + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'templateparamlist': + obj_ = templateparamlistType.factory() + obj_.build(child_) + self.set_templateparamlist(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'type': + obj_ = linkedTextType.factory() + obj_.build(child_) + self.set_type(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'definition': + definition_ = '' + for text__content_ in child_.childNodes: + definition_ += text__content_.nodeValue + self.definition = definition_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'argsstring': + argsstring_ = '' + for text__content_ in child_.childNodes: + argsstring_ += text__content_.nodeValue + self.argsstring = argsstring_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'name': + name_ = '' + for text__content_ in child_.childNodes: + name_ += text__content_.nodeValue + self.name = name_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'read': + read_ = '' + for text__content_ in child_.childNodes: + read_ += text__content_.nodeValue + self.read = read_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'write': + write_ = '' + for text__content_ in child_.childNodes: + write_ += text__content_.nodeValue + self.write = write_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'bitfield': + bitfield_ = '' + for text__content_ in child_.childNodes: + bitfield_ += text__content_.nodeValue + self.bitfield = bitfield_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'reimplements': + obj_ = reimplementType.factory() + obj_.build(child_) + self.reimplements.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'reimplementedby': + obj_ = reimplementType.factory() + obj_.build(child_) + self.reimplementedby.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'param': + obj_ = paramType.factory() + obj_.build(child_) + self.param.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'enumvalue': + obj_ = enumvalueType.factory() + obj_.build(child_) + self.enumvalue.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'initializer': + obj_ = linkedTextType.factory() + obj_.build(child_) + self.set_initializer(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'exceptions': + obj_ = linkedTextType.factory() + obj_.build(child_) + self.set_exceptions(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'briefdescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_briefdescription(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'detaileddescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_detaileddescription(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'inbodydescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_inbodydescription(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'location': + obj_ = locationType.factory() + obj_.build(child_) + self.set_location(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'references': + obj_ = referenceType.factory() + obj_.build(child_) + self.references.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'referencedby': + obj_ = referenceType.factory() + obj_.build(child_) + self.referencedby.append(obj_) +# end class memberdefType + + +class definition(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if definition.subclass: + return definition.subclass(*args_, **kwargs_) + else: + return definition(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='definition', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='definition') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='definition'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='definition'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='definition'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class definition + + +class argsstring(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if argsstring.subclass: + return argsstring.subclass(*args_, **kwargs_) + else: + return argsstring(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='argsstring', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='argsstring') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='argsstring'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='argsstring'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='argsstring'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class argsstring + + +class read(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if read.subclass: + return read.subclass(*args_, **kwargs_) + else: + return read(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='read', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='read') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='read'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='read'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='read'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class read + + +class write(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if write.subclass: + return write.subclass(*args_, **kwargs_) + else: + return write(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='write', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='write') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='write'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='write'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='write'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class write + + +class bitfield(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if bitfield.subclass: + return bitfield.subclass(*args_, **kwargs_) + else: + return bitfield(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='bitfield', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='bitfield') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='bitfield'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='bitfield'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='bitfield'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class bitfield + + +class descriptionType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, title=None, para=None, sect1=None, internal=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if descriptionType.subclass: + return descriptionType.subclass(*args_, **kwargs_) + else: + return descriptionType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect1(self): return self.sect1 + def set_sect1(self, sect1): self.sect1 = sect1 + def add_sect1(self, value): self.sect1.append(value) + def insert_sect1(self, index, value): self.sect1[index] = value + def get_internal(self): return self.internal + def set_internal(self, internal): self.internal = internal + def export(self, outfile, level, namespace_='', name_='descriptionType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='descriptionType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='descriptionType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='descriptionType'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.title is not None or + self.para is not None or + self.sect1 is not None or + self.internal is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='descriptionType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + childobj_ = docTitleType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'title', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect1': + childobj_ = docSect1Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect1', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'internal': + childobj_ = docInternalType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'internal', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class descriptionType + + +class enumvalueType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, prot=None, id=None, name=None, initializer=None, briefdescription=None, detaileddescription=None, mixedclass_=None, content_=None): + self.prot = prot + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if enumvalueType.subclass: + return enumvalueType.subclass(*args_, **kwargs_) + else: + return enumvalueType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_name(self): return self.name + def set_name(self, name): self.name = name + def get_initializer(self): return self.initializer + def set_initializer(self, initializer): self.initializer = initializer + def get_briefdescription(self): return self.briefdescription + def set_briefdescription(self, briefdescription): self.briefdescription = briefdescription + def get_detaileddescription(self): return self.detaileddescription + def set_detaileddescription(self, detaileddescription): self.detaileddescription = detaileddescription + def get_prot(self): return self.prot + def set_prot(self, prot): self.prot = prot + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='enumvalueType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='enumvalueType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='enumvalueType'): + if self.prot is not None: + outfile.write(' prot=%s' % (quote_attrib(self.prot), )) + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='enumvalueType'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.name is not None or + self.initializer is not None or + self.briefdescription is not None or + self.detaileddescription is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='enumvalueType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.prot is not None: + showIndent(outfile, level) + outfile.write('prot = "%s",\n' % (self.prot,)) + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('prot'): + self.prot = attrs.get('prot').value + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'name': + value_ = [] + for text_ in child_.childNodes: + value_.append(text_.nodeValue) + valuestr_ = ''.join(value_) + obj_ = self.mixedclass_(MixedContainer.CategorySimple, + MixedContainer.TypeString, 'name', valuestr_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'initializer': + childobj_ = linkedTextType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'initializer', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'briefdescription': + childobj_ = descriptionType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'briefdescription', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'detaileddescription': + childobj_ = descriptionType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'detaileddescription', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class enumvalueType + + +class templateparamlistType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, param=None): + if param is None: + self.param = [] + else: + self.param = param + def factory(*args_, **kwargs_): + if templateparamlistType.subclass: + return templateparamlistType.subclass(*args_, **kwargs_) + else: + return templateparamlistType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_param(self): return self.param + def set_param(self, param): self.param = param + def add_param(self, value): self.param.append(value) + def insert_param(self, index, value): self.param[index] = value + def export(self, outfile, level, namespace_='', name_='templateparamlistType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='templateparamlistType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='templateparamlistType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='templateparamlistType'): + for param_ in self.param: + param_.export(outfile, level, namespace_, name_='param') + def hasContent_(self): + if ( + self.param is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='templateparamlistType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('param=[\n') + level += 1 + for param in self.param: + showIndent(outfile, level) + outfile.write('model_.param(\n') + param.exportLiteral(outfile, level, name_='param') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'param': + obj_ = paramType.factory() + obj_.build(child_) + self.param.append(obj_) +# end class templateparamlistType + + +class paramType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, type_=None, declname=None, defname=None, array=None, defval=None, briefdescription=None): + self.type_ = type_ + self.declname = declname + self.defname = defname + self.array = array + self.defval = defval + self.briefdescription = briefdescription + def factory(*args_, **kwargs_): + if paramType.subclass: + return paramType.subclass(*args_, **kwargs_) + else: + return paramType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_type(self): return self.type_ + def set_type(self, type_): self.type_ = type_ + def get_declname(self): return self.declname + def set_declname(self, declname): self.declname = declname + def get_defname(self): return self.defname + def set_defname(self, defname): self.defname = defname + def get_array(self): return self.array + def set_array(self, array): self.array = array + def get_defval(self): return self.defval + def set_defval(self, defval): self.defval = defval + def get_briefdescription(self): return self.briefdescription + def set_briefdescription(self, briefdescription): self.briefdescription = briefdescription + def export(self, outfile, level, namespace_='', name_='paramType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='paramType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='paramType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='paramType'): + if self.type_: + self.type_.export(outfile, level, namespace_, name_='type') + if self.declname is not None: + showIndent(outfile, level) + outfile.write('<%sdeclname>%s\n' % (namespace_, self.format_string(quote_xml(self.declname).encode(ExternalEncoding), input_name='declname'), namespace_)) + if self.defname is not None: + showIndent(outfile, level) + outfile.write('<%sdefname>%s\n' % (namespace_, self.format_string(quote_xml(self.defname).encode(ExternalEncoding), input_name='defname'), namespace_)) + if self.array is not None: + showIndent(outfile, level) + outfile.write('<%sarray>%s\n' % (namespace_, self.format_string(quote_xml(self.array).encode(ExternalEncoding), input_name='array'), namespace_)) + if self.defval: + self.defval.export(outfile, level, namespace_, name_='defval') + if self.briefdescription: + self.briefdescription.export(outfile, level, namespace_, name_='briefdescription') + def hasContent_(self): + if ( + self.type_ is not None or + self.declname is not None or + self.defname is not None or + self.array is not None or + self.defval is not None or + self.briefdescription is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='paramType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + if self.type_: + showIndent(outfile, level) + outfile.write('type_=model_.linkedTextType(\n') + self.type_.exportLiteral(outfile, level, name_='type') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('declname=%s,\n' % quote_python(self.declname).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('defname=%s,\n' % quote_python(self.defname).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('array=%s,\n' % quote_python(self.array).encode(ExternalEncoding)) + if self.defval: + showIndent(outfile, level) + outfile.write('defval=model_.linkedTextType(\n') + self.defval.exportLiteral(outfile, level, name_='defval') + showIndent(outfile, level) + outfile.write('),\n') + if self.briefdescription: + showIndent(outfile, level) + outfile.write('briefdescription=model_.descriptionType(\n') + self.briefdescription.exportLiteral(outfile, level, name_='briefdescription') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'type': + obj_ = linkedTextType.factory() + obj_.build(child_) + self.set_type(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'declname': + declname_ = '' + for text__content_ in child_.childNodes: + declname_ += text__content_.nodeValue + self.declname = declname_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'defname': + defname_ = '' + for text__content_ in child_.childNodes: + defname_ += text__content_.nodeValue + self.defname = defname_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'array': + array_ = '' + for text__content_ in child_.childNodes: + array_ += text__content_.nodeValue + self.array = array_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'defval': + obj_ = linkedTextType.factory() + obj_.build(child_) + self.set_defval(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'briefdescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_briefdescription(obj_) +# end class paramType + + +class declname(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if declname.subclass: + return declname.subclass(*args_, **kwargs_) + else: + return declname(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='declname', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='declname') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='declname'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='declname'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='declname'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class declname + + +class defname(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if defname.subclass: + return defname.subclass(*args_, **kwargs_) + else: + return defname(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='defname', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='defname') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='defname'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='defname'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='defname'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class defname + + +class array(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if array.subclass: + return array.subclass(*args_, **kwargs_) + else: + return array(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='array', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='array') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='array'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='array'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='array'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class array + + +class linkedTextType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, ref=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if linkedTextType.subclass: + return linkedTextType.subclass(*args_, **kwargs_) + else: + return linkedTextType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_ref(self): return self.ref + def set_ref(self, ref): self.ref = ref + def add_ref(self, value): self.ref.append(value) + def insert_ref(self, index, value): self.ref[index] = value + def export(self, outfile, level, namespace_='', name_='linkedTextType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='linkedTextType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='linkedTextType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='linkedTextType'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.ref is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='linkedTextType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'ref': + childobj_ = docRefTextType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'ref', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class linkedTextType + + +class graphType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, node=None): + if node is None: + self.node = [] + else: + self.node = node + def factory(*args_, **kwargs_): + if graphType.subclass: + return graphType.subclass(*args_, **kwargs_) + else: + return graphType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_node(self): return self.node + def set_node(self, node): self.node = node + def add_node(self, value): self.node.append(value) + def insert_node(self, index, value): self.node[index] = value + def export(self, outfile, level, namespace_='', name_='graphType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='graphType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='graphType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='graphType'): + for node_ in self.node: + node_.export(outfile, level, namespace_, name_='node') + def hasContent_(self): + if ( + self.node is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='graphType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('node=[\n') + level += 1 + for node in self.node: + showIndent(outfile, level) + outfile.write('model_.node(\n') + node.exportLiteral(outfile, level, name_='node') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'node': + obj_ = nodeType.factory() + obj_.build(child_) + self.node.append(obj_) +# end class graphType + + +class nodeType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, label=None, link=None, childnode=None): + self.id = id + self.label = label + self.link = link + if childnode is None: + self.childnode = [] + else: + self.childnode = childnode + def factory(*args_, **kwargs_): + if nodeType.subclass: + return nodeType.subclass(*args_, **kwargs_) + else: + return nodeType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_label(self): return self.label + def set_label(self, label): self.label = label + def get_link(self): return self.link + def set_link(self, link): self.link = link + def get_childnode(self): return self.childnode + def set_childnode(self, childnode): self.childnode = childnode + def add_childnode(self, value): self.childnode.append(value) + def insert_childnode(self, index, value): self.childnode[index] = value + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='nodeType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='nodeType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='nodeType'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='nodeType'): + if self.label is not None: + showIndent(outfile, level) + outfile.write('<%slabel>%s\n' % (namespace_, self.format_string(quote_xml(self.label).encode(ExternalEncoding), input_name='label'), namespace_)) + if self.link: + self.link.export(outfile, level, namespace_, name_='link') + for childnode_ in self.childnode: + childnode_.export(outfile, level, namespace_, name_='childnode') + def hasContent_(self): + if ( + self.label is not None or + self.link is not None or + self.childnode is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='nodeType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('label=%s,\n' % quote_python(self.label).encode(ExternalEncoding)) + if self.link: + showIndent(outfile, level) + outfile.write('link=model_.linkType(\n') + self.link.exportLiteral(outfile, level, name_='link') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('childnode=[\n') + level += 1 + for childnode in self.childnode: + showIndent(outfile, level) + outfile.write('model_.childnode(\n') + childnode.exportLiteral(outfile, level, name_='childnode') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'label': + label_ = '' + for text__content_ in child_.childNodes: + label_ += text__content_.nodeValue + self.label = label_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'link': + obj_ = linkType.factory() + obj_.build(child_) + self.set_link(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'childnode': + obj_ = childnodeType.factory() + obj_.build(child_) + self.childnode.append(obj_) +# end class nodeType + + +class label(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if label.subclass: + return label.subclass(*args_, **kwargs_) + else: + return label(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='label', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='label') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='label'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='label'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='label'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class label + + +class childnodeType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, relation=None, refid=None, edgelabel=None): + self.relation = relation + self.refid = refid + if edgelabel is None: + self.edgelabel = [] + else: + self.edgelabel = edgelabel + def factory(*args_, **kwargs_): + if childnodeType.subclass: + return childnodeType.subclass(*args_, **kwargs_) + else: + return childnodeType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_edgelabel(self): return self.edgelabel + def set_edgelabel(self, edgelabel): self.edgelabel = edgelabel + def add_edgelabel(self, value): self.edgelabel.append(value) + def insert_edgelabel(self, index, value): self.edgelabel[index] = value + def get_relation(self): return self.relation + def set_relation(self, relation): self.relation = relation + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def export(self, outfile, level, namespace_='', name_='childnodeType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='childnodeType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='childnodeType'): + if self.relation is not None: + outfile.write(' relation=%s' % (quote_attrib(self.relation), )) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='childnodeType'): + for edgelabel_ in self.edgelabel: + showIndent(outfile, level) + outfile.write('<%sedgelabel>%s\n' % (namespace_, self.format_string(quote_xml(edgelabel_).encode(ExternalEncoding), input_name='edgelabel'), namespace_)) + def hasContent_(self): + if ( + self.edgelabel is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='childnodeType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.relation is not None: + showIndent(outfile, level) + outfile.write('relation = "%s",\n' % (self.relation,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('edgelabel=[\n') + level += 1 + for edgelabel in self.edgelabel: + showIndent(outfile, level) + outfile.write('%s,\n' % quote_python(edgelabel).encode(ExternalEncoding)) + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('relation'): + self.relation = attrs.get('relation').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'edgelabel': + edgelabel_ = '' + for text__content_ in child_.childNodes: + edgelabel_ += text__content_.nodeValue + self.edgelabel.append(edgelabel_) +# end class childnodeType + + +class edgelabel(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if edgelabel.subclass: + return edgelabel.subclass(*args_, **kwargs_) + else: + return edgelabel(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='edgelabel', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='edgelabel') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='edgelabel'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='edgelabel'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='edgelabel'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class edgelabel + + +class linkType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, refid=None, external=None, valueOf_=''): + self.refid = refid + self.external = external + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if linkType.subclass: + return linkType.subclass(*args_, **kwargs_) + else: + return linkType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def get_external(self): return self.external + def set_external(self, external): self.external = external + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='linkType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='linkType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='linkType'): + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + if self.external is not None: + outfile.write(' external=%s' % (self.format_string(quote_attrib(self.external).encode(ExternalEncoding), input_name='external'), )) + def exportChildren(self, outfile, level, namespace_='', name_='linkType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='linkType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + if self.external is not None: + showIndent(outfile, level) + outfile.write('external = %s,\n' % (self.external,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('refid'): + self.refid = attrs.get('refid').value + if attrs.get('external'): + self.external = attrs.get('external').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class linkType + + +class listingType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, codeline=None): + if codeline is None: + self.codeline = [] + else: + self.codeline = codeline + def factory(*args_, **kwargs_): + if listingType.subclass: + return listingType.subclass(*args_, **kwargs_) + else: + return listingType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_codeline(self): return self.codeline + def set_codeline(self, codeline): self.codeline = codeline + def add_codeline(self, value): self.codeline.append(value) + def insert_codeline(self, index, value): self.codeline[index] = value + def export(self, outfile, level, namespace_='', name_='listingType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='listingType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='listingType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='listingType'): + for codeline_ in self.codeline: + codeline_.export(outfile, level, namespace_, name_='codeline') + def hasContent_(self): + if ( + self.codeline is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='listingType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('codeline=[\n') + level += 1 + for codeline in self.codeline: + showIndent(outfile, level) + outfile.write('model_.codeline(\n') + codeline.exportLiteral(outfile, level, name_='codeline') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'codeline': + obj_ = codelineType.factory() + obj_.build(child_) + self.codeline.append(obj_) +# end class listingType + + +class codelineType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, external=None, lineno=None, refkind=None, refid=None, highlight=None): + self.external = external + self.lineno = lineno + self.refkind = refkind + self.refid = refid + if highlight is None: + self.highlight = [] + else: + self.highlight = highlight + def factory(*args_, **kwargs_): + if codelineType.subclass: + return codelineType.subclass(*args_, **kwargs_) + else: + return codelineType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_highlight(self): return self.highlight + def set_highlight(self, highlight): self.highlight = highlight + def add_highlight(self, value): self.highlight.append(value) + def insert_highlight(self, index, value): self.highlight[index] = value + def get_external(self): return self.external + def set_external(self, external): self.external = external + def get_lineno(self): return self.lineno + def set_lineno(self, lineno): self.lineno = lineno + def get_refkind(self): return self.refkind + def set_refkind(self, refkind): self.refkind = refkind + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def export(self, outfile, level, namespace_='', name_='codelineType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='codelineType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='codelineType'): + if self.external is not None: + outfile.write(' external=%s' % (quote_attrib(self.external), )) + if self.lineno is not None: + outfile.write(' lineno="%s"' % self.format_integer(self.lineno, input_name='lineno')) + if self.refkind is not None: + outfile.write(' refkind=%s' % (quote_attrib(self.refkind), )) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='codelineType'): + for highlight_ in self.highlight: + highlight_.export(outfile, level, namespace_, name_='highlight') + def hasContent_(self): + if ( + self.highlight is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='codelineType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.external is not None: + showIndent(outfile, level) + outfile.write('external = "%s",\n' % (self.external,)) + if self.lineno is not None: + showIndent(outfile, level) + outfile.write('lineno = %s,\n' % (self.lineno,)) + if self.refkind is not None: + showIndent(outfile, level) + outfile.write('refkind = "%s",\n' % (self.refkind,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('highlight=[\n') + level += 1 + for highlight in self.highlight: + showIndent(outfile, level) + outfile.write('model_.highlight(\n') + highlight.exportLiteral(outfile, level, name_='highlight') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('external'): + self.external = attrs.get('external').value + if attrs.get('lineno'): + try: + self.lineno = int(attrs.get('lineno').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (lineno): %s' % exp) + if attrs.get('refkind'): + self.refkind = attrs.get('refkind').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'highlight': + obj_ = highlightType.factory() + obj_.build(child_) + self.highlight.append(obj_) +# end class codelineType + + +class highlightType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, classxx=None, sp=None, ref=None, mixedclass_=None, content_=None): + self.classxx = classxx + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if highlightType.subclass: + return highlightType.subclass(*args_, **kwargs_) + else: + return highlightType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_sp(self): return self.sp + def set_sp(self, sp): self.sp = sp + def add_sp(self, value): self.sp.append(value) + def insert_sp(self, index, value): self.sp[index] = value + def get_ref(self): return self.ref + def set_ref(self, ref): self.ref = ref + def add_ref(self, value): self.ref.append(value) + def insert_ref(self, index, value): self.ref[index] = value + def get_class(self): return self.classxx + def set_class(self, classxx): self.classxx = classxx + def export(self, outfile, level, namespace_='', name_='highlightType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='highlightType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='highlightType'): + if self.classxx is not None: + outfile.write(' class=%s' % (quote_attrib(self.classxx), )) + def exportChildren(self, outfile, level, namespace_='', name_='highlightType'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.sp is not None or + self.ref is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='highlightType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.classxx is not None: + showIndent(outfile, level) + outfile.write('classxx = "%s",\n' % (self.classxx,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('class'): + self.classxx = attrs.get('class').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sp': + value_ = [] + for text_ in child_.childNodes: + value_.append(text_.nodeValue) + valuestr_ = ''.join(value_) + obj_ = self.mixedclass_(MixedContainer.CategorySimple, + MixedContainer.TypeString, 'sp', valuestr_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'ref': + childobj_ = docRefTextType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'ref', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class highlightType + + +class sp(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if sp.subclass: + return sp.subclass(*args_, **kwargs_) + else: + return sp(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='sp', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='sp') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='sp'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='sp'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='sp'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class sp + + +class referenceType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, endline=None, startline=None, refid=None, compoundref=None, valueOf_='', mixedclass_=None, content_=None): + self.endline = endline + self.startline = startline + self.refid = refid + self.compoundref = compoundref + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if referenceType.subclass: + return referenceType.subclass(*args_, **kwargs_) + else: + return referenceType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_endline(self): return self.endline + def set_endline(self, endline): self.endline = endline + def get_startline(self): return self.startline + def set_startline(self, startline): self.startline = startline + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def get_compoundref(self): return self.compoundref + def set_compoundref(self, compoundref): self.compoundref = compoundref + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='referenceType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='referenceType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='referenceType'): + if self.endline is not None: + outfile.write(' endline="%s"' % self.format_integer(self.endline, input_name='endline')) + if self.startline is not None: + outfile.write(' startline="%s"' % self.format_integer(self.startline, input_name='startline')) + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + if self.compoundref is not None: + outfile.write(' compoundref=%s' % (self.format_string(quote_attrib(self.compoundref).encode(ExternalEncoding), input_name='compoundref'), )) + def exportChildren(self, outfile, level, namespace_='', name_='referenceType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='referenceType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.endline is not None: + showIndent(outfile, level) + outfile.write('endline = %s,\n' % (self.endline,)) + if self.startline is not None: + showIndent(outfile, level) + outfile.write('startline = %s,\n' % (self.startline,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + if self.compoundref is not None: + showIndent(outfile, level) + outfile.write('compoundref = %s,\n' % (self.compoundref,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('endline'): + try: + self.endline = int(attrs.get('endline').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (endline): %s' % exp) + if attrs.get('startline'): + try: + self.startline = int(attrs.get('startline').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (startline): %s' % exp) + if attrs.get('refid'): + self.refid = attrs.get('refid').value + if attrs.get('compoundref'): + self.compoundref = attrs.get('compoundref').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class referenceType + + +class locationType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, bodystart=None, line=None, bodyend=None, bodyfile=None, file=None, valueOf_=''): + self.bodystart = bodystart + self.line = line + self.bodyend = bodyend + self.bodyfile = bodyfile + self.file = file + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if locationType.subclass: + return locationType.subclass(*args_, **kwargs_) + else: + return locationType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_bodystart(self): return self.bodystart + def set_bodystart(self, bodystart): self.bodystart = bodystart + def get_line(self): return self.line + def set_line(self, line): self.line = line + def get_bodyend(self): return self.bodyend + def set_bodyend(self, bodyend): self.bodyend = bodyend + def get_bodyfile(self): return self.bodyfile + def set_bodyfile(self, bodyfile): self.bodyfile = bodyfile + def get_file(self): return self.file + def set_file(self, file): self.file = file + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='locationType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='locationType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='locationType'): + if self.bodystart is not None: + outfile.write(' bodystart="%s"' % self.format_integer(self.bodystart, input_name='bodystart')) + if self.line is not None: + outfile.write(' line="%s"' % self.format_integer(self.line, input_name='line')) + if self.bodyend is not None: + outfile.write(' bodyend="%s"' % self.format_integer(self.bodyend, input_name='bodyend')) + if self.bodyfile is not None: + outfile.write(' bodyfile=%s' % (self.format_string(quote_attrib(self.bodyfile).encode(ExternalEncoding), input_name='bodyfile'), )) + if self.file is not None: + outfile.write(' file=%s' % (self.format_string(quote_attrib(self.file).encode(ExternalEncoding), input_name='file'), )) + def exportChildren(self, outfile, level, namespace_='', name_='locationType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='locationType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.bodystart is not None: + showIndent(outfile, level) + outfile.write('bodystart = %s,\n' % (self.bodystart,)) + if self.line is not None: + showIndent(outfile, level) + outfile.write('line = %s,\n' % (self.line,)) + if self.bodyend is not None: + showIndent(outfile, level) + outfile.write('bodyend = %s,\n' % (self.bodyend,)) + if self.bodyfile is not None: + showIndent(outfile, level) + outfile.write('bodyfile = %s,\n' % (self.bodyfile,)) + if self.file is not None: + showIndent(outfile, level) + outfile.write('file = %s,\n' % (self.file,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('bodystart'): + try: + self.bodystart = int(attrs.get('bodystart').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (bodystart): %s' % exp) + if attrs.get('line'): + try: + self.line = int(attrs.get('line').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (line): %s' % exp) + if attrs.get('bodyend'): + try: + self.bodyend = int(attrs.get('bodyend').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (bodyend): %s' % exp) + if attrs.get('bodyfile'): + self.bodyfile = attrs.get('bodyfile').value + if attrs.get('file'): + self.file = attrs.get('file').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class locationType + + +class docSect1Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, title=None, para=None, sect2=None, internal=None, mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docSect1Type.subclass: + return docSect1Type.subclass(*args_, **kwargs_) + else: + return docSect1Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect2(self): return self.sect2 + def set_sect2(self, sect2): self.sect2 = sect2 + def add_sect2(self, value): self.sect2.append(value) + def insert_sect2(self, index, value): self.sect2[index] = value + def get_internal(self): return self.internal + def set_internal(self, internal): self.internal = internal + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='docSect1Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docSect1Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docSect1Type'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docSect1Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.title is not None or + self.para is not None or + self.sect2 is not None or + self.internal is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docSect1Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + childobj_ = docTitleType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'title', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect2': + childobj_ = docSect2Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect2', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'internal': + childobj_ = docInternalS1Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'internal', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docSect1Type + + +class docSect2Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, title=None, para=None, sect3=None, internal=None, mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docSect2Type.subclass: + return docSect2Type.subclass(*args_, **kwargs_) + else: + return docSect2Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect3(self): return self.sect3 + def set_sect3(self, sect3): self.sect3 = sect3 + def add_sect3(self, value): self.sect3.append(value) + def insert_sect3(self, index, value): self.sect3[index] = value + def get_internal(self): return self.internal + def set_internal(self, internal): self.internal = internal + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='docSect2Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docSect2Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docSect2Type'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docSect2Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.title is not None or + self.para is not None or + self.sect3 is not None or + self.internal is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docSect2Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + childobj_ = docTitleType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'title', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect3': + childobj_ = docSect3Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect3', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'internal': + childobj_ = docInternalS2Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'internal', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docSect2Type + + +class docSect3Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, title=None, para=None, sect4=None, internal=None, mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docSect3Type.subclass: + return docSect3Type.subclass(*args_, **kwargs_) + else: + return docSect3Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect4(self): return self.sect4 + def set_sect4(self, sect4): self.sect4 = sect4 + def add_sect4(self, value): self.sect4.append(value) + def insert_sect4(self, index, value): self.sect4[index] = value + def get_internal(self): return self.internal + def set_internal(self, internal): self.internal = internal + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='docSect3Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docSect3Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docSect3Type'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docSect3Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.title is not None or + self.para is not None or + self.sect4 is not None or + self.internal is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docSect3Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + childobj_ = docTitleType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'title', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect4': + childobj_ = docSect4Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect4', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'internal': + childobj_ = docInternalS3Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'internal', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docSect3Type + + +class docSect4Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, title=None, para=None, internal=None, mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docSect4Type.subclass: + return docSect4Type.subclass(*args_, **kwargs_) + else: + return docSect4Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_internal(self): return self.internal + def set_internal(self, internal): self.internal = internal + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='docSect4Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docSect4Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docSect4Type'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docSect4Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.title is not None or + self.para is not None or + self.internal is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docSect4Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + childobj_ = docTitleType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'title', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'internal': + childobj_ = docInternalS4Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'internal', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docSect4Type + + +class docInternalType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, para=None, sect1=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docInternalType.subclass: + return docInternalType.subclass(*args_, **kwargs_) + else: + return docInternalType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect1(self): return self.sect1 + def set_sect1(self, sect1): self.sect1 = sect1 + def add_sect1(self, value): self.sect1.append(value) + def insert_sect1(self, index, value): self.sect1[index] = value + def export(self, outfile, level, namespace_='', name_='docInternalType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docInternalType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docInternalType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docInternalType'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.para is not None or + self.sect1 is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docInternalType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect1': + childobj_ = docSect1Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect1', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docInternalType + + +class docInternalS1Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, para=None, sect2=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docInternalS1Type.subclass: + return docInternalS1Type.subclass(*args_, **kwargs_) + else: + return docInternalS1Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect2(self): return self.sect2 + def set_sect2(self, sect2): self.sect2 = sect2 + def add_sect2(self, value): self.sect2.append(value) + def insert_sect2(self, index, value): self.sect2[index] = value + def export(self, outfile, level, namespace_='', name_='docInternalS1Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docInternalS1Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docInternalS1Type'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docInternalS1Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.para is not None or + self.sect2 is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docInternalS1Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect2': + childobj_ = docSect2Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect2', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docInternalS1Type + + +class docInternalS2Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, para=None, sect3=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docInternalS2Type.subclass: + return docInternalS2Type.subclass(*args_, **kwargs_) + else: + return docInternalS2Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect3(self): return self.sect3 + def set_sect3(self, sect3): self.sect3 = sect3 + def add_sect3(self, value): self.sect3.append(value) + def insert_sect3(self, index, value): self.sect3[index] = value + def export(self, outfile, level, namespace_='', name_='docInternalS2Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docInternalS2Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docInternalS2Type'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docInternalS2Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.para is not None or + self.sect3 is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docInternalS2Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect3': + childobj_ = docSect3Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect3', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docInternalS2Type + + +class docInternalS3Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, para=None, sect3=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docInternalS3Type.subclass: + return docInternalS3Type.subclass(*args_, **kwargs_) + else: + return docInternalS3Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect3(self): return self.sect3 + def set_sect3(self, sect3): self.sect3 = sect3 + def add_sect3(self, value): self.sect3.append(value) + def insert_sect3(self, index, value): self.sect3[index] = value + def export(self, outfile, level, namespace_='', name_='docInternalS3Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docInternalS3Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docInternalS3Type'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docInternalS3Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.para is not None or + self.sect3 is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docInternalS3Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect3': + childobj_ = docSect4Type.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'sect3', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docInternalS3Type + + +class docInternalS4Type(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, para=None, mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docInternalS4Type.subclass: + return docInternalS4Type.subclass(*args_, **kwargs_) + else: + return docInternalS4Type(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def export(self, outfile, level, namespace_='', name_='docInternalS4Type', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docInternalS4Type') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docInternalS4Type'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docInternalS4Type'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.para is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docInternalS4Type'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + childobj_ = docParaType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'para', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docInternalS4Type + + +class docTitleType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_='', mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docTitleType.subclass: + return docTitleType.subclass(*args_, **kwargs_) + else: + return docTitleType(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docTitleType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docTitleType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docTitleType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docTitleType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docTitleType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docTitleType + + +class docParaType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_='', mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docParaType.subclass: + return docParaType.subclass(*args_, **kwargs_) + else: + return docParaType(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docParaType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docParaType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docParaType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docParaType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docParaType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docParaType + + +class docMarkupType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_='', mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docMarkupType.subclass: + return docMarkupType.subclass(*args_, **kwargs_) + else: + return docMarkupType(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docMarkupType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docMarkupType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docMarkupType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docMarkupType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docMarkupType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docMarkupType + + +class docURLLink(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, url=None, valueOf_='', mixedclass_=None, content_=None): + self.url = url + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docURLLink.subclass: + return docURLLink.subclass(*args_, **kwargs_) + else: + return docURLLink(*args_, **kwargs_) + factory = staticmethod(factory) + def get_url(self): return self.url + def set_url(self, url): self.url = url + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docURLLink', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docURLLink') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docURLLink'): + if self.url is not None: + outfile.write(' url=%s' % (self.format_string(quote_attrib(self.url).encode(ExternalEncoding), input_name='url'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docURLLink'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docURLLink'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.url is not None: + showIndent(outfile, level) + outfile.write('url = %s,\n' % (self.url,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('url'): + self.url = attrs.get('url').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docURLLink + + +class docAnchorType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docAnchorType.subclass: + return docAnchorType.subclass(*args_, **kwargs_) + else: + return docAnchorType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_id(self): return self.id + def set_id(self, id): self.id = id + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docAnchorType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docAnchorType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docAnchorType'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docAnchorType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docAnchorType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docAnchorType + + +class docFormulaType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docFormulaType.subclass: + return docFormulaType.subclass(*args_, **kwargs_) + else: + return docFormulaType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_id(self): return self.id + def set_id(self, id): self.id = id + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docFormulaType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docFormulaType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docFormulaType'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docFormulaType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docFormulaType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docFormulaType + + +class docIndexEntryType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, primaryie=None, secondaryie=None): + self.primaryie = primaryie + self.secondaryie = secondaryie + def factory(*args_, **kwargs_): + if docIndexEntryType.subclass: + return docIndexEntryType.subclass(*args_, **kwargs_) + else: + return docIndexEntryType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_primaryie(self): return self.primaryie + def set_primaryie(self, primaryie): self.primaryie = primaryie + def get_secondaryie(self): return self.secondaryie + def set_secondaryie(self, secondaryie): self.secondaryie = secondaryie + def export(self, outfile, level, namespace_='', name_='docIndexEntryType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docIndexEntryType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docIndexEntryType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docIndexEntryType'): + if self.primaryie is not None: + showIndent(outfile, level) + outfile.write('<%sprimaryie>%s\n' % (namespace_, self.format_string(quote_xml(self.primaryie).encode(ExternalEncoding), input_name='primaryie'), namespace_)) + if self.secondaryie is not None: + showIndent(outfile, level) + outfile.write('<%ssecondaryie>%s\n' % (namespace_, self.format_string(quote_xml(self.secondaryie).encode(ExternalEncoding), input_name='secondaryie'), namespace_)) + def hasContent_(self): + if ( + self.primaryie is not None or + self.secondaryie is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docIndexEntryType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('primaryie=%s,\n' % quote_python(self.primaryie).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('secondaryie=%s,\n' % quote_python(self.secondaryie).encode(ExternalEncoding)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'primaryie': + primaryie_ = '' + for text__content_ in child_.childNodes: + primaryie_ += text__content_.nodeValue + self.primaryie = primaryie_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'secondaryie': + secondaryie_ = '' + for text__content_ in child_.childNodes: + secondaryie_ += text__content_.nodeValue + self.secondaryie = secondaryie_ +# end class docIndexEntryType + + +class docListType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, listitem=None): + if listitem is None: + self.listitem = [] + else: + self.listitem = listitem + def factory(*args_, **kwargs_): + if docListType.subclass: + return docListType.subclass(*args_, **kwargs_) + else: + return docListType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_listitem(self): return self.listitem + def set_listitem(self, listitem): self.listitem = listitem + def add_listitem(self, value): self.listitem.append(value) + def insert_listitem(self, index, value): self.listitem[index] = value + def export(self, outfile, level, namespace_='', name_='docListType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docListType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docListType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docListType'): + for listitem_ in self.listitem: + listitem_.export(outfile, level, namespace_, name_='listitem') + def hasContent_(self): + if ( + self.listitem is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docListType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('listitem=[\n') + level += 1 + for listitem in self.listitem: + showIndent(outfile, level) + outfile.write('model_.listitem(\n') + listitem.exportLiteral(outfile, level, name_='listitem') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'listitem': + obj_ = docListItemType.factory() + obj_.build(child_) + self.listitem.append(obj_) +# end class docListType + + +class docListItemType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, para=None): + if para is None: + self.para = [] + else: + self.para = para + def factory(*args_, **kwargs_): + if docListItemType.subclass: + return docListItemType.subclass(*args_, **kwargs_) + else: + return docListItemType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def export(self, outfile, level, namespace_='', name_='docListItemType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docListItemType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docListItemType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docListItemType'): + for para_ in self.para: + para_.export(outfile, level, namespace_, name_='para') + def hasContent_(self): + if ( + self.para is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docListItemType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('para=[\n') + level += 1 + for para in self.para: + showIndent(outfile, level) + outfile.write('model_.para(\n') + para.exportLiteral(outfile, level, name_='para') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + obj_ = docParaType.factory() + obj_.build(child_) + self.para.append(obj_) +# end class docListItemType + + +class docSimpleSectType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, kind=None, title=None, para=None): + self.kind = kind + self.title = title + if para is None: + self.para = [] + else: + self.para = para + def factory(*args_, **kwargs_): + if docSimpleSectType.subclass: + return docSimpleSectType.subclass(*args_, **kwargs_) + else: + return docSimpleSectType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_title(self): return self.title + def set_title(self, title): self.title = title + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def export(self, outfile, level, namespace_='', name_='docSimpleSectType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docSimpleSectType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docSimpleSectType'): + if self.kind is not None: + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + def exportChildren(self, outfile, level, namespace_='', name_='docSimpleSectType'): + if self.title: + self.title.export(outfile, level, namespace_, name_='title') + for para_ in self.para: + para_.export(outfile, level, namespace_, name_='para') + def hasContent_(self): + if ( + self.title is not None or + self.para is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docSimpleSectType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + def exportLiteralChildren(self, outfile, level, name_): + if self.title: + showIndent(outfile, level) + outfile.write('title=model_.docTitleType(\n') + self.title.exportLiteral(outfile, level, name_='title') + showIndent(outfile, level) + outfile.write('),\n') + showIndent(outfile, level) + outfile.write('para=[\n') + level += 1 + for para in self.para: + showIndent(outfile, level) + outfile.write('model_.para(\n') + para.exportLiteral(outfile, level, name_='para') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('kind'): + self.kind = attrs.get('kind').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'title': + obj_ = docTitleType.factory() + obj_.build(child_) + self.set_title(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + obj_ = docParaType.factory() + obj_.build(child_) + self.para.append(obj_) +# end class docSimpleSectType + + +class docVarListEntryType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, term=None): + self.term = term + def factory(*args_, **kwargs_): + if docVarListEntryType.subclass: + return docVarListEntryType.subclass(*args_, **kwargs_) + else: + return docVarListEntryType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_term(self): return self.term + def set_term(self, term): self.term = term + def export(self, outfile, level, namespace_='', name_='docVarListEntryType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docVarListEntryType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docVarListEntryType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docVarListEntryType'): + if self.term: + self.term.export(outfile, level, namespace_, name_='term', ) + def hasContent_(self): + if ( + self.term is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docVarListEntryType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + if self.term: + showIndent(outfile, level) + outfile.write('term=model_.docTitleType(\n') + self.term.exportLiteral(outfile, level, name_='term') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'term': + obj_ = docTitleType.factory() + obj_.build(child_) + self.set_term(obj_) +# end class docVarListEntryType + + +class docVariableListType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if docVariableListType.subclass: + return docVariableListType.subclass(*args_, **kwargs_) + else: + return docVariableListType(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docVariableListType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docVariableListType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docVariableListType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docVariableListType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docVariableListType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docVariableListType + + +class docRefTextType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None): + self.refid = refid + self.kindref = kindref + self.external = external + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docRefTextType.subclass: + return docRefTextType.subclass(*args_, **kwargs_) + else: + return docRefTextType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def get_kindref(self): return self.kindref + def set_kindref(self, kindref): self.kindref = kindref + def get_external(self): return self.external + def set_external(self, external): self.external = external + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docRefTextType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docRefTextType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docRefTextType'): + if self.refid is not None: + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + if self.kindref is not None: + outfile.write(' kindref=%s' % (quote_attrib(self.kindref), )) + if self.external is not None: + outfile.write(' external=%s' % (self.format_string(quote_attrib(self.external).encode(ExternalEncoding), input_name='external'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docRefTextType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docRefTextType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + if self.kindref is not None: + showIndent(outfile, level) + outfile.write('kindref = "%s",\n' % (self.kindref,)) + if self.external is not None: + showIndent(outfile, level) + outfile.write('external = %s,\n' % (self.external,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('refid'): + self.refid = attrs.get('refid').value + if attrs.get('kindref'): + self.kindref = attrs.get('kindref').value + if attrs.get('external'): + self.external = attrs.get('external').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docRefTextType + + +class docTableType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, rows=None, cols=None, row=None, caption=None): + self.rows = rows + self.cols = cols + if row is None: + self.row = [] + else: + self.row = row + self.caption = caption + def factory(*args_, **kwargs_): + if docTableType.subclass: + return docTableType.subclass(*args_, **kwargs_) + else: + return docTableType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_row(self): return self.row + def set_row(self, row): self.row = row + def add_row(self, value): self.row.append(value) + def insert_row(self, index, value): self.row[index] = value + def get_caption(self): return self.caption + def set_caption(self, caption): self.caption = caption + def get_rows(self): return self.rows + def set_rows(self, rows): self.rows = rows + def get_cols(self): return self.cols + def set_cols(self, cols): self.cols = cols + def export(self, outfile, level, namespace_='', name_='docTableType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docTableType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docTableType'): + if self.rows is not None: + outfile.write(' rows="%s"' % self.format_integer(self.rows, input_name='rows')) + if self.cols is not None: + outfile.write(' cols="%s"' % self.format_integer(self.cols, input_name='cols')) + def exportChildren(self, outfile, level, namespace_='', name_='docTableType'): + for row_ in self.row: + row_.export(outfile, level, namespace_, name_='row') + if self.caption: + self.caption.export(outfile, level, namespace_, name_='caption') + def hasContent_(self): + if ( + self.row is not None or + self.caption is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docTableType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.rows is not None: + showIndent(outfile, level) + outfile.write('rows = %s,\n' % (self.rows,)) + if self.cols is not None: + showIndent(outfile, level) + outfile.write('cols = %s,\n' % (self.cols,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('row=[\n') + level += 1 + for row in self.row: + showIndent(outfile, level) + outfile.write('model_.row(\n') + row.exportLiteral(outfile, level, name_='row') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.caption: + showIndent(outfile, level) + outfile.write('caption=model_.docCaptionType(\n') + self.caption.exportLiteral(outfile, level, name_='caption') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('rows'): + try: + self.rows = int(attrs.get('rows').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (rows): %s' % exp) + if attrs.get('cols'): + try: + self.cols = int(attrs.get('cols').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (cols): %s' % exp) + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'row': + obj_ = docRowType.factory() + obj_.build(child_) + self.row.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'caption': + obj_ = docCaptionType.factory() + obj_.build(child_) + self.set_caption(obj_) +# end class docTableType + + +class docRowType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, entry=None): + if entry is None: + self.entry = [] + else: + self.entry = entry + def factory(*args_, **kwargs_): + if docRowType.subclass: + return docRowType.subclass(*args_, **kwargs_) + else: + return docRowType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_entry(self): return self.entry + def set_entry(self, entry): self.entry = entry + def add_entry(self, value): self.entry.append(value) + def insert_entry(self, index, value): self.entry[index] = value + def export(self, outfile, level, namespace_='', name_='docRowType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docRowType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docRowType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docRowType'): + for entry_ in self.entry: + entry_.export(outfile, level, namespace_, name_='entry') + def hasContent_(self): + if ( + self.entry is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docRowType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('entry=[\n') + level += 1 + for entry in self.entry: + showIndent(outfile, level) + outfile.write('model_.entry(\n') + entry.exportLiteral(outfile, level, name_='entry') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'entry': + obj_ = docEntryType.factory() + obj_.build(child_) + self.entry.append(obj_) +# end class docRowType + + +class docEntryType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, thead=None, para=None): + self.thead = thead + if para is None: + self.para = [] + else: + self.para = para + def factory(*args_, **kwargs_): + if docEntryType.subclass: + return docEntryType.subclass(*args_, **kwargs_) + else: + return docEntryType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_thead(self): return self.thead + def set_thead(self, thead): self.thead = thead + def export(self, outfile, level, namespace_='', name_='docEntryType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docEntryType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docEntryType'): + if self.thead is not None: + outfile.write(' thead=%s' % (quote_attrib(self.thead), )) + def exportChildren(self, outfile, level, namespace_='', name_='docEntryType'): + for para_ in self.para: + para_.export(outfile, level, namespace_, name_='para') + def hasContent_(self): + if ( + self.para is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docEntryType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.thead is not None: + showIndent(outfile, level) + outfile.write('thead = "%s",\n' % (self.thead,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('para=[\n') + level += 1 + for para in self.para: + showIndent(outfile, level) + outfile.write('model_.para(\n') + para.exportLiteral(outfile, level, name_='para') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('thead'): + self.thead = attrs.get('thead').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + obj_ = docParaType.factory() + obj_.build(child_) + self.para.append(obj_) +# end class docEntryType + + +class docCaptionType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_='', mixedclass_=None, content_=None): + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docCaptionType.subclass: + return docCaptionType.subclass(*args_, **kwargs_) + else: + return docCaptionType(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docCaptionType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docCaptionType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docCaptionType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docCaptionType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docCaptionType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docCaptionType + + +class docHeadingType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, level=None, valueOf_='', mixedclass_=None, content_=None): + self.level = level + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docHeadingType.subclass: + return docHeadingType.subclass(*args_, **kwargs_) + else: + return docHeadingType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_level(self): return self.level + def set_level(self, level): self.level = level + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docHeadingType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docHeadingType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docHeadingType'): + if self.level is not None: + outfile.write(' level="%s"' % self.format_integer(self.level, input_name='level')) + def exportChildren(self, outfile, level, namespace_='', name_='docHeadingType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docHeadingType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.level is not None: + showIndent(outfile, level) + outfile.write('level = %s,\n' % (self.level,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('level'): + try: + self.level = int(attrs.get('level').value) + except ValueError as exp: + raise ValueError('Bad integer attribute (level): %s' % exp) + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docHeadingType + + +class docImageType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, width=None, type_=None, name=None, height=None, valueOf_='', mixedclass_=None, content_=None): + self.width = width + self.type_ = type_ + self.name = name + self.height = height + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docImageType.subclass: + return docImageType.subclass(*args_, **kwargs_) + else: + return docImageType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_width(self): return self.width + def set_width(self, width): self.width = width + def get_type(self): return self.type_ + def set_type(self, type_): self.type_ = type_ + def get_name(self): return self.name + def set_name(self, name): self.name = name + def get_height(self): return self.height + def set_height(self, height): self.height = height + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docImageType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docImageType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docImageType'): + if self.width is not None: + outfile.write(' width=%s' % (self.format_string(quote_attrib(self.width).encode(ExternalEncoding), input_name='width'), )) + if self.type_ is not None: + outfile.write(' type=%s' % (quote_attrib(self.type_), )) + if self.name is not None: + outfile.write(' name=%s' % (self.format_string(quote_attrib(self.name).encode(ExternalEncoding), input_name='name'), )) + if self.height is not None: + outfile.write(' height=%s' % (self.format_string(quote_attrib(self.height).encode(ExternalEncoding), input_name='height'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docImageType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docImageType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.width is not None: + showIndent(outfile, level) + outfile.write('width = %s,\n' % (self.width,)) + if self.type_ is not None: + showIndent(outfile, level) + outfile.write('type_ = "%s",\n' % (self.type_,)) + if self.name is not None: + showIndent(outfile, level) + outfile.write('name = %s,\n' % (self.name,)) + if self.height is not None: + showIndent(outfile, level) + outfile.write('height = %s,\n' % (self.height,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('width'): + self.width = attrs.get('width').value + if attrs.get('type'): + self.type_ = attrs.get('type').value + if attrs.get('name'): + self.name = attrs.get('name').value + if attrs.get('height'): + self.height = attrs.get('height').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docImageType + + +class docDotFileType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, name=None, valueOf_='', mixedclass_=None, content_=None): + self.name = name + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docDotFileType.subclass: + return docDotFileType.subclass(*args_, **kwargs_) + else: + return docDotFileType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_name(self): return self.name + def set_name(self, name): self.name = name + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docDotFileType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docDotFileType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docDotFileType'): + if self.name is not None: + outfile.write(' name=%s' % (self.format_string(quote_attrib(self.name).encode(ExternalEncoding), input_name='name'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docDotFileType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docDotFileType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.name is not None: + showIndent(outfile, level) + outfile.write('name = %s,\n' % (self.name,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('name'): + self.name = attrs.get('name').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docDotFileType + + +class docTocItemType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None): + self.id = id + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docTocItemType.subclass: + return docTocItemType.subclass(*args_, **kwargs_) + else: + return docTocItemType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_id(self): return self.id + def set_id(self, id): self.id = id + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docTocItemType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docTocItemType') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docTocItemType'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docTocItemType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docTocItemType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docTocItemType + + +class docTocListType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, tocitem=None): + if tocitem is None: + self.tocitem = [] + else: + self.tocitem = tocitem + def factory(*args_, **kwargs_): + if docTocListType.subclass: + return docTocListType.subclass(*args_, **kwargs_) + else: + return docTocListType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_tocitem(self): return self.tocitem + def set_tocitem(self, tocitem): self.tocitem = tocitem + def add_tocitem(self, value): self.tocitem.append(value) + def insert_tocitem(self, index, value): self.tocitem[index] = value + def export(self, outfile, level, namespace_='', name_='docTocListType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docTocListType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docTocListType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docTocListType'): + for tocitem_ in self.tocitem: + tocitem_.export(outfile, level, namespace_, name_='tocitem') + def hasContent_(self): + if ( + self.tocitem is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docTocListType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('tocitem=[\n') + level += 1 + for tocitem in self.tocitem: + showIndent(outfile, level) + outfile.write('model_.tocitem(\n') + tocitem.exportLiteral(outfile, level, name_='tocitem') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'tocitem': + obj_ = docTocItemType.factory() + obj_.build(child_) + self.tocitem.append(obj_) +# end class docTocListType + + +class docLanguageType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, langid=None, para=None): + self.langid = langid + if para is None: + self.para = [] + else: + self.para = para + def factory(*args_, **kwargs_): + if docLanguageType.subclass: + return docLanguageType.subclass(*args_, **kwargs_) + else: + return docLanguageType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_langid(self): return self.langid + def set_langid(self, langid): self.langid = langid + def export(self, outfile, level, namespace_='', name_='docLanguageType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docLanguageType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docLanguageType'): + if self.langid is not None: + outfile.write(' langid=%s' % (self.format_string(quote_attrib(self.langid).encode(ExternalEncoding), input_name='langid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docLanguageType'): + for para_ in self.para: + para_.export(outfile, level, namespace_, name_='para') + def hasContent_(self): + if ( + self.para is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docLanguageType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.langid is not None: + showIndent(outfile, level) + outfile.write('langid = %s,\n' % (self.langid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('para=[\n') + level += 1 + for para in self.para: + showIndent(outfile, level) + outfile.write('model_.para(\n') + para.exportLiteral(outfile, level, name_='para') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('langid'): + self.langid = attrs.get('langid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + obj_ = docParaType.factory() + obj_.build(child_) + self.para.append(obj_) +# end class docLanguageType + + +class docParamListType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, kind=None, parameteritem=None): + self.kind = kind + if parameteritem is None: + self.parameteritem = [] + else: + self.parameteritem = parameteritem + def factory(*args_, **kwargs_): + if docParamListType.subclass: + return docParamListType.subclass(*args_, **kwargs_) + else: + return docParamListType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_parameteritem(self): return self.parameteritem + def set_parameteritem(self, parameteritem): self.parameteritem = parameteritem + def add_parameteritem(self, value): self.parameteritem.append(value) + def insert_parameteritem(self, index, value): self.parameteritem[index] = value + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def export(self, outfile, level, namespace_='', name_='docParamListType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docParamListType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docParamListType'): + if self.kind is not None: + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + def exportChildren(self, outfile, level, namespace_='', name_='docParamListType'): + for parameteritem_ in self.parameteritem: + parameteritem_.export(outfile, level, namespace_, name_='parameteritem') + def hasContent_(self): + if ( + self.parameteritem is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docParamListType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('parameteritem=[\n') + level += 1 + for parameteritem in self.parameteritem: + showIndent(outfile, level) + outfile.write('model_.parameteritem(\n') + parameteritem.exportLiteral(outfile, level, name_='parameteritem') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('kind'): + self.kind = attrs.get('kind').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'parameteritem': + obj_ = docParamListItem.factory() + obj_.build(child_) + self.parameteritem.append(obj_) +# end class docParamListType + + +class docParamListItem(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, parameternamelist=None, parameterdescription=None): + if parameternamelist is None: + self.parameternamelist = [] + else: + self.parameternamelist = parameternamelist + self.parameterdescription = parameterdescription + def factory(*args_, **kwargs_): + if docParamListItem.subclass: + return docParamListItem.subclass(*args_, **kwargs_) + else: + return docParamListItem(*args_, **kwargs_) + factory = staticmethod(factory) + def get_parameternamelist(self): return self.parameternamelist + def set_parameternamelist(self, parameternamelist): self.parameternamelist = parameternamelist + def add_parameternamelist(self, value): self.parameternamelist.append(value) + def insert_parameternamelist(self, index, value): self.parameternamelist[index] = value + def get_parameterdescription(self): return self.parameterdescription + def set_parameterdescription(self, parameterdescription): self.parameterdescription = parameterdescription + def export(self, outfile, level, namespace_='', name_='docParamListItem', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docParamListItem') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docParamListItem'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docParamListItem'): + for parameternamelist_ in self.parameternamelist: + parameternamelist_.export(outfile, level, namespace_, name_='parameternamelist') + if self.parameterdescription: + self.parameterdescription.export(outfile, level, namespace_, name_='parameterdescription', ) + def hasContent_(self): + if ( + self.parameternamelist is not None or + self.parameterdescription is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docParamListItem'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('parameternamelist=[\n') + level += 1 + for parameternamelist in self.parameternamelist: + showIndent(outfile, level) + outfile.write('model_.parameternamelist(\n') + parameternamelist.exportLiteral(outfile, level, name_='parameternamelist') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.parameterdescription: + showIndent(outfile, level) + outfile.write('parameterdescription=model_.descriptionType(\n') + self.parameterdescription.exportLiteral(outfile, level, name_='parameterdescription') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'parameternamelist': + obj_ = docParamNameList.factory() + obj_.build(child_) + self.parameternamelist.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'parameterdescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_parameterdescription(obj_) +# end class docParamListItem + + +class docParamNameList(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, parametername=None): + if parametername is None: + self.parametername = [] + else: + self.parametername = parametername + def factory(*args_, **kwargs_): + if docParamNameList.subclass: + return docParamNameList.subclass(*args_, **kwargs_) + else: + return docParamNameList(*args_, **kwargs_) + factory = staticmethod(factory) + def get_parametername(self): return self.parametername + def set_parametername(self, parametername): self.parametername = parametername + def add_parametername(self, value): self.parametername.append(value) + def insert_parametername(self, index, value): self.parametername[index] = value + def export(self, outfile, level, namespace_='', name_='docParamNameList', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docParamNameList') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docParamNameList'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docParamNameList'): + for parametername_ in self.parametername: + parametername_.export(outfile, level, namespace_, name_='parametername') + def hasContent_(self): + if ( + self.parametername is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docParamNameList'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('parametername=[\n') + level += 1 + for parametername in self.parametername: + showIndent(outfile, level) + outfile.write('model_.parametername(\n') + parametername.exportLiteral(outfile, level, name_='parametername') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'parametername': + obj_ = docParamName.factory() + obj_.build(child_) + self.parametername.append(obj_) +# end class docParamNameList + + +class docParamName(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, direction=None, ref=None, mixedclass_=None, content_=None): + self.direction = direction + if mixedclass_ is None: + self.mixedclass_ = MixedContainer + else: + self.mixedclass_ = mixedclass_ + if content_ is None: + self.content_ = [] + else: + self.content_ = content_ + def factory(*args_, **kwargs_): + if docParamName.subclass: + return docParamName.subclass(*args_, **kwargs_) + else: + return docParamName(*args_, **kwargs_) + factory = staticmethod(factory) + def get_ref(self): return self.ref + def set_ref(self, ref): self.ref = ref + def get_direction(self): return self.direction + def set_direction(self, direction): self.direction = direction + def export(self, outfile, level, namespace_='', name_='docParamName', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docParamName') + outfile.write('>') + self.exportChildren(outfile, level + 1, namespace_, name_) + outfile.write('\n' % (namespace_, name_)) + def exportAttributes(self, outfile, level, namespace_='', name_='docParamName'): + if self.direction is not None: + outfile.write(' direction=%s' % (quote_attrib(self.direction), )) + def exportChildren(self, outfile, level, namespace_='', name_='docParamName'): + for item_ in self.content_: + item_.export(outfile, level, item_.name, namespace_) + def hasContent_(self): + if ( + self.ref is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docParamName'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.direction is not None: + showIndent(outfile, level) + outfile.write('direction = "%s",\n' % (self.direction,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('content_ = [\n') + for item_ in self.content_: + item_.exportLiteral(outfile, level, name_) + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('direction'): + self.direction = attrs.get('direction').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'ref': + childobj_ = docRefTextType.factory() + childobj_.build(child_) + obj_ = self.mixedclass_(MixedContainer.CategoryComplex, + MixedContainer.TypeNone, 'ref', childobj_) + self.content_.append(obj_) + elif child_.nodeType == Node.TEXT_NODE: + obj_ = self.mixedclass_(MixedContainer.CategoryText, + MixedContainer.TypeNone, '', child_.nodeValue) + self.content_.append(obj_) +# end class docParamName + + +class docXRefSectType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, id=None, xreftitle=None, xrefdescription=None): + self.id = id + if xreftitle is None: + self.xreftitle = [] + else: + self.xreftitle = xreftitle + self.xrefdescription = xrefdescription + def factory(*args_, **kwargs_): + if docXRefSectType.subclass: + return docXRefSectType.subclass(*args_, **kwargs_) + else: + return docXRefSectType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_xreftitle(self): return self.xreftitle + def set_xreftitle(self, xreftitle): self.xreftitle = xreftitle + def add_xreftitle(self, value): self.xreftitle.append(value) + def insert_xreftitle(self, index, value): self.xreftitle[index] = value + def get_xrefdescription(self): return self.xrefdescription + def set_xrefdescription(self, xrefdescription): self.xrefdescription = xrefdescription + def get_id(self): return self.id + def set_id(self, id): self.id = id + def export(self, outfile, level, namespace_='', name_='docXRefSectType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docXRefSectType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docXRefSectType'): + if self.id is not None: + outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docXRefSectType'): + for xreftitle_ in self.xreftitle: + showIndent(outfile, level) + outfile.write('<%sxreftitle>%s\n' % (namespace_, self.format_string(quote_xml(xreftitle_).encode(ExternalEncoding), input_name='xreftitle'), namespace_)) + if self.xrefdescription: + self.xrefdescription.export(outfile, level, namespace_, name_='xrefdescription', ) + def hasContent_(self): + if ( + self.xreftitle is not None or + self.xrefdescription is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docXRefSectType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.id is not None: + showIndent(outfile, level) + outfile.write('id = %s,\n' % (self.id,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('xreftitle=[\n') + level += 1 + for xreftitle in self.xreftitle: + showIndent(outfile, level) + outfile.write('%s,\n' % quote_python(xreftitle).encode(ExternalEncoding)) + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.xrefdescription: + showIndent(outfile, level) + outfile.write('xrefdescription=model_.descriptionType(\n') + self.xrefdescription.exportLiteral(outfile, level, name_='xrefdescription') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('id'): + self.id = attrs.get('id').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'xreftitle': + xreftitle_ = '' + for text__content_ in child_.childNodes: + xreftitle_ += text__content_.nodeValue + self.xreftitle.append(xreftitle_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'xrefdescription': + obj_ = descriptionType.factory() + obj_.build(child_) + self.set_xrefdescription(obj_) +# end class docXRefSectType + + +class docCopyType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, link=None, para=None, sect1=None, internal=None): + self.link = link + if para is None: + self.para = [] + else: + self.para = para + if sect1 is None: + self.sect1 = [] + else: + self.sect1 = sect1 + self.internal = internal + def factory(*args_, **kwargs_): + if docCopyType.subclass: + return docCopyType.subclass(*args_, **kwargs_) + else: + return docCopyType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_para(self): return self.para + def set_para(self, para): self.para = para + def add_para(self, value): self.para.append(value) + def insert_para(self, index, value): self.para[index] = value + def get_sect1(self): return self.sect1 + def set_sect1(self, sect1): self.sect1 = sect1 + def add_sect1(self, value): self.sect1.append(value) + def insert_sect1(self, index, value): self.sect1[index] = value + def get_internal(self): return self.internal + def set_internal(self, internal): self.internal = internal + def get_link(self): return self.link + def set_link(self, link): self.link = link + def export(self, outfile, level, namespace_='', name_='docCopyType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docCopyType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docCopyType'): + if self.link is not None: + outfile.write(' link=%s' % (self.format_string(quote_attrib(self.link).encode(ExternalEncoding), input_name='link'), )) + def exportChildren(self, outfile, level, namespace_='', name_='docCopyType'): + for para_ in self.para: + para_.export(outfile, level, namespace_, name_='para') + for sect1_ in self.sect1: + sect1_.export(outfile, level, namespace_, name_='sect1') + if self.internal: + self.internal.export(outfile, level, namespace_, name_='internal') + def hasContent_(self): + if ( + self.para is not None or + self.sect1 is not None or + self.internal is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docCopyType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.link is not None: + showIndent(outfile, level) + outfile.write('link = %s,\n' % (self.link,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('para=[\n') + level += 1 + for para in self.para: + showIndent(outfile, level) + outfile.write('model_.para(\n') + para.exportLiteral(outfile, level, name_='para') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + showIndent(outfile, level) + outfile.write('sect1=[\n') + level += 1 + for sect1 in self.sect1: + showIndent(outfile, level) + outfile.write('model_.sect1(\n') + sect1.exportLiteral(outfile, level, name_='sect1') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + if self.internal: + showIndent(outfile, level) + outfile.write('internal=model_.docInternalType(\n') + self.internal.exportLiteral(outfile, level, name_='internal') + showIndent(outfile, level) + outfile.write('),\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('link'): + self.link = attrs.get('link').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'para': + obj_ = docParaType.factory() + obj_.build(child_) + self.para.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'sect1': + obj_ = docSect1Type.factory() + obj_.build(child_) + self.sect1.append(obj_) + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'internal': + obj_ = docInternalType.factory() + obj_.build(child_) + self.set_internal(obj_) +# end class docCopyType + + +class docCharType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, char=None, valueOf_=''): + self.char = char + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if docCharType.subclass: + return docCharType.subclass(*args_, **kwargs_) + else: + return docCharType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_char(self): return self.char + def set_char(self, char): self.char = char + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docCharType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docCharType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docCharType'): + if self.char is not None: + outfile.write(' char=%s' % (quote_attrib(self.char), )) + def exportChildren(self, outfile, level, namespace_='', name_='docCharType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docCharType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.char is not None: + showIndent(outfile, level) + outfile.write('char = "%s",\n' % (self.char,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('char'): + self.char = attrs.get('char').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docCharType + + +class docEmptyType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, valueOf_=''): + self.valueOf_ = valueOf_ + def factory(*args_, **kwargs_): + if docEmptyType.subclass: + return docEmptyType.subclass(*args_, **kwargs_) + else: + return docEmptyType(*args_, **kwargs_) + factory = staticmethod(factory) + def getValueOf_(self): return self.valueOf_ + def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_ + def export(self, outfile, level, namespace_='', name_='docEmptyType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='docEmptyType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='docEmptyType'): + pass + def exportChildren(self, outfile, level, namespace_='', name_='docEmptyType'): + if self.valueOf_.find('![CDATA')>-1: + value=quote_xml('%s' % self.valueOf_) + value=value.replace('![CDATA','') + outfile.write(value) + else: + outfile.write(quote_xml('%s' % self.valueOf_)) + def hasContent_(self): + if ( + self.valueOf_ is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='docEmptyType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + pass + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + self.valueOf_ = '' + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + pass + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.TEXT_NODE: + self.valueOf_ += child_.nodeValue + elif child_.nodeType == Node.CDATA_SECTION_NODE: + self.valueOf_ += '![CDATA['+child_.nodeValue+']]' +# end class docEmptyType + + +USAGE_TEXT = """ +Usage: python .py [ -s ] +Options: + -s Use the SAX parser, not the minidom parser. +""" + +def usage(): + print(USAGE_TEXT) + sys.exit(1) + + +def parse(inFileName): + doc = minidom.parse(inFileName) + rootNode = doc.documentElement + rootObj = DoxygenType.factory() + rootObj.build(rootNode) + # Enable Python to collect the space used by the DOM. + doc = None + sys.stdout.write('\n') + rootObj.export(sys.stdout, 0, name_="doxygen", + namespacedef_='') + return rootObj + + +def parseString(inString): + doc = minidom.parseString(inString) + rootNode = doc.documentElement + rootObj = DoxygenType.factory() + rootObj.build(rootNode) + # Enable Python to collect the space used by the DOM. + doc = None + sys.stdout.write('\n') + rootObj.export(sys.stdout, 0, name_="doxygen", + namespacedef_='') + return rootObj + + +def parseLiteral(inFileName): + doc = minidom.parse(inFileName) + rootNode = doc.documentElement + rootObj = DoxygenType.factory() + rootObj.build(rootNode) + # Enable Python to collect the space used by the DOM. + doc = None + sys.stdout.write('from compound import *\n\n') + sys.stdout.write('rootObj = doxygen(\n') + rootObj.exportLiteral(sys.stdout, 0, name_="doxygen") + sys.stdout.write(')\n') + return rootObj + + +def main(): + args = sys.argv[1:] + if len(args) == 1: + parse(args[0]) + else: + usage() + + +if __name__ == '__main__': + main() + #import pdb + #pdb.run('main()') diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/index.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/index.py new file mode 100644 index 0000000..0c63512 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/index.py @@ -0,0 +1,79 @@ +#!/usr/bin/env python + +""" +Generated Mon Feb 9 19:08:05 2009 by generateDS.py. +""" +from __future__ import absolute_import +from __future__ import unicode_literals + +from xml.dom import minidom + +import os +import sys +from . import compound + +from . import indexsuper as supermod + +class DoxygenTypeSub(supermod.DoxygenType): + def __init__(self, version=None, compound=None): + supermod.DoxygenType.__init__(self, version, compound) + + def find_compounds_and_members(self, details): + """ + Returns a list of all compounds and their members which match details + """ + + results = [] + for compound in self.compound: + members = compound.find_members(details) + if members: + results.append([compound, members]) + else: + if details.match(compound): + results.append([compound, []]) + + return results + +supermod.DoxygenType.subclass = DoxygenTypeSub +# end class DoxygenTypeSub + + +class CompoundTypeSub(supermod.CompoundType): + def __init__(self, kind=None, refid=None, name='', member=None): + supermod.CompoundType.__init__(self, kind, refid, name, member) + + def find_members(self, details): + """ + Returns a list of all members which match details + """ + + results = [] + + for member in self.member: + if details.match(member): + results.append(member) + + return results + +supermod.CompoundType.subclass = CompoundTypeSub +# end class CompoundTypeSub + + +class MemberTypeSub(supermod.MemberType): + + def __init__(self, kind=None, refid=None, name=''): + supermod.MemberType.__init__(self, kind, refid, name) + +supermod.MemberType.subclass = MemberTypeSub +# end class MemberTypeSub + + +def parse(inFilename): + + doc = minidom.parse(inFilename) + rootNode = doc.documentElement + rootObj = supermod.DoxygenType.factory() + rootObj.build(rootNode) + + return rootObj + diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/indexsuper.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/indexsuper.py new file mode 100644 index 0000000..11312db --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/generated/indexsuper.py @@ -0,0 +1,526 @@ +#!/usr/bin/env python + +# +# Generated Thu Jun 11 18:43:54 2009 by generateDS.py. +# + +from __future__ import print_function +from __future__ import unicode_literals + +import sys + +from xml.dom import minidom +from xml.dom import Node + +import six + +# +# User methods +# +# Calls to the methods in these classes are generated by generateDS.py. +# You can replace these methods by re-implementing the following class +# in a module named generatedssuper.py. + +try: + from generatedssuper import GeneratedsSuper +except ImportError as exp: + + class GeneratedsSuper(object): + def format_string(self, input_data, input_name=''): + return input_data + def format_integer(self, input_data, input_name=''): + return '%d' % input_data + def format_float(self, input_data, input_name=''): + return '%f' % input_data + def format_double(self, input_data, input_name=''): + return '%e' % input_data + def format_boolean(self, input_data, input_name=''): + return '%s' % input_data + + +# +# If you have installed IPython you can uncomment and use the following. +# IPython is available from http://ipython.scipy.org/. +# + +## from IPython.Shell import IPShellEmbed +## args = '' +## ipshell = IPShellEmbed(args, +## banner = 'Dropping into IPython', +## exit_msg = 'Leaving Interpreter, back to program.') + +# Then use the following line where and when you want to drop into the +# IPython shell: +# ipshell(' -- Entering ipshell.\nHit Ctrl-D to exit') + +# +# Globals +# + +ExternalEncoding = 'ascii' + +# +# Support/utility functions. +# + +def showIndent(outfile, level): + for idx in range(level): + outfile.write(' ') + +def quote_xml(inStr): + s1 = (isinstance(inStr, six.string_types) and inStr or + '%s' % inStr) + s1 = s1.replace('&', '&') + s1 = s1.replace('<', '<') + s1 = s1.replace('>', '>') + return s1 + +def quote_attrib(inStr): + s1 = (isinstance(inStr, six.string_types) and inStr or + '%s' % inStr) + s1 = s1.replace('&', '&') + s1 = s1.replace('<', '<') + s1 = s1.replace('>', '>') + if '"' in s1: + if "'" in s1: + s1 = '"%s"' % s1.replace('"', """) + else: + s1 = "'%s'" % s1 + else: + s1 = '"%s"' % s1 + return s1 + +def quote_python(inStr): + s1 = inStr + if s1.find("'") == -1: + if s1.find('\n') == -1: + return "'%s'" % s1 + else: + return "'''%s'''" % s1 + else: + if s1.find('"') != -1: + s1 = s1.replace('"', '\\"') + if s1.find('\n') == -1: + return '"%s"' % s1 + else: + return '"""%s"""' % s1 + + +class MixedContainer(object): + # Constants for category: + CategoryNone = 0 + CategoryText = 1 + CategorySimple = 2 + CategoryComplex = 3 + # Constants for content_type: + TypeNone = 0 + TypeText = 1 + TypeString = 2 + TypeInteger = 3 + TypeFloat = 4 + TypeDecimal = 5 + TypeDouble = 6 + TypeBoolean = 7 + def __init__(self, category, content_type, name, value): + self.category = category + self.content_type = content_type + self.name = name + self.value = value + def getCategory(self): + return self.category + def getContenttype(self, content_type): + return self.content_type + def getValue(self): + return self.value + def getName(self): + return self.name + def export(self, outfile, level, name, namespace): + if self.category == MixedContainer.CategoryText: + outfile.write(self.value) + elif self.category == MixedContainer.CategorySimple: + self.exportSimple(outfile, level, name) + else: # category == MixedContainer.CategoryComplex + self.value.export(outfile, level, namespace,name) + def exportSimple(self, outfile, level, name): + if self.content_type == MixedContainer.TypeString: + outfile.write('<%s>%s' % (self.name, self.value, self.name)) + elif self.content_type == MixedContainer.TypeInteger or \ + self.content_type == MixedContainer.TypeBoolean: + outfile.write('<%s>%d' % (self.name, self.value, self.name)) + elif self.content_type == MixedContainer.TypeFloat or \ + self.content_type == MixedContainer.TypeDecimal: + outfile.write('<%s>%f' % (self.name, self.value, self.name)) + elif self.content_type == MixedContainer.TypeDouble: + outfile.write('<%s>%g' % (self.name, self.value, self.name)) + def exportLiteral(self, outfile, level, name): + if self.category == MixedContainer.CategoryText: + showIndent(outfile, level) + outfile.write('MixedContainer(%d, %d, "%s", "%s"),\n' % \ + (self.category, self.content_type, self.name, self.value)) + elif self.category == MixedContainer.CategorySimple: + showIndent(outfile, level) + outfile.write('MixedContainer(%d, %d, "%s", "%s"),\n' % \ + (self.category, self.content_type, self.name, self.value)) + else: # category == MixedContainer.CategoryComplex + showIndent(outfile, level) + outfile.write('MixedContainer(%d, %d, "%s",\n' % \ + (self.category, self.content_type, self.name,)) + self.value.exportLiteral(outfile, level + 1) + showIndent(outfile, level) + outfile.write(')\n') + + +class _MemberSpec(object): + def __init__(self, name='', data_type='', container=0): + self.name = name + self.data_type = data_type + self.container = container + def set_name(self, name): self.name = name + def get_name(self): return self.name + def set_data_type(self, data_type): self.data_type = data_type + def get_data_type(self): return self.data_type + def set_container(self, container): self.container = container + def get_container(self): return self.container + + +# +# Data representation classes. +# + +class DoxygenType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, version=None, compound=None): + self.version = version + if compound is None: + self.compound = [] + else: + self.compound = compound + def factory(*args_, **kwargs_): + if DoxygenType.subclass: + return DoxygenType.subclass(*args_, **kwargs_) + else: + return DoxygenType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_compound(self): return self.compound + def set_compound(self, compound): self.compound = compound + def add_compound(self, value): self.compound.append(value) + def insert_compound(self, index, value): self.compound[index] = value + def get_version(self): return self.version + def set_version(self, version): self.version = version + def export(self, outfile, level, namespace_='', name_='DoxygenType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='DoxygenType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='DoxygenType'): + outfile.write(' version=%s' % (self.format_string(quote_attrib(self.version).encode(ExternalEncoding), input_name='version'), )) + def exportChildren(self, outfile, level, namespace_='', name_='DoxygenType'): + for compound_ in self.compound: + compound_.export(outfile, level, namespace_, name_='compound') + def hasContent_(self): + if ( + self.compound is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='DoxygenType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.version is not None: + showIndent(outfile, level) + outfile.write('version = %s,\n' % (self.version,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('compound=[\n') + level += 1 + for compound in self.compound: + showIndent(outfile, level) + outfile.write('model_.compound(\n') + compound.exportLiteral(outfile, level, name_='compound') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('version'): + self.version = attrs.get('version').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'compound': + obj_ = CompoundType.factory() + obj_.build(child_) + self.compound.append(obj_) +# end class DoxygenType + + +class CompoundType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, kind=None, refid=None, name=None, member=None): + self.kind = kind + self.refid = refid + self.name = name + if member is None: + self.member = [] + else: + self.member = member + def factory(*args_, **kwargs_): + if CompoundType.subclass: + return CompoundType.subclass(*args_, **kwargs_) + else: + return CompoundType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_name(self): return self.name + def set_name(self, name): self.name = name + def get_member(self): return self.member + def set_member(self, member): self.member = member + def add_member(self, value): self.member.append(value) + def insert_member(self, index, value): self.member[index] = value + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def export(self, outfile, level, namespace_='', name_='CompoundType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='CompoundType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='CompoundType'): + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='CompoundType'): + if self.name is not None: + showIndent(outfile, level) + outfile.write('<%sname>%s\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_)) + for member_ in self.member: + member_.export(outfile, level, namespace_, name_='member') + def hasContent_(self): + if ( + self.name is not None or + self.member is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='CompoundType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('name=%s,\n' % quote_python(self.name).encode(ExternalEncoding)) + showIndent(outfile, level) + outfile.write('member=[\n') + level += 1 + for member in self.member: + showIndent(outfile, level) + outfile.write('model_.member(\n') + member.exportLiteral(outfile, level, name_='member') + showIndent(outfile, level) + outfile.write('),\n') + level -= 1 + showIndent(outfile, level) + outfile.write('],\n') + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('kind'): + self.kind = attrs.get('kind').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'name': + name_ = '' + for text__content_ in child_.childNodes: + name_ += text__content_.nodeValue + self.name = name_ + elif child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'member': + obj_ = MemberType.factory() + obj_.build(child_) + self.member.append(obj_) +# end class CompoundType + + +class MemberType(GeneratedsSuper): + subclass = None + superclass = None + def __init__(self, kind=None, refid=None, name=None): + self.kind = kind + self.refid = refid + self.name = name + def factory(*args_, **kwargs_): + if MemberType.subclass: + return MemberType.subclass(*args_, **kwargs_) + else: + return MemberType(*args_, **kwargs_) + factory = staticmethod(factory) + def get_name(self): return self.name + def set_name(self, name): self.name = name + def get_kind(self): return self.kind + def set_kind(self, kind): self.kind = kind + def get_refid(self): return self.refid + def set_refid(self, refid): self.refid = refid + def export(self, outfile, level, namespace_='', name_='MemberType', namespacedef_=''): + showIndent(outfile, level) + outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, )) + self.exportAttributes(outfile, level, namespace_, name_='MemberType') + if self.hasContent_(): + outfile.write('>\n') + self.exportChildren(outfile, level + 1, namespace_, name_) + showIndent(outfile, level) + outfile.write('\n' % (namespace_, name_)) + else: + outfile.write(' />\n') + def exportAttributes(self, outfile, level, namespace_='', name_='MemberType'): + outfile.write(' kind=%s' % (quote_attrib(self.kind), )) + outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), )) + def exportChildren(self, outfile, level, namespace_='', name_='MemberType'): + if self.name is not None: + showIndent(outfile, level) + outfile.write('<%sname>%s\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_)) + def hasContent_(self): + if ( + self.name is not None + ): + return True + else: + return False + def exportLiteral(self, outfile, level, name_='MemberType'): + level += 1 + self.exportLiteralAttributes(outfile, level, name_) + if self.hasContent_(): + self.exportLiteralChildren(outfile, level, name_) + def exportLiteralAttributes(self, outfile, level, name_): + if self.kind is not None: + showIndent(outfile, level) + outfile.write('kind = "%s",\n' % (self.kind,)) + if self.refid is not None: + showIndent(outfile, level) + outfile.write('refid = %s,\n' % (self.refid,)) + def exportLiteralChildren(self, outfile, level, name_): + showIndent(outfile, level) + outfile.write('name=%s,\n' % quote_python(self.name).encode(ExternalEncoding)) + def build(self, node_): + attrs = node_.attributes + self.buildAttributes(attrs) + for child_ in node_.childNodes: + nodeName_ = child_.nodeName.split(':')[-1] + self.buildChildren(child_, nodeName_) + def buildAttributes(self, attrs): + if attrs.get('kind'): + self.kind = attrs.get('kind').value + if attrs.get('refid'): + self.refid = attrs.get('refid').value + def buildChildren(self, child_, nodeName_): + if child_.nodeType == Node.ELEMENT_NODE and \ + nodeName_ == 'name': + name_ = '' + for text__content_ in child_.childNodes: + name_ += text__content_.nodeValue + self.name = name_ +# end class MemberType + + +USAGE_TEXT = """ +Usage: python .py [ -s ] +Options: + -s Use the SAX parser, not the minidom parser. +""" + +def usage(): + print(USAGE_TEXT) + sys.exit(1) + + +def parse(inFileName): + doc = minidom.parse(inFileName) + rootNode = doc.documentElement + rootObj = DoxygenType.factory() + rootObj.build(rootNode) + # Enable Python to collect the space used by the DOM. + doc = None + sys.stdout.write('\n') + rootObj.export(sys.stdout, 0, name_="doxygenindex", + namespacedef_='') + return rootObj + + +def parseString(inString): + doc = minidom.parseString(inString) + rootNode = doc.documentElement + rootObj = DoxygenType.factory() + rootObj.build(rootNode) + # Enable Python to collect the space used by the DOM. + doc = None + sys.stdout.write('\n') + rootObj.export(sys.stdout, 0, name_="doxygenindex", + namespacedef_='') + return rootObj + + +def parseLiteral(inFileName): + doc = minidom.parse(inFileName) + rootNode = doc.documentElement + rootObj = DoxygenType.factory() + rootObj.build(rootNode) + # Enable Python to collect the space used by the DOM. + doc = None + sys.stdout.write('from index import *\n\n') + sys.stdout.write('rootObj = doxygenindex(\n') + rootObj.exportLiteral(sys.stdout, 0, name_="doxygenindex") + sys.stdout.write(')\n') + return rootObj + + +def main(): + args = sys.argv[1:] + if len(args) == 1: + parse(args[0]) + else: + usage() + + + + +if __name__ == '__main__': + main() + #import pdb + #pdb.run('main()') diff --git a/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/text.py b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/text.py new file mode 100644 index 0000000..893e35b --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/doxyxml/text.py @@ -0,0 +1,58 @@ +# +# Copyright 2010 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +""" +Utilities for extracting text from generated classes. +""" +from __future__ import unicode_literals + +def is_string(txt): + if isinstance(txt, str): + return True + try: + if isinstance(txt, str): + return True + except NameError: + pass + return False + +def description(obj): + if obj is None: + return None + return description_bit(obj).strip() + +def description_bit(obj): + if hasattr(obj, 'content'): + contents = [description_bit(item) for item in obj.content] + result = ''.join(contents) + elif hasattr(obj, 'content_'): + contents = [description_bit(item) for item in obj.content_] + result = ''.join(contents) + elif hasattr(obj, 'value'): + result = description_bit(obj.value) + elif is_string(obj): + return obj + else: + raise Exception('Expecting a string or something with content, content_ or value attribute') + # If this bit is a paragraph then add one some line breaks. + if hasattr(obj, 'name') and obj.name == 'para': + result += "\n\n" + return result diff --git a/gnuradio/gr-grsksdr/docs/doxygen/other/group_defs.dox b/gnuradio/gr-grsksdr/docs/doxygen/other/group_defs.dox new file mode 100644 index 0000000..e709a05 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/other/group_defs.dox @@ -0,0 +1,7 @@ +/*! + * \defgroup block GNU Radio GRSKSDR C++ Signal Processing Blocks + * \brief All C++ blocks that can be used from the GRSKSDR GNU Radio + * module are listed here or in the subcategories below. + * + */ + diff --git a/gnuradio/gr-grsksdr/docs/doxygen/other/main_page.dox b/gnuradio/gr-grsksdr/docs/doxygen/other/main_page.dox new file mode 100644 index 0000000..3bc9bba --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/other/main_page.dox @@ -0,0 +1,10 @@ +/*! \mainpage + +Welcome to the GNU Radio GRSKSDR Block + +This is the intro page for the Doxygen manual generated for the GRSKSDR +block (docs/doxygen/other/main_page.dox). Edit it to add more detailed +documentation about the new GNU Radio modules contained in this +project. + +*/ diff --git a/gnuradio/gr-grsksdr/docs/doxygen/swig_doc.py b/gnuradio/gr-grsksdr/docs/doxygen/swig_doc.py new file mode 100644 index 0000000..45d64d3 --- /dev/null +++ b/gnuradio/gr-grsksdr/docs/doxygen/swig_doc.py @@ -0,0 +1,332 @@ +# +# Copyright 2010-2012 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +""" +Creates the swig_doc.i SWIG interface file. +Execute using: python swig_doc.py xml_path outputfilename + +The file instructs SWIG to transfer the doxygen comments into the +python docstrings. + +""" +from __future__ import unicode_literals + +import sys, time + +from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile +from doxyxml import DoxyOther, base + +def py_name(name): + bits = name.split('_') + return '_'.join(bits[1:]) + +def make_name(name): + bits = name.split('_') + return bits[0] + '_make_' + '_'.join(bits[1:]) + + +class Block(object): + """ + Checks if doxyxml produced objects correspond to a gnuradio block. + """ + + @classmethod + def includes(cls, item): + if not isinstance(item, DoxyClass): + return False + # Check for a parsing error. + if item.error(): + return False + friendname = make_name(item.name()) + is_a_block = item.has_member(friendname, DoxyFriend) + # But now sometimes the make function isn't a friend so check again. + if not is_a_block: + is_a_block = di.has_member(friendname, DoxyFunction) + return is_a_block + +class Block2(object): + """ + Checks if doxyxml produced objects correspond to a new style + gnuradio block. + """ + + @classmethod + def includes(cls, item): + if not isinstance(item, DoxyClass): + return False + # Check for a parsing error. + if item.error(): + return False + is_a_block2 = item.has_member('make', DoxyFunction) and item.has_member('sptr', DoxyOther) + return is_a_block2 + + +def utoascii(text): + """ + Convert unicode text into ascii and escape quotes and backslashes. + """ + if text is None: + return '' + out = text.encode('ascii', 'replace') + # swig will require us to replace blackslash with 4 backslashes + out = out.replace(b'\\', b'\\\\\\\\') + out = out.replace(b'"', b'\\"').decode('ascii') + return str(out) + + +def combine_descriptions(obj): + """ + Combines the brief and detailed descriptions of an object together. + """ + description = [] + bd = obj.brief_description.strip() + dd = obj.detailed_description.strip() + if bd: + description.append(bd) + if dd: + description.append(dd) + return utoascii('\n\n'.join(description)).strip() + +def format_params(parameteritems): + output = ['Args:'] + template = ' {0} : {1}' + for pi in parameteritems: + output.append(template.format(pi.name, pi.description)) + return '\n'.join(output) + +entry_templ = '%feature("docstring") {name} "{docstring}"' +def make_entry(obj, name=None, templ="{description}", description=None, params=[]): + """ + Create a docstring entry for a swig interface file. + + obj - a doxyxml object from which documentation will be extracted. + name - the name of the C object (defaults to obj.name()) + templ - an optional template for the docstring containing only one + variable named 'description'. + description - if this optional variable is set then it's value is + used as the description instead of extracting it from obj. + """ + if name is None: + name=obj.name() + if "operator " in name: + return '' + if description is None: + description = combine_descriptions(obj) + if params: + description += '\n\n' + description += utoascii(format_params(params)) + docstring = templ.format(description=description) + if not docstring: + return '' + return entry_templ.format( + name=name, + docstring=docstring, + ) + + +def make_func_entry(func, name=None, description=None, params=None): + """ + Create a function docstring entry for a swig interface file. + + func - a doxyxml object from which documentation will be extracted. + name - the name of the C object (defaults to func.name()) + description - if this optional variable is set then it's value is + used as the description instead of extracting it from func. + params - a parameter list that overrides using func.params. + """ + #if params is None: + # params = func.params + #params = [prm.declname for prm in params] + #if params: + # sig = "Params: (%s)" % ", ".join(params) + #else: + # sig = "Params: (NONE)" + #templ = "{description}\n\n" + sig + #return make_entry(func, name=name, templ=utoascii(templ), + # description=description) + return make_entry(func, name=name, description=description, params=params) + + +def make_class_entry(klass, description=None, ignored_methods=[], params=None): + """ + Create a class docstring for a swig interface file. + """ + if params is None: + params = klass.params + output = [] + output.append(make_entry(klass, description=description, params=params)) + for func in klass.in_category(DoxyFunction): + if func.name() not in ignored_methods: + name = klass.name() + '::' + func.name() + output.append(make_func_entry(func, name=name)) + return "\n\n".join(output) + + +def make_block_entry(di, block): + """ + Create class and function docstrings of a gnuradio block for a + swig interface file. + """ + descriptions = [] + # Get the documentation associated with the class. + class_desc = combine_descriptions(block) + if class_desc: + descriptions.append(class_desc) + # Get the documentation associated with the make function + make_func = di.get_member(make_name(block.name()), DoxyFunction) + make_func_desc = combine_descriptions(make_func) + if make_func_desc: + descriptions.append(make_func_desc) + # Get the documentation associated with the file + try: + block_file = di.get_member(block.name() + ".h", DoxyFile) + file_desc = combine_descriptions(block_file) + if file_desc: + descriptions.append(file_desc) + except base.Base.NoSuchMember: + # Don't worry if we can't find a matching file. + pass + # And join them all together to make a super duper description. + super_description = "\n\n".join(descriptions) + # Associate the combined description with the class and + # the make function. + output = [] + output.append(make_class_entry(block, description=super_description)) + output.append(make_func_entry(make_func, description=super_description, + params=block.params)) + return "\n\n".join(output) + +def make_block2_entry(di, block): + """ + Create class and function docstrings of a new style gnuradio block for a + swig interface file. + """ + descriptions = [] + # For new style blocks all the relevant documentation should be + # associated with the 'make' method. + class_description = combine_descriptions(block) + make_func = block.get_member('make', DoxyFunction) + make_description = combine_descriptions(make_func) + description = class_description + "\n\nConstructor Specific Documentation:\n\n" + make_description + # Associate the combined description with the class and + # the make function. + output = [] + output.append(make_class_entry( + block, description=description, + ignored_methods=['make'], params=make_func.params)) + makename = block.name() + '::make' + output.append(make_func_entry( + make_func, name=makename, description=description, + params=make_func.params)) + return "\n\n".join(output) + +def make_swig_interface_file(di, swigdocfilename, custom_output=None): + + output = [""" +/* + * This file was automatically generated using swig_doc.py. + * + * Any changes to it will be lost next time it is regenerated. + */ +"""] + + if custom_output is not None: + output.append(custom_output) + + # Create docstrings for the blocks. + blocks = di.in_category(Block) + blocks2 = di.in_category(Block2) + + make_funcs = set([]) + for block in blocks: + try: + make_func = di.get_member(make_name(block.name()), DoxyFunction) + # Don't want to risk writing to output twice. + if make_func.name() not in make_funcs: + make_funcs.add(make_func.name()) + output.append(make_block_entry(di, block)) + except block.ParsingError: + sys.stderr.write('Parsing error for block {0}\n'.format(block.name())) + raise + + for block in blocks2: + try: + make_func = block.get_member('make', DoxyFunction) + make_func_name = block.name() +'::make' + # Don't want to risk writing to output twice. + if make_func_name not in make_funcs: + make_funcs.add(make_func_name) + output.append(make_block2_entry(di, block)) + except block.ParsingError: + sys.stderr.write('Parsing error for block {0}\n'.format(block.name())) + raise + + # Create docstrings for functions + # Don't include the make functions since they have already been dealt with. + funcs = [f for f in di.in_category(DoxyFunction) + if f.name() not in make_funcs and not f.name().startswith('std::')] + for f in funcs: + try: + output.append(make_func_entry(f)) + except f.ParsingError: + sys.stderr.write('Parsing error for function {0}\n'.format(f.name())) + + # Create docstrings for classes + block_names = [block.name() for block in blocks] + block_names += [block.name() for block in blocks2] + klasses = [k for k in di.in_category(DoxyClass) + if k.name() not in block_names and not k.name().startswith('std::')] + for k in klasses: + try: + output.append(make_class_entry(k)) + except k.ParsingError: + sys.stderr.write('Parsing error for class {0}\n'.format(k.name())) + + # Docstrings are not created for anything that is not a function or a class. + # If this excludes anything important please add it here. + + output = "\n\n".join(output) + + swig_doc = open(swigdocfilename, 'w') + swig_doc.write(output) + swig_doc.close() + +if __name__ == "__main__": + # Parse command line options and set up doxyxml. + err_msg = "Execute using: python swig_doc.py xml_path outputfilename" + if len(sys.argv) != 3: + raise Exception(err_msg) + xml_path = sys.argv[1] + swigdocfilename = sys.argv[2] + di = DoxyIndex(xml_path) + + # gnuradio.gr.msq_queue.insert_tail and delete_head create errors unless docstrings are defined! + # This is presumably a bug in SWIG. + #msg_q = di.get_member(u'gr_msg_queue', DoxyClass) + #insert_tail = msg_q.get_member(u'insert_tail', DoxyFunction) + #delete_head = msg_q.get_member(u'delete_head', DoxyFunction) + output = [] + #output.append(make_func_entry(insert_tail, name='gr_py_msg_queue__insert_tail')) + #output.append(make_func_entry(delete_head, name='gr_py_msg_queue__delete_head')) + custom_output = "\n\n".join(output) + + # Generate the docstrings interface file. + make_swig_interface_file(di, swigdocfilename, custom_output=custom_output) diff --git a/gnuradio/gr-grsksdr/examples/README b/gnuradio/gr-grsksdr/examples/README new file mode 100644 index 0000000..c012bdf --- /dev/null +++ b/gnuradio/gr-grsksdr/examples/README @@ -0,0 +1,4 @@ +It is considered good practice to add examples in here to demonstrate the +functionality of your OOT module. Python scripts, GRC flow graphs or other +code can go here. + diff --git a/gnuradio/gr-grsksdr/grc/CMakeLists.txt b/gnuradio/gr-grsksdr/grc/CMakeLists.txt new file mode 100644 index 0000000..76081d4 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/CMakeLists.txt @@ -0,0 +1,36 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +install(FILES + grsksdr_agc.block.yml + grsksdr_coarse_freq_comp.block.yml + grsksdr_fir_decimator.block.yml + grsksdr_fir_interpolator.block.yml + grsksdr_frame_sync.block.yml + grsksdr_hamming_decoder.block.yml + grsksdr_hamming_encoder.block.yml + grsksdr_freq_sync.block.yml + grsksdr_psk_mod.block.yml + grsksdr_psk_demod.block.yml + grsksdr_scrambler.block.yml + grsksdr_descrambler.block.yml + grsksdr_symbol_sync.block.yml + grsksdr_phase_offset_est.block.yml DESTINATION share/gnuradio/grc/blocks +) diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_agc.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_agc.block.yml new file mode 100644 index 0000000..c2d0b14 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_agc.block.yml @@ -0,0 +1,45 @@ +id: grsksdr_agc +label: agc +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.agc(${ref_power}, ${max_gain}, ${det_gain}, ${avg_len}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: ref_power + label: Reference power + dtype: float +- id: max_gain + label: Max gain (dB) + dtype: float +- id: det_gain + label: Detector gain + dtype: float +- id: avg_len + label: Averaging length (samples) + dtype: int + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_coarse_freq_comp.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_coarse_freq_comp.block.yml new file mode 100644 index 0000000..3e91fb2 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_coarse_freq_comp.block.yml @@ -0,0 +1,45 @@ +id: grsksdr_coarse_freq_comp +label: coarse_freq_comp +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.coarse_freq_comp(${mod_order}, ${sample_rate}, ${freq_res}, ${frame_size}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: mod_order + label: Modulation order + dtype: int +- id: sample_rate + label: Sample rate + dtype: float +- id: freq_res + label: Frequency resolution (Hz) + dtype: float +- id: frame_size + label: Frame size + dtype: int + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_descrambler.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_descrambler.block.yml new file mode 100644 index 0000000..98f8402 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_descrambler.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_descrambler +label: descrambler +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.descrambler(${poly}, ${init_state}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: poly + label: Polynomial + dtype: int_vector +- id: init_state + label: Initial states + dtype: int_vector + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: byte + +outputs: +- label: out + dtype: byte + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_fir_decimator.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_fir_decimator.block.yml new file mode 100644 index 0000000..0384256 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_fir_decimator.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_fir_decimator +label: fir_decimator +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.fir_decimator(${downsampling}, ${coeffs}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: downsampling + label: Downsampling factor + dtype: int +- id: coeffs + label: Filter coefficients + dtype: float_vector + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_fir_interpolator.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_fir_interpolator.block.yml new file mode 100644 index 0000000..2c55712 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_fir_interpolator.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_fir_interpolator +label: fir_interpolator +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.fir_interpolator(${upsampling}, ${coeffs}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: upsampling + label: Upsample Factor + dtype: int +- id: coeffs + label: Filter coefficients + dtype: float_vector + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_frame_sync.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_frame_sync.block.yml new file mode 100644 index 0000000..bb84029 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_frame_sync.block.yml @@ -0,0 +1,42 @@ +id: grsksdr_frame_sync +label: frame_sync +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.frame_sync(${preamble}, ${threshold}, ${frame_size}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: preamble + label: Preamble + dtype: complex_vector +- id: threshold + label: Detector threshold + dtype: float +- id: frame_size + label: Frame size (symbols) + dtype: int + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_freq_sync.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_freq_sync.block.yml new file mode 100644 index 0000000..fce7253 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_freq_sync.block.yml @@ -0,0 +1,45 @@ +id: grsksdr_freq_sync +label: freq_sync +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.freq_sync(${modulation}, ${sps}, ${damp_factor}, ${norm_loop_bw}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: modulation + label: Modulation + dtype: string +- id: sps + label: Samples per symbol + dtype: int +- id: damp_factor + label: Damping factor + dtype: float +- id: norm_loop_bw + label: Normalized loop bandwidth + dtype: float + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_hamming_decoder.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_hamming_decoder.block.yml new file mode 100644 index 0000000..820b9d8 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_hamming_decoder.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_hamming_decoder +label: hamming_decoder +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.hamming_decoder(${ntotal}, ${ndata}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: ntotal + label: Total bits + dtype: int +- id: ndata + label: Data bits + dtype: int + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: byte + +outputs: +- label: out + domain: byte + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_hamming_encoder.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_hamming_encoder.block.yml new file mode 100644 index 0000000..61322cd --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_hamming_encoder.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_hamming_encoder +label: hamming_encoder +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.hamming_encoder(${ntotal}, ${ndata}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: ntotal + label: Total bits + dtype: int +- id: ndata + label: Data bits + dtype: int + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: byte + +outputs: +- label: out + domain: byte + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_phase_offset_est.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_phase_offset_est.block.yml new file mode 100644 index 0000000..ed081ae --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_phase_offset_est.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_phase_offset_est +label: phase_offset_est +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.phase_offset_est(${preamble}, ${frame_size}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: preamble + label: Preamble + dtype: complex_vector +- id: frame_size + label: Frame size + dtype: int + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_psk_demod.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_psk_demod.block.yml new file mode 100644 index 0000000..c7be7d8 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_psk_demod.block.yml @@ -0,0 +1,45 @@ +id: grsksdr_psk_demod +label: psk_demod +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.psk_demod(${modulation}, ${labels}, ${amplitude}, ${phase_offset}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: modulation + label: Modulation + dtype: string +- id: labels + label: Labels + dtype: int_vector +- id: amplitude + label: Amplitude + dtype: float +- id: phase_offset + label: Phase offset + dtype: float + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: byte + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_psk_mod.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_psk_mod.block.yml new file mode 100644 index 0000000..9d9590c --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_psk_mod.block.yml @@ -0,0 +1,44 @@ +id: grsksdr_psk_mod +label: psk_mod +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.psk_mod(${modulation}, ${labels}, ${amplitude}, ${phase_offset}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: modulation + label: Modulation + dtype: string +- id: labels + label: Labels + dtype: int_vector +- id: amplitude + label: Amplitude + dtype: float +- id: phase_offset + label: Phase offset + dtype: float +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: byte + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_scrambler.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_scrambler.block.yml new file mode 100644 index 0000000..b7c4474 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_scrambler.block.yml @@ -0,0 +1,39 @@ +id: grsksdr_scrambler +label: scrambler +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.scrambler(${poly}, ${init_state}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: poly + label: Polynomial + dtype: int_vector +- id: init_state + label: Initial states + dtype: int_vector + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: byte + +outputs: +- label: out + dtype: byte + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/grc/grsksdr_symbol_sync.block.yml b/gnuradio/gr-grsksdr/grc/grsksdr_symbol_sync.block.yml new file mode 100644 index 0000000..ee20665 --- /dev/null +++ b/gnuradio/gr-grsksdr/grc/grsksdr_symbol_sync.block.yml @@ -0,0 +1,51 @@ +id: grsksdr_symbol_sync +label: symbol_sync +category: '[grsksdr]' + +templates: + imports: import grsksdr + make: grsksdr.symbol_sync(${modulation}, ${sps}, ${damp_factor}, ${norm_loop_bw}, ${K}, ${A}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: modulation + label: Modulation + dtype: string +- id: sps + label: Samples per symbol + dtype: int +- id: damp_factor + label: Damping factor + dtype: float +- id: norm_loop_bw + label: Normalized loop bandwidth + dtype: float +- id: K + label: Signal amplitude (K) + dtype: float +- id: A + label: Symbol norm (A) + dtype: float + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + dtype: complex + +outputs: +- label: out + dtype: complex + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/gnuradio/gr-grsksdr/include/grsksdr/CMakeLists.txt b/gnuradio/gr-grsksdr/include/grsksdr/CMakeLists.txt new file mode 100644 index 0000000..46e6aa9 --- /dev/null +++ b/gnuradio/gr-grsksdr/include/grsksdr/CMakeLists.txt @@ -0,0 +1,27 @@ +# Copyright 2011,2012 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Install public header files +######################################################################## +install(FILES + api.h + DESTINATION include/grsksdr +) diff --git a/gnuradio/gr-grsksdr/include/grsksdr/api.h b/gnuradio/gr-grsksdr/include/grsksdr/api.h new file mode 100644 index 0000000..068a97c --- /dev/null +++ b/gnuradio/gr-grsksdr/include/grsksdr/api.h @@ -0,0 +1,34 @@ +/* + * Copyright 2011 Free Software Foundation, Inc. + * + * This file was generated by gr_modtool, a tool from the GNU Radio framework + * This file is a part of gr-grsksdr + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +#ifndef INCLUDED_GRSKSDR_API_H +#define INCLUDED_GRSKSDR_API_H + +#include + +#ifdef gnuradio_grsksdr_EXPORTS +#define GRSKSDR_API __GR_ATTR_EXPORT +#else +#define GRSKSDR_API __GR_ATTR_IMPORT +#endif + +#endif /* INCLUDED_GRSKSDR_API_H */ diff --git a/gnuradio/gr-grsksdr/lib/CMakeLists.txt b/gnuradio/gr-grsksdr/lib/CMakeLists.txt new file mode 100644 index 0000000..7de7699 --- /dev/null +++ b/gnuradio/gr-grsksdr/lib/CMakeLists.txt @@ -0,0 +1,83 @@ +# Copyright 2011,2012,2016,2018,2019 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Setup library +######################################################################## +include(GrPlatform) #define LIB_SUFFIX + +list(APPEND grsksdr_sources +) + +set(grsksdr_sources "${grsksdr_sources}" PARENT_SCOPE) +if(NOT grsksdr_sources) + MESSAGE(STATUS "No C++ sources... skipping lib/") + return() +endif(NOT grsksdr_sources) + +add_library(gnuradio-grsksdr SHARED ${grsksdr_sources}) +target_link_libraries(gnuradio-grsksdr gnuradio::gnuradio-runtime) +target_include_directories(gnuradio-grsksdr + PUBLIC $ + PUBLIC $ + ) +set_target_properties(gnuradio-grsksdr PROPERTIES DEFINE_SYMBOL "gnuradio_grsksdr_EXPORTS") + +if(APPLE) + set_target_properties(gnuradio-grsksdr PROPERTIES + INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" + ) +endif(APPLE) + +######################################################################## +# Install built library files +######################################################################## +include(GrMiscUtils) +GR_LIBRARY_FOO(gnuradio-grsksdr) + +######################################################################## +# Print summary +######################################################################## +message(STATUS "Using install prefix: ${CMAKE_INSTALL_PREFIX}") +message(STATUS "Building for version: ${VERSION} / ${LIBVER}") + +######################################################################## +# Build and register unit test +######################################################################## +include(GrTest) + +# If your unit tests require special include paths, add them here +#include_directories() +# List all files that contain Boost.UTF unit tests here +list(APPEND test_grsksdr_sources +) +# Anything we need to link to for the unit tests go here +list(APPEND GR_TEST_TARGET_DEPS gnuradio-grsksdr) + +if(NOT test_grsksdr_sources) + MESSAGE(STATUS "No C++ unit tests... skipping") + return() +endif(NOT test_grsksdr_sources) + +foreach(qa_file ${test_grsksdr_sources}) + GR_ADD_CPP_TEST("grsksdr_${qa_file}" + ${CMAKE_CURRENT_SOURCE_DIR}/${qa_file} + ) +endforeach(qa_file) diff --git a/gnuradio/gr-grsksdr/python/CMakeLists.txt b/gnuradio/gr-grsksdr/python/CMakeLists.txt new file mode 100644 index 0000000..a23a0aa --- /dev/null +++ b/gnuradio/gr-grsksdr/python/CMakeLists.txt @@ -0,0 +1,71 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Include python install macros +######################################################################## +include(GrPython) +if(NOT PYTHONINTERP_FOUND) + return() +endif() + +######################################################################## +# Install python sources +######################################################################## +GR_PYTHON_INSTALL( + FILES + __init__.py + agc.py + coarse_freq_comp.py + fir_decimator.py + fir_interpolator.py + frame_sync.py + hamming_decoder.py + hamming_encoder.py + freq_sync.py + psk_mod.py + psk_demod.py + scrambler.py + descrambler.py + symbol_sync.py + phase_offset_est.py DESTINATION ${GR_PYTHON_DIR}/grsksdr +) + +######################################################################## +# Handle the unit tests +######################################################################## +include(GrTest) + +set(GR_TEST_TARGET_DEPS gnuradio-grsksdr) +set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig) +GR_ADD_TEST(qa_agc ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_agc.py) +GR_ADD_TEST(qa_coarse_freq_comp ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_coarse_freq_comp.py) +GR_ADD_TEST(qa_fir_decimator ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_fir_decimator.py) +GR_ADD_TEST(qa_fir_interpolator ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_fir_interpolator.py) +GR_ADD_TEST(qa_frame_sync ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_frame_sync.py) +GR_ADD_TEST(qa_hamming_decoder ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_hamming_decoder.py) +GR_ADD_TEST(qa_hamming_encoder ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_hamming_encoder.py) +GR_ADD_TEST(qa_freq_sync ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_freq_sync.py) +GR_ADD_TEST(qa_psk_mod ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_psk_mod.py) +GR_ADD_TEST(qa_psk_demod ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_psk_demod.py) +GR_ADD_TEST(qa_scrambler ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_scrambler.py) +GR_ADD_TEST(qa_descrambler ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_descrambler.py) +GR_ADD_TEST(qa_symbol_sync ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_symbol_sync.py) +GR_ADD_TEST(qa_phase_offset_est ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_phase_offset_est.py) diff --git a/gnuradio/gr-grsksdr/python/__init__.py b/gnuradio/gr-grsksdr/python/__init__.py new file mode 100644 index 0000000..ed865d2 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/__init__.py @@ -0,0 +1,59 @@ +# +# Copyright 2008,2009 Free Software Foundation, Inc. +# +# This application is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This application is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +# The presence of this file turns this directory into a Python package + +""" +This is the GNU Radio GRSKSDR module. Place your Python package +description here (python/__init__.py). +""" +from __future__ import unicode_literals + +import logging + +from .agc import agc +from .coarse_freq_comp import coarse_freq_comp +from .descrambler import descrambler +from .fir_decimator import fir_decimator +from .fir_interpolator import fir_interpolator +from .frame_sync import frame_sync +from .freq_sync import freq_sync +from .hamming_decoder import hamming_decoder +from .hamming_encoder import hamming_encoder +from .phase_offset_est import phase_offset_est +from .psk_demod import psk_demod +from .psk_mod import psk_mod +from .scrambler import scrambler +from .symbol_sync import symbol_sync + +# import swig generated symbols into the grsksdr namespace +try: + # this might fail if the module is python-only + from .grsksdr_swig import * +except ImportError: + pass + +_log = logging.getLogger(__name__) + +def _setupLog(): + handler = logging.StreamHandler() + handler.setFormatter(logging.Formatter(logging.BASIC_FORMAT)) + _log.addHandler(handler) + _log.setLevel(logging.INFO) + +_setupLog() diff --git a/gnuradio/gr-grsksdr/python/agc.py b/gnuradio/gr-grsksdr/python/agc.py new file mode 100644 index 0000000..7490cd1 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/agc.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging +from logging import DEBUG + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class agc(gr.sync_block): + """ + docstring for block agc + """ + def __init__(self, ref_power, max_gain, det_gain, avg_len): + gr.sync_block.__init__(self, + name='agc', + in_sig=[np.csingle], + out_sig=[np.csingle]) + self.agc = sksdr.AGC(ref_power, max_gain, det_gain, avg_len) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + out[:], _ = self.agc(in0) + _log.log(DEBUG-1, out) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/coarse_freq_comp.py b/gnuradio/gr-grsksdr/python/coarse_freq_comp.py new file mode 100644 index 0000000..8480844 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/coarse_freq_comp.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class coarse_freq_comp(gr.sync_block): + """ + docstring for block coarse_freq_comp + """ + def __init__(self, mod_order, sample_rate, freq_res, frame_size): + self.frame_size = frame_size + gr.sync_block.__init__(self, + name='coarse_freq_comp', + in_sig=[np.csingle], + out_sig=[np.csingle]) + self.cfc = sksdr.CoarseFrequencyComp(mod_order, sample_rate, freq_res) + self.set_output_multiple(self.frame_size) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + nsamples = len(out) + for i in range(0, nsamples, self.frame_size): + j = i + self.frame_size + out[i:j], _, _ = self.cfc(in0[i:j]) + + _log.debug('len out: %d', nsamples) + return nsamples diff --git a/gnuradio/gr-grsksdr/python/descrambler.py b/gnuradio/gr-grsksdr/python/descrambler.py new file mode 100644 index 0000000..39ee9e1 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/descrambler.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class descrambler(gr.sync_block): + """ + docstring for block descrambler + """ + def __init__(self, poly, init_state): + gr.sync_block.__init__(self, + name='descrambler', + in_sig=[np.uint8], + out_sig=[np.uint8]) + self.descrambler = sksdr.Descrambler(poly, init_state) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + nsamples = len(out) + out[:] = self.descrambler(in0) + _log.debug('nsamples: %d', nsamples) + return nsamples diff --git a/gnuradio/gr-grsksdr/python/fir_decimator.py b/gnuradio/gr-grsksdr/python/fir_decimator.py new file mode 100644 index 0000000..54c5acd --- /dev/null +++ b/gnuradio/gr-grsksdr/python/fir_decimator.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class fir_decimator(gr.decim_block): + """ + docstring for block fir_decimator + """ + def __init__(self, downsampling, coeffs): + self.downsampling = downsampling + gr.decim_block.__init__(self, + name='fir_decimator', + in_sig=[np.csingle], + out_sig=[np.csingle], + decim=downsampling) + self.decim = sksdr.FirDecimator(self.downsampling, coeffs) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + _, out[:] = self.decim(in0) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/fir_interpolator.py b/gnuradio/gr-grsksdr/python/fir_interpolator.py new file mode 100644 index 0000000..17e7138 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/fir_interpolator.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class fir_interpolator(gr.interp_block): + """ + docstring for block fir_interpolator + """ + def __init__(self, upsampling, coeffs): + gr.interp_block.__init__(self, + name='fir_interpolator', + in_sig=[np.csingle], + out_sig=[np.csingle], interp=upsampling) + self.interp = sksdr.FirInterpolator(upsampling, coeffs) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + _, out[:] = self.interp(in0) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/frame_sync.py b/gnuradio/gr-grsksdr/python/frame_sync.py new file mode 100644 index 0000000..cba6d9a --- /dev/null +++ b/gnuradio/gr-grsksdr/python/frame_sync.py @@ -0,0 +1,98 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging +from logging import DEBUG + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class frame_sync(gr.basic_block): + """ + docstring for block frame_sync + """ + def __init__(self, preamble, det_thr, frame_size): + self.frame_size = frame_size + gr.basic_block.__init__(self, + name='frame_sync', + in_sig=[np.csingle], + out_sig=[np.csingle]) + self.frame_sync = sksdr.FrameSync(preamble, det_thr, frame_size) + # self.psk = sksdr.PSKModulator(sksdr.QPSK, [0, 1, 3, 2], 1.0, np.pi/4) + # self.preamble = np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) + # self.mod_preamble = self.psk.modulate(self.preamble) + # self.phase_off_est = sksdr.PhaseOffsetEst(self.mod_preamble) + # self.descrambler = sksdr.Descrambler([1, 1, 1, 0, 1], [0, 1, 1, 0]) + # self.fec = sksdr.Hamming(7, 4) + self.set_output_multiple(self.frame_size) + + def forecast(self, noutput_items, ninput_items_required): + # setup size of input_items[i] for work call + for i in range(len(ninput_items_required)): + ninput_items_required[i] = noutput_items + + def general_work(self, input_items, output_items): + in0 = input_items[0] + out0 = output_items[0] + nin0 = len(in0) + nout0 = len(out0) + _log.debug('len in0/out0: %d/%d', nin0, nout0) + nret = 0 + nin = int(nin0 / self.frame_size) * self.frame_size + for i in range(0, nin, self.frame_size): + ret, _, valid = self.frame_sync(in0[i : i + self.frame_size]) + if valid: + # data = dict() + + # # Phase ambiguity correction + # data['phase_amb_frame'] = self.phase_off_est(ret) + # #_log.log(DEBUG-1, ret['phase_amb_frame']) + + # # Demodulate symbols + # data['rx_sbits'] = self.psk.demodulate(data['phase_amb_frame']) + # #_log.log(DEBUG-1, ret['rx_sbits'][26:146]) + + # # Descramble bits after the preamble + # data['payload'] = self.descrambler(data['rx_sbits'][len(self.preamble):]) + # #_log.log(DEBUG-1, data['payload']) + + # # Compute BER + # # txbits = grsksdr.x2binlist(tx_msg, 8) + # # rxbits = ret['payload'][:len(tx_msg) * 8] + # # ret['BER'] = [np.count_nonzero(rxbits != txbits), len(rxbits)] + # # data['payload'], _ = self.fec.decode(data['payload_fec']) + + # # Convert the payload to ASCII + # data['rx_msg'] = grsksdr.binlist2x(data['payload'][:15 * 8], 8) + # data['rx_msg_ascii'] = [chr(x) for x in data['rx_msg']] + # _log.debug(data['rx_msg_ascii']) + + out0[nret : nret + len(ret)] = ret + nret += len(ret) + if nret == nout0: + break + + self.consume(0, i + self.frame_size) + return nret diff --git a/gnuradio/gr-grsksdr/python/freq_sync.py b/gnuradio/gr-grsksdr/python/freq_sync.py new file mode 100644 index 0000000..68e5383 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/freq_sync.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class freq_sync(gr.sync_block): + """ + docstring for block freq_sync + """ + def __init__(self, modulation, sps, damp_factor, norm_loop_bw): + gr.sync_block.__init__(self, + name='freq_sync', + in_sig=[np.csingle], + out_sig=[np.csingle]) + self.fsync = sksdr.FrequencySync(eval(modulation), sps, damp_factor, norm_loop_bw) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + out[:], _ = self.fsync(in0) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/hamming_decoder.py b/gnuradio/gr-grsksdr/python/hamming_decoder.py new file mode 100644 index 0000000..9d7f5dd --- /dev/null +++ b/gnuradio/gr-grsksdr/python/hamming_decoder.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class hamming_decoder(gr.basic_block): + """ + docstring for block hamming_decoder + """ + def __init__(self, ntotal, ndata): + self.ntotal = ntotal + self.ndata = ndata + gr.basic_block.__init__(self, + name='hamming_decoder', + in_sig=[np.uint8], + out_sig=[np.uint8]) + self.set_output_multiple(self.ndata) + self.fec = sksdr.Hamming(self.ntotal, self.ndata) + + def forecast(self, noutput_items, ninput_items_required): + #setup size of input_items[i] for work call + for i in range(len(ninput_items_required)): + ninput_items_required[i] = int(np.ceil(noutput_items * self.ntotal / self.ndata)) + + def general_work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + nout = len(out) + _log.debug('len(in0), nout: %d/%d', len(in0), nout) + for i, j in zip(range(0, len(in0), self.ntotal), range(0, nout, self.ndata)): + iend = i + self.ntotal + jend = j + self.ndata + out[j : jend], _ = self.fec.decode(in0[i : iend]) + + _log.debug('iend, jend: %d, %d', iend, jend) + self.consume(0, iend) + return jend diff --git a/gnuradio/gr-grsksdr/python/hamming_encoder.py b/gnuradio/gr-grsksdr/python/hamming_encoder.py new file mode 100644 index 0000000..a6ba7bb --- /dev/null +++ b/gnuradio/gr-grsksdr/python/hamming_encoder.py @@ -0,0 +1,64 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + + +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class hamming_encoder(gr.basic_block): + """ + docstring for block hamming_encoder + """ + def __init__(self, ntotal, ndata): + self.ntotal = ntotal + self.ndata = ndata + gr.basic_block.__init__(self, + name='hamming_encoder', + in_sig=[np.uint8], + out_sig=[np.uint8]) + self.set_output_multiple(self.ntotal) + self.fec = sksdr.Hamming(self.ntotal, self.ndata) + + def forecast(self, noutput_items, ninput_items_required): + # setup size of input_items[i] for work call + for i in range(len(ninput_items_required)): + ninput_items_required[i] = noutput_items + + def general_work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + nout = len(out) + _log.debug('len(in0), nout: %d/%d', len(in0), nout) + for i, j in zip(range(0, len(in0), self.ndata), range(0, nout, self.ntotal)): + iend = i + self.ndata + jend = j + self.ntotal + out[j : jend] = self.fec.encode(in0[i : iend]) + + _log.debug('iend, jend: %d, %d', iend, jend) + self.consume(0, iend) + return jend diff --git a/gnuradio/gr-grsksdr/python/phase_offset_est.py b/gnuradio/gr-grsksdr/python/phase_offset_est.py new file mode 100644 index 0000000..bc0596e --- /dev/null +++ b/gnuradio/gr-grsksdr/python/phase_offset_est.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +_log.setLevel(logging.DEBUG) + +class phase_offset_est(gr.sync_block): + """ + docstring for block phase_offset_est + """ + def __init__(self, preamble, frame_size): + self.frame_size = frame_size + gr.sync_block.__init__(self, + name='phase_offset_est', + in_sig=[np.csingle], + out_sig=[np.csingle]) + self.phase_off_est = sksdr.PhaseOffsetEst(preamble) + self.set_output_multiple(self.frame_size) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + nsamples = len(out) + for i in range(0, nsamples, self.frame_size): + j = i + self.frame_size + out[i:j] = self.phase_off_est(in0[i:j]) + + _log.debug('nsamples: %d', nsamples) + return nsamples diff --git a/gnuradio/gr-grsksdr/python/psk_demod.py b/gnuradio/gr-grsksdr/python/psk_demod.py new file mode 100644 index 0000000..80ad511 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/psk_demod.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class psk_demod(gr.interp_block): + """ + docstring for block psk_demod + """ + def __init__(self, modulation, labels, amplitude, phase_offset): + mod = eval(modulation) + gr.interp_block.__init__(self, + name='psk_demod', + in_sig=[np.csingle], + out_sig=[np.uint8], interp=mod.bits_per_symbol) + self.psk = sksdr.PSKModulator(mod, labels, amplitude, phase_offset) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + out[:] = self.psk.demodulate(in0) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/psk_mod.py b/gnuradio/gr-grsksdr/python/psk_mod.py new file mode 100644 index 0000000..ab87d87 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/psk_mod.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class psk_mod(gr.decim_block): + """ + docstring for block psk_mod + """ + def __init__(self, modulation, labels, amplitude, phase_offset): + mod = eval(modulation) + gr.decim_block.__init__(self, + name="psk_mod", + in_sig=[np.uint8], + out_sig=[np.csingle], decim=mod.bits_per_symbol) + self.psk = sksdr.PSKModulator(mod, labels, amplitude, phase_offset) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + out[:] = self.psk.modulate(in0) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/qa_agc.py b/gnuradio/gr-grsksdr/python/qa_agc.py new file mode 100755 index 0000000..93c6631 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_agc.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import blocks, gr, gr_unittest + +from agc import agc + + +class qa_agc(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_agc) diff --git a/gnuradio/gr-grsksdr/python/qa_coarse_freq_comp.py b/gnuradio/gr-grsksdr/python/qa_coarse_freq_comp.py new file mode 100755 index 0000000..50294cd --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_coarse_freq_comp.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from coarse_freq_comp import coarse_freq_comp + +class qa_coarse_freq_comp(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_coarse_freq_comp) diff --git a/gnuradio/gr-grsksdr/python/qa_descrambler.py b/gnuradio/gr-grsksdr/python/qa_descrambler.py new file mode 100755 index 0000000..49302a7 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_descrambler.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from descrambler import descrambler + +class qa_descrambler(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_descrambler) diff --git a/gnuradio/gr-grsksdr/python/qa_fir_decimator.py b/gnuradio/gr-grsksdr/python/qa_fir_decimator.py new file mode 100755 index 0000000..75c5378 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_fir_decimator.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from fir_decimator import fir_decimator + +class qa_fir_decimator(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_fir_decimator) diff --git a/gnuradio/gr-grsksdr/python/qa_fir_interpolator.py b/gnuradio/gr-grsksdr/python/qa_fir_interpolator.py new file mode 100755 index 0000000..ea1ec15 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_fir_interpolator.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from fir_interpolator import fir_interpolator + +class qa_fir_interpolator(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_fir_interpolator) diff --git a/gnuradio/gr-grsksdr/python/qa_frame_sync.py b/gnuradio/gr-grsksdr/python/qa_frame_sync.py new file mode 100755 index 0000000..fa852bb --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_frame_sync.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from frame_sync import frame_sync + +class qa_frame_sync(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_frame_sync) diff --git a/gnuradio/gr-grsksdr/python/qa_freq_sync.py b/gnuradio/gr-grsksdr/python/qa_freq_sync.py new file mode 100755 index 0000000..cf810df --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_freq_sync.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from freq_sync import freq_sync + +class qa_freq_sync(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_freq_sync) diff --git a/gnuradio/gr-grsksdr/python/qa_hamming_decoder.py b/gnuradio/gr-grsksdr/python/qa_hamming_decoder.py new file mode 100755 index 0000000..56c60d0 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_hamming_decoder.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from hamming_decoder import hamming_decoder + +class qa_hamming_decoder(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_hamming_decoder) diff --git a/gnuradio/gr-grsksdr/python/qa_hamming_encoder.py b/gnuradio/gr-grsksdr/python/qa_hamming_encoder.py new file mode 100755 index 0000000..e58e80b --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_hamming_encoder.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from hamming_encoder import hamming_encoder + +class qa_hamming_encoder(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_hamming_encoder) diff --git a/gnuradio/gr-grsksdr/python/qa_phase_offset_est.py b/gnuradio/gr-grsksdr/python/qa_phase_offset_est.py new file mode 100755 index 0000000..eff71bb --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_phase_offset_est.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from phase_offset_est import phase_offset_est + +class qa_phase_offset_est(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_phase_offset_est) diff --git a/gnuradio/gr-grsksdr/python/qa_psk_demod.py b/gnuradio/gr-grsksdr/python/qa_psk_demod.py new file mode 100755 index 0000000..9bc71a2 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_psk_demod.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from psk_demod import psk_demod + +class qa_psk_demod(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_psk_demod) diff --git a/gnuradio/gr-grsksdr/python/qa_psk_mod.py b/gnuradio/gr-grsksdr/python/qa_psk_mod.py new file mode 100755 index 0000000..c1774e5 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_psk_mod.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from psk_mod import psk_mod + +class qa_psk_mod(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_psk_mod) diff --git a/gnuradio/gr-grsksdr/python/qa_scrambler.py b/gnuradio/gr-grsksdr/python/qa_scrambler.py new file mode 100755 index 0000000..9218042 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_scrambler.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from scrambler import scrambler + +class qa_scrambler(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_scrambler) diff --git a/gnuradio/gr-grsksdr/python/qa_symbol_sync.py b/gnuradio/gr-grsksdr/python/qa_symbol_sync.py new file mode 100755 index 0000000..348627f --- /dev/null +++ b/gnuradio/gr-grsksdr/python/qa_symbol_sync.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +from symbol_sync import symbol_sync + +class qa_symbol_sync(gr_unittest.TestCase): + + def setUp(self): + self.tb = gr.top_block() + + def tearDown(self): + self.tb = None + + def test_001_t(self): + # set up fg + self.tb.run() + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_symbol_sync) diff --git a/gnuradio/gr-grsksdr/python/scrambler.py b/gnuradio/gr-grsksdr/python/scrambler.py new file mode 100644 index 0000000..45ce4e0 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/scrambler.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class scrambler(gr.sync_block): + """ + docstring for block scrambler + """ + def __init__(self, poly, init_state): + gr.sync_block.__init__(self, + name='scrambler', + in_sig=[np.uint8], + out_sig=[np.uint8]) + self.scrambler = sksdr.Scrambler(poly, init_state) + + def work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + out[:] = self.scrambler(in0) + return len(out) diff --git a/gnuradio/gr-grsksdr/python/symbol_sync.py b/gnuradio/gr-grsksdr/python/symbol_sync.py new file mode 100644 index 0000000..f3f8535 --- /dev/null +++ b/gnuradio/gr-grsksdr/python/symbol_sync.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2020 gr-grsksdr author. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +import logging +from logging import DEBUG + +import numpy as np +from gnuradio import gr + +import sksdr + +_log = logging.getLogger(__name__) +#_log.setLevel(logging.DEBUG) + +class symbol_sync(gr.basic_block): + """ + docstring for block symbol_sync + """ + def __init__(self, modulation, sps, damp_factor, norm_loop_bw, K, A): + self.sps = sps + gr.basic_block.__init__(self, + name='symbol_sync', + in_sig=[np.csingle], + out_sig=[np.csingle]) + self.ssync = sksdr.SymbolSync(eval(modulation), sps, damp_factor, norm_loop_bw, K, A) + + def forecast(self, noutput_items, ninput_items_required): + # setup size of input_items[i] for work call + for i in range(len(ninput_items_required)): + ninput_items_required[i] = int(np.ceil(noutput_items * self.sps)) + + def general_work(self, input_items, output_items): + in0 = input_items[0] + out = output_items[0] + nout = len(out) + ret, ninp, _ = self.ssync(in0, nout) + nret = len(ret) + _log.debug('len in0/out0/inp/ret: %d/%d/%d/%d', len(in0), nout, ninp, nret) + _log.log(DEBUG-1, ret) + out[:nret] = ret + self.consume(0, ninp) + return nret diff --git a/gnuradio/gr-grsksdr/swig/CMakeLists.txt b/gnuradio/gr-grsksdr/swig/CMakeLists.txt new file mode 100644 index 0000000..473b534 --- /dev/null +++ b/gnuradio/gr-grsksdr/swig/CMakeLists.txt @@ -0,0 +1,66 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file was generated by gr_modtool, a tool from the GNU Radio framework +# This file is a part of gr-grsksdr +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +######################################################################## +# Check if there is C++ code at all +######################################################################## +if(NOT grsksdr_sources) + MESSAGE(STATUS "No C++ sources... skipping swig/") + return() +endif(NOT grsksdr_sources) + +######################################################################## +# Include swig generation macros +######################################################################## +find_package(SWIG) +find_package(PythonLibs) +if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND) + return() +endif() +include(GrSwig) +include(GrPython) + +######################################################################## +# Setup swig generation +######################################################################## +set(GR_SWIG_INCLUDE_DIRS $) +set(GR_SWIG_TARGET_DEPS gnuradio::runtime_swig) + +set(GR_SWIG_LIBRARIES gnuradio-grsksdr) + +set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/grsksdr_swig_doc.i) +set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +GR_SWIG_MAKE(grsksdr_swig grsksdr_swig.i) + +######################################################################## +# Install the build swig module +######################################################################## +GR_SWIG_INSTALL(TARGETS grsksdr_swig DESTINATION ${GR_PYTHON_DIR}/grsksdr) + +######################################################################## +# Install swig .i files for development +######################################################################## +install( + FILES + grsksdr_swig.i + ${CMAKE_CURRENT_BINARY_DIR}/grsksdr_swig_doc.i + DESTINATION ${GR_INCLUDE_DIR}/grsksdr/swig +) diff --git a/gnuradio/gr-grsksdr/swig/grsksdr_swig.i b/gnuradio/gr-grsksdr/swig/grsksdr_swig.i new file mode 100644 index 0000000..b33c8f1 --- /dev/null +++ b/gnuradio/gr-grsksdr/swig/grsksdr_swig.i @@ -0,0 +1,12 @@ +/* -*- c++ -*- */ + +#define GRSKSDR_API + +%include "gnuradio.i" // the common stuff + +//load generated python docstrings +%include "grsksdr_swig_doc.i" + +%{ +%} + diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..434a1a3 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,9 @@ +[pytest] +log_cli = True +log_level = DEBUG +log_cli_level = DEBUG +testpaths = + tests +python_files = + test_*.py + qa_*.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b0b4b2a --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[aliases] +# Needed to integrate pytest with setuptools +test=pytest diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a2b954a --- /dev/null +++ b/setup.py @@ -0,0 +1,49 @@ +from setuptools import setup + +import sksdr + +with open('README.md', 'r') as fh: + long_description = fh.read() + +DISTNAME = 'scikit-sdr' +DESCRIPTION = 'SDR scikit package' +LONG_DESCRIPTION = long_description +AUTHOR = 'David Pi' +AUTHOR_EMAIL = 'davidpinho@gmail.com' +MAINTAINER = 'David Pi' +MAINTAINER_EMAIL = 'davidpinho@gmail.com' +URL = 'http://projects.scipy.org/scipy/scikits' +LICENSE = 'MIT' +DOWNLOAD_URL = URL +PACKAGE_NAME = 'sksdr' +EXTRA_INFO = dict( + python_requires='>=3.6', + install_requires=['matplotlib', 'numpy', 'scipy'], + classifiers=['Development Status :: 1 - Planning', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: BSD License', + 'Topic :: Scientific/Engineering'] +) + +VERSION = sksdr.__version__ + +# Call the setup function +if __name__ == '__main__': + setup(name=DISTNAME, + author=AUTHOR, + author_email=AUTHOR_EMAIL, + maintainer=MAINTAINER, + maintainer_email=MAINTAINER_EMAIL, + description=DESCRIPTION, + license=LICENSE, + url=URL, + download_url=DOWNLOAD_URL, + long_description=LONG_DESCRIPTION, + long_description_content_type='text/markdown', + include_package_data=True, + test_suite='tests', + setup_requires=['pytest-runner'], + tests_require=['pytest'], + version=VERSION, + **EXTRA_INFO) diff --git a/sksdr/__init__.py b/sksdr/__init__.py new file mode 100644 index 0000000..42eb4e1 --- /dev/null +++ b/sksdr/__init__.py @@ -0,0 +1,51 @@ +""" +API reference documentation for the `sksdr` package. +""" +import logging + +from .agc import * +from .channels import * +from .coarse_freq_comp import * +from .fec import * +from .frame_sync import * +from .freq_sync import * +from .impairments import * +from .interp_decim import * +from .modulation import * +from .phase_offset_est import * +from .plotting import * +from .psk_trans import * +from .pulses import * +from .scrambling import * +from .sequences import * +from .symbol_sync import * +from .utils import * + +_log = logging.getLogger(__name__) + +def _setupLog(): + handler = logging.StreamHandler() + handler.setFormatter(logging.Formatter(logging.BASIC_FORMAT)) + #'%(asctime)s:%(levelname)s: %(name)-15s; %(module)s %(message)s' + _log.addHandler(handler) + _log.setLevel(logging.DEBUG) + +_setupLog() + +# PEP0440 compatible formatted version, see: +# https://www.python.org/dev/peps/pep-0440/ +# +# Generic release markers: +# X.Y +# X.Y.Z # For bugfix releases +# +# Admissible pre-release markers: +# X.YaN # Alpha release +# X.YbN # Beta release +# X.YrcN # Release Candidate +# X.Y # Final release +# +# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer. +# 'X.Y.dev0' is the canonical version of 'X.Y.dev' +# +__version__ = '0.1.dev0' diff --git a/sksdr/agc.py b/sksdr/agc.py new file mode 100644 index 0000000..78c1b9c --- /dev/null +++ b/sksdr/agc.py @@ -0,0 +1,98 @@ +""" +Automatic gain control (AGC) algorithms. +""" +import logging +from typing import Tuple + +import numpy as np +import scipy.signal as signal + +_log = logging.getLogger(__name__) + +class AGC: + """ + AGC based on a logarithmic scheme. + + The algorithm doesn't use a linear loop scheme since that has a significant drawback: The time constant of the loop is input signal level dependent, and is different depending on whether the input signal is increasing or decreasing. These properties drastically reduce the control over the system's time constant. To solve this problem, a logarithmic loop is adopted. This allows complete control of the AGC's time constant, increases its dynamic range and generally provides good performance for a variety of signal types. For the logarithmic AGC scheme, the feedback loop's time constant is dependent solely on :attr:`det_gain` and independent of the input signal level. + + The detector block is composed of a low-pass filter (LPF) to eliminate rapid gain changes. That filter can be a simple moving average filter, a cascaded integrator-comb (CIC) filter, or a more traditional LPF having a sinc-shaped impulse response. In the current implementation, a moving average filter is implemented, which computes the average power of the last :attr:`avg_len` samples. This power is then multiplied by the loop gain :math:`g(n)` and compared with the reference power :math:`A` (specified by :attr:`ref_power`) in natural log units, to produce the error signal :math:`e(n)`. This error signal is scaled by the detector gain :math:`K` (specified by :attr:`det_gain`) and passed to an integrator which updates the loop gain :math:`g(n)`. Mathematically, the algorithm is summarized as: + + TODO equation + + where: + + * :math:`x(n)` is the input signal, + * :math:`y(n)` is the output signal, + * :math:`g(n)` is the loop gain, in Neper + * :math:`D()` is the detector function, + * :math:`z(n)` is the detector output, + * :math:`e(n)` is the error signal, + * :math:`A` is the reference value, given by :attr:`ref_power`, + * :math:`K` is the detector gain, given by :attr:`det_gain` + + The detector function :math:`D(\ldots)`, as mentioned, is implemented as a moving average filter: + + TODO equation + + where :math:`N` is the number of samples to average, given by :attr:`avg_len` + + .. rubric:: AGC Performance Criteria + + * Attack time: The duration it takes the AGC to respond to an increase in the input amplitude + * Decay time: The duration it takes the AGC to respond to a decrease in the input amplitude + * Gain pumping: The variation in the gain value during steady-state operation + + Increasing the step size decreases the attack time and decay times, but it also increases gain pumping. + """ + + def __init__(self, ref_power: float, max_gain: float, det_gain: float, avg_len: int): + """ + :param ref_power: Desired output power + :param max_gain: Upper limit on the loop gain (dB) + :param det_gain: Detector gain + :param avg_len: Length of moving average filter (samples) + """ + self.ref_power = ref_power + self._ref_power_ln = np.log(self.ref_power) + self.max_gain = max_gain + self._max_gain_ln = np.log(10**(self.max_gain / 20)) # Np (neper) + self.det_gain = det_gain + self.avg_len = avg_len + # Moving average filter + self._filter_coeffs = np.ones(self.avg_len) / self.avg_len + self._filter_state = np.zeros(self.avg_len - 1) + self._gain = 0.0 # Np (neper) + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + """ + The main work function. + + :param inp: Input samples + :return: Output samples, error signal + """ + out = np.empty_like(inp) + err = np.empty_like(inp) + + inp_pow, self._filter_state = signal.lfilter(self._filter_coeffs, 1, abs(inp)**2, zi=self._filter_state) + inp_pow_ln = np.log(inp_pow) + + for i, v in enumerate(inp): + out[i] = v * np.exp(self._gain) + # z is the detector output. Derivation: + # z = inp_pow[i] * exp(gain)^2 + # z_ln = ln(z) = inp_pow_ln[i] + ln(exp(gain)^2) = inp_pow_ln[i] + 2*gain + z_ln = inp_pow_ln[i] + 2 * self._gain + err[i] = self._ref_power_ln - z_ln + self._gain = min(self._gain + self.det_gain * err[i], self._max_gain_ln) + # _log.debug('AGC loop: err=%f, gain=%f, out=%s', err[i], self._gain, out[i].__format__('.6f')) + return out, err + + def __repr__(self): + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'ref_power={}, max_gain={}, det_gain={}, avg_len={}'.format(self.ref_power, self.max_gain, + self.det_gain, self.avg_len) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/channels.py b/sksdr/channels.py new file mode 100644 index 0000000..f36b08f --- /dev/null +++ b/sksdr/channels.py @@ -0,0 +1,71 @@ +""" +Channel models. +""" +import logging +from typing import Union + +import numpy as np + +_log = logging.getLogger(__name__) + +class AWGNChannel: + """ + Additive white gaussian noise (AWGN) channel model. + """ + def __init__(self, snr: float = np.inf, signal_power: Union[int, str] = 'measured'): + """ + :param snr: The desired SNR (dB) + :param signal_power: The desired signal power (linear units), or a string if the signal is to be measured on each :meth:`__call__()`. + """ + self.snr = snr + self.signal_power = signal_power + + @property + def snr(self) -> float: + """ + The current SNR (dB). + """ + return self._snr + + @snr.setter + def snr(self, value: float): + self._snr = value + self._snr_linear = 10**(self.snr / 10) + + def capacity(self): + r""" + Returns the capacity of the channel. + + The capacity is computed using the Shannon–Hartley formula: :math:`C = B\log_{2}\left(1+\frac{P}{N_0 B}\right)` + """ + return 0.5 * np.log1p(self.snr) / np.log(2.0) + + def __call__(self, inp: np.ndarray) -> np.ndarray: + """ + The main work function. + + :param inp: Input samples + :return: Output samples + """ + size = len(inp) + if self.signal_power == 'measured': + signal_power = np.linalg.norm(inp)**2 / size + else: + signal_power = self.signal_power + + noise_power = signal_power / self._snr_linear + + if inp.dtype == np.complex: + noise = np.sqrt(noise_power / 2) * (np.random.normal(size=size) + 1j * np.random.normal(size=size)) + else: + noise = np.sqrt(noise_power) * np.random.normal(size=size) + return inp + noise + + def __repr__(self) -> str: + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'snr={}, signal_power={}'.format(self.snr, self.signal_power) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/coarse_freq_comp.py b/sksdr/coarse_freq_comp.py new file mode 100644 index 0000000..10ad433 --- /dev/null +++ b/sksdr/coarse_freq_comp.py @@ -0,0 +1,79 @@ +""" +Coarse frequency compensation algorithms. +""" +import logging +from typing import Tuple + +import numpy as np +from numpy.fft import fft, fftshift + +_log = logging.getLogger(__name__) + +class CoarseFrequencyComp: + r""" + Open loop frequency correction to a PSK input signal. + + The algorithm estimates the frequency error :math:`\Delta\hat{f}` by using a periodogram of the :math:`m`\ :sup:`th`\ power of the received signal (the :math:`m`\ :sup:`th`\ power is used since it removes the :math:`m`\ :sup:`th`\ order PSK modulation, leaving only the carrier at a frequency :math:`m` times its original frequency): + + TODO equation + + where :math:`f_s` is the sampling frequency (specified by :attr:`sample_rate`), :math:`m` is the modulation order (specified by :attr:`mod_order`), :math:`r(n)` is the received sequence, and :math:`N` is the number of samples of the periodogram. To avoid aliasing :math:`\Delta\hat{f}` must be restricted to :math:`\left[\frac{-R_{sym}}{2}, \frac{R_{sym}}{2}\right]`, where :math:`R_{sym}=\frac{R_b}{log_2(m)}`, with :math:`R_b` representing the bit rate. + + The algorithm effectively searches for a frequency that maximizes the time average of the :math:`m`\ :sup:`th`\ power of the received signal multiplied by frequencies in the range of :math:`\left[\frac{-R_{sym}}{2}, \frac{R_{sym}}{2}\right]`. As the form of the algorithm is the definition of the DFT of :math:`r^{m}(n)`, searching for a frequency that maximizes the time average is equivalent to searching for a peak line in the spectrum of :math:`r^{m}(n)`. The number of points required by the FFT is + + TODO equation + + where :math:`f_r` is the desired frequency resolution, specified by :attr:`freq_res`. Note that :math:`log_2\left(\frac{f_s}{f_r}\right)` should be rounded up, since it might not be integer. + """ + + def __init__(self, mod_order: int, sample_rate: float, freq_res: float): + """ + :param mod_order: Modulation order (e.g., 2 for BPSK, 4 for QPSK) + :param sample_rate: Input signal sampling rate (Hz) + :param freq_res: Desired frequency resolution (Hz) + """ + self.mod_order = mod_order + self.sample_rate = sample_rate + self.freq_res = freq_res + self._fft_size = int(2**np.ceil(np.log2(self.sample_rate / self.freq_res))) + self._sum_phase = 0.0 + self._prev_buf = np.zeros(self._fft_size, dtype=complex) + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray, float]: + """ + The main work function. + + :param inp: Input samples + :return: Output samples, FFT of the input signal buffer, frequency offset + """ + if len(inp) > self._fft_size: + # TODO Implement average fft + raise NotImplementedError('Average FFT not implemented') + + time_steps = np.arange(0, len(inp) + 1) + raised = inp**self.mod_order + out = np.empty_like(inp) + buf = np.hstack((self._prev_buf[len(raised):], raised)) + self._prev_buf = buf + + abs_fft = abs(fft(buf, self._fft_size)) + shift_fft = fftshift(abs_fft) + max_idx = np.argmax(shift_fft) + offset_idx = max_idx - self._fft_size / 2 + df = self.sample_rate / self._fft_size + freq_offset = df * (offset_idx) / self.mod_order + phase = freq_offset * time_steps / self.sample_rate + + # Frequency correction + out = inp * np.exp(1j * 2 * np.pi * (self._sum_phase - phase[:-1])) + self._sum_phase -= phase[-1] + return out, shift_fft, freq_offset + + def __repr__(self): + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'mod_order={}, sample_rate={}, freq_res={}'.format(self.mod_order, self.sample_rate, self.freq_res) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/fec.py b/sksdr/fec.py new file mode 100644 index 0000000..4f21522 --- /dev/null +++ b/sksdr/fec.py @@ -0,0 +1,55 @@ +import logging +from typing import Tuple + +import numpy as np + +_log = logging.getLogger(__name__) + +class Hamming: +# p p p d d d d +# 1, 2, 3, 1, 2, 3, 4 + G = np.array([[0, 1, 1, 1, 0, 0, 0], + [1, 0, 1, 0, 1, 0, 0], + [1, 1, 0, 0, 0, 1, 0], + [1, 1, 1, 0, 0, 0, 1]]) + + H = np.array([[1, 0, 0, 0, 1, 1, 1], + [0, 1, 0, 1, 0, 1, 1], + [0, 0, 1, 1, 1, 0, 1]]) + +# Encode the data value 1010 using the Hamming code defined by the matrix G (above) +# |1 0 1 0| |0 1 1 1 0 0 0| +# |1 0 1 0 1 0 0| = |1 0 1 1 0 1 0| +# |1 1 0 0 0 1 0| | | | | | | | +# |1 1 1 0 0 0 1| | | | | | | +-->(1 × 0) + (0 × 0) + (1 × 0) + (0 × 1) +# | | | | | +---->(1 × 0) + (0 × 0) + (1 × 1) + (0 × 0) +# | | | | +------>(1 × 0) + (0 × 1) + (1 × 0) + (0 × 0) +# | | | +-------->(1 × 1) + (0 × 0) + (1 × 0) + (0 × 0) +# | | +---------->(1 × 1) + (0 × 1) + (1 × 0) + (0 × 1) +# | +------------>(1 × 1) + (0 × 0) + (1 × 1) + (0 × 1) +# +-------------->(1 × 0) + (0 × 1) + (1 × 1) + (0 × 1) + + def __init__(self, ntotal: int, ndata: int): + self.ntotal = ntotal + self.ndata = ndata + + def encode(self, inp: np.ndarray) -> np.ndarray: # TODO hardcoded for 7,4 rate + out = np.empty(int(len(inp) * 7 / 4), dtype=int) + for i, j in zip(range(0, len(inp), 4), range(0, len(out), 7)): + out[j : j + 7] = inp[i : i + 4] @ self.G % 2 + return out + + def decode(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: # TODO hardcoded for 7,4 rate + out = np.empty(int(len(inp) * 4 / 7), dtype=int) + flipped = np.zeros(int(len(inp) * 4 / 7), dtype=int) + for i, j in zip(range(0, len(inp), 7), range(0, len(out), 4)): + out[j : j + 4] = inp[i + 3 : i + 7] + syndrome = self.H @ inp[i : i + 7] % 2 + if not np.all(syndrome == 0): + for k in range(7): + if np.all(syndrome == self.H[:, k]): + flipped[i + k] = 1 + if k >= 3: + out[j + k - 3] ^= 1 + break + return out, flipped diff --git a/sksdr/frame_sync.py b/sksdr/frame_sync.py new file mode 100644 index 0000000..d6f6d08 --- /dev/null +++ b/sksdr/frame_sync.py @@ -0,0 +1,62 @@ +import logging +from typing import Tuple + +import numpy as np +import scipy.signal as signal + +_log = logging.getLogger(__name__) + +class FrameSync: + def __init__(self, preamble: np.ndarray, threshold: float, frame_size: int): + self.preamble = np.flipud(np.conj(preamble)) + self.threshold = threshold + self.frame_size = frame_size + self._filter_state = np.zeros(len(self.preamble) - 1) + self._buf = np.empty(0) + self._xcorr = np.empty(0) + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray, bool]: + + # Correlate with preamble + xcorr, self._filter_state = signal.lfilter(self.preamble, 1, inp, zi=self._filter_state) + if np.any(np.iscomplex(inp)) or np.any(np.iscomplex(self.preamble)): + xcorr = np.abs(xcorr) + + self._buf = np.hstack((self._buf, inp)) + self._xcorr = np.hstack((self._xcorr, xcorr)) + + # Find indexes that exceed the threshold + idxs = np.where(self._xcorr >= self.threshold)[0] + + if len(idxs) == 0: + return None, idxs, False + + best_idx = idxs[0] + for idx in idxs[1:]: + if idx - idxs[0] < (self.frame_size / 2) and self._xcorr[idx] > self._xcorr[best_idx]: + best_idx = idx + + frame_start = best_idx - len(self.preamble) + 1 + frame_end = frame_start + self.frame_size + + if frame_start < 0: + ret = None + self._buf = self._buf[best_idx + 1:] + self._xcorr = self._xcorr[best_idx + 1:] + valid = False + elif frame_end > len(self._buf): + ret = None + self._buf = self._buf[frame_start:] + self._xcorr = self._xcorr[frame_start:] + valid = False + else: + ret = self._buf[frame_start:frame_end] + self._buf = self._buf[frame_end:] + self._xcorr = self._xcorr[frame_end:] + valid = True + + return ret, idxs, valid + + def __repr__(self): + args = 'preamble={}, threshold={}, frame_size={}'.format(self.preamble, self.threshold, self.frame_size) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/freq_sync.py b/sksdr/freq_sync.py new file mode 100644 index 0000000..c383e43 --- /dev/null +++ b/sksdr/freq_sync.py @@ -0,0 +1,100 @@ +import logging +from typing import Tuple + +import numpy as np + +from .modulation import BPSK, QPSK, Modulation + +_log = logging.getLogger(__name__) + +class FrequencySync: + def __init__(self, mod: Modulation, sps: int, damp_factor: float, norm_loop_bw: float): + self.sps = sps + self.mod = mod + + # ζ (damping factor) + self.damp_factor = damp_factor + + # Loop bandwidth normalized by sample rate + self.norm_loop_bw = norm_loop_bw # Hz + self.dds_gain = -1.0 + + self._prev_sample = 0j + self._dds_prev_input = 0.0 + self._integratorfilt_state = 0.0 + self._loopfilt_state = 0.0 + self._phase = 0.0 + + # Kp is the slope of phase detector S-Curve in the linear range + # BPSK: Kp = K * A^2 + # QPSK: Kp = 2 * K * A^2 + # K = Amplitude of received signal (unit gain from AGC) + # A = Norm of constellation point + if self.mod == BPSK: + self.ped = 1 + self.ped_gain = 1 # Kp + elif self.mod == QPSK: + self.ped = 2 + self.ped_gain = 2 # Kp + else: + raise NotImplementedError('Only BPSK and QPSK are implemented') + + # Loop bandwidth normalized by sample rate + phase_recovery_loop_bw = self.norm_loop_bw * self.sps + + # K0 (phase detector gain) + phase_recovery_gain = self.sps + theta = phase_recovery_loop_bw / ((self.damp_factor + 0.25 / self.damp_factor) * self.sps) + d = 1 + 2 * self.damp_factor * theta + theta * theta + + # K1 (loop filter proportional gain) + self.p_gain = (4 * self.damp_factor * theta/d) / (self.ped_gain * phase_recovery_gain) + # K2 (loop filter integral gain) + self.i_gain = (4 / self.sps * theta * theta/d) / (self.ped_gain * phase_recovery_gain) + + _log.debug('FSYNC init: phase_recovery_loop_bw=%f, phase_recovery_gain=%f, theta=%f, d=%f, p_gain=%f, i_gain=%f', + phase_recovery_loop_bw, phase_recovery_gain, theta, d, self.p_gain, self.i_gain) + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + # Preallocate outputs + out = np.empty_like(inp) + phase_correction = np.empty_like(inp, dtype=float) + + def common_logic(): + # Phase accumulate and correct + out[idx] = val * np.exp(1j * self._phase) + + # Loop filter + loopfilt_out = ph_err * self.i_gain + self._loopfilt_state + self._loopfilt_state = loopfilt_out + + # DDS implemented as an integrator + dds_out = self._dds_prev_input + self._integratorfilt_state + self._integratorfilt_state = dds_out + self._dds_prev_input = ph_err * self.p_gain + loopfilt_out + + self._phase = self.dds_gain * dds_out + phase_correction[idx] = self._phase + self._prev_sample = out[idx] + + if self.ped == 1: # BPSK + for idx, val in enumerate(inp): + # Compute phase error + ph_err = np.sign(self._prev_sample.real) * self._prev_sample.imag + common_logic() + + elif self.ped == 2: # QPSK + for idx, val in enumerate(inp): + # Compute phase error + ph_err = np.sign(self._prev_sample.real) * self._prev_sample.imag \ + - np.sign(self._prev_sample.imag) * self._prev_sample.real + common_logic() + + # Change sign to convert from correction to estimate + phase_estimate = -1 * phase_correction + return out, phase_estimate + + def __repr__(self): + args = 'sps={}, mod={}, damp_factor={}, norm_loop_gain={}' \ + .format(self.sps, repr(self.mod), self.damp_factor, self.norm_loop_bw) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/impairments.py b/sksdr/impairments.py new file mode 100644 index 0000000..e5809b3 --- /dev/null +++ b/sksdr/impairments.py @@ -0,0 +1,65 @@ +""" +Channel impairments. +""" +import logging +from collections import deque +from typing import Tuple + +import numpy as np + +_log = logging.getLogger(__name__) + +class PhaseFrequencyOffset: + """ + The ``PhaseFrequencyOffset`` module applies phase and frequency offsets to an incoming signal. + """ + def __init__(self, sample_rate: float, freq_offset: float = 0, phase_offset: float = 0): + self.sample_rate = sample_rate + self.freq_offset = freq_offset + self.phase_offset = np.deg2rad(phase_offset) + self._sum_phase = 0.0 + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + time_steps = np.arange(0, len(inp) + 1) + phase = self.freq_offset * time_steps / self.sample_rate + + # Apply frequency and phase offset + out = inp * np.exp(1j * 2 * np.pi * (self._sum_phase + phase[:-1] + self.phase_offset)) + self._sum_phase += phase[-1] + return out, phase + + def __repr__(self): + args = 'sample_rate={}, freq_offset={}, phase_offset={}'.format(self.sample_rate, self.freq_offset, + self.phase_offset) + return '{}({})'.format(self.__class__.__name__, args) + +class VariableFractionalDelay: + """ + The ``VariableFractionalDelay`` module delays the input signal by a specified (and potentially fractional) number of samples. + + ``max\_delay`` (samples): The maximum delay + ``init\_state``: The initial value to fill in the circular buffer that holds the samples (default=0). + + The module interpolates the input signal to obtain new samples at non-integer sampling intervals. The only available interpolation method currently is *linear* interpolation. The delay can vary with each invocation of the module (specified by the \code{delay} argument in the \code{\_\_call\_\_()} function). This allows to create a delay profile say, for example, in a triangle or sawtooth shape. The maximum value of the delay is specified using \code{max\_delay}. Delay values greater than the maximum are clipped to the maximum. + + The module has a circular buffer of size $\code{max\_delay}+1$ that holds the previous samples, from which it can then compute the interpolation, to obtain the output sequence. + """ + def __init__(self, max_delay: float, init_state: int = 0): + self.max_delay = max_delay + self.init_state = init_state + self._buf = deque([self.init_state] * (self.max_delay + 1), maxlen=self.max_delay + 1) + + def __call__(self, inp: np.ndarray, delay: float) -> np.ndarray: + out = np.empty_like(inp) + int_part = int(np.floor(delay)) + frac_part = delay - int_part + for i in range(len(inp)): + self._buf.append(inp[i]) + idx = max(-int_part - 2, -len(self._buf)) + out[i] = self._buf[idx] * frac_part + self._buf[idx + 1] * (1 - frac_part) + + return out + + def __repr__(self): + args = 'max_delay={}, init_state={}'.format(self.max_delay, self.init_state) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/interp_decim.py b/sksdr/interp_decim.py new file mode 100644 index 0000000..c314cd1 --- /dev/null +++ b/sksdr/interp_decim.py @@ -0,0 +1,87 @@ +""" +Interpolation and decimation algorithms. +""" +import logging +from typing import Tuple + +import numpy as np +import scipy.signal as signal + +_log = logging.getLogger(__name__) + +class FirInterpolator: + """ + Upsamples and filters the input signal. + """ + def __init__(self, factor: int, coeffs: list): + """ + :param factor: Interpolation factor + :param coeffs: Filter coefficients + """ + self.factor = factor + self.coeffs = coeffs + self._filter_state = np.zeros(len(self.coeffs) - 1) + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + """ + The main work function. + + :param inp: Input samples + :return: Upsampled samples, filtered samples + """ + upsampled = upsample(inp, self.factor) + filtered, self._filter_state = signal.lfilter(self.coeffs, 1, upsampled, zi=self._filter_state) + return upsampled, filtered + + def __repr__(self): + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'factor={}, coeffs={}'.format(self.factor, self.coeffs) + return '{}({})'.format(self.__class__.__name__, args) + +class FirDecimator: + """ + Filters and downsamples the input signal. + """ + def __init__(self, factor: int, coeffs: list): + """ + :param factor: Interpolation factor + :param coeffs: Filter coefficients + """ + self.factor = factor + self.coeffs = coeffs + self._filter_state = np.zeros(len(self.coeffs) - 1) + + def __call__(self, inp: np.ndarray) -> Tuple[np.ndarray, np.ndarray]: + """ + The main work function. + + :param inp: Input samples + :return: Upsampled samples, filtered samples + """ + filtered, self._filter_state = signal.lfilter(self.coeffs, 1, inp, zi=self._filter_state) + downsampled = downsample(filtered, self.factor) + return filtered, downsampled + + def __repr__(self): + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'factor={}, coeffs={}'.format(self.factor, self.coeffs) + return '{}({})'.format(self.__class__.__name__, args) + +def upsample(inp, factor: int): + out = np.empty(len(inp) * factor, dtype=complex) + out[::factor] = inp + zero_array = np.zeros(len(inp), dtype=complex) + for i in range(1, factor): + out[i::factor] = zero_array + return out + +def downsample(inp, factor: int): + return inp[::factor] diff --git a/sksdr/modulation.py b/sksdr/modulation.py new file mode 100644 index 0000000..0c6886a --- /dev/null +++ b/sksdr/modulation.py @@ -0,0 +1,119 @@ +""" +Digital modulation schemes. +""" +import logging + +import numpy as np + +from .utils import x2binlist + +_log = logging.getLogger(__name__) + +class Modulation: + """ + Represents a modulation type, such as BPSK or QPSK. + """ + def __init__(self, name: str, order: int): + """ + :param name: The modulation name + :param order: The order of the modulation. This determines the bits per symbol. + """ + self.name = name + self.order = order + + @property + def order(self) -> int: + """ + Returns the order of the modulation. + """ + return self._order + + @order.setter + def order(self, value: int): + self._order = value + self.bits_per_symbol = int(np.log2(self.order)) + + def __repr__(self): + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'name={}, order={}, bits_per_symbol={}'.format(self.name, self.order, self.bits_per_symbol) + return '{}({})'.format(self.__class__.__name__, args) + +BPSK = Modulation('BPSK', 2) +""" +BPSK modulation +""" + +QPSK = Modulation('QPSK', 4) +""" +QPSK modulation +""" + +modulations = ( + BPSK, + QPSK +) +""" +A tuple of the existing modulations. +""" + +class PSKModulator: + """ + Modulates a stream of bits into complex symbols and vice-versa. + + Supports BPSK and QPSK modulation schemes. :attr:`labels` specifies the mapping between bits and symbols (the class uses :math:`m` LSB bits from each of the list elements, where :math:`m` is the modulation order). :attr:`amplitude` specifies the absolute value of the symbols (i.e., its L2-norm). :attr:`phase_offset` is the offset of the first symbol in the complex plane. Only ‘hard’ demodulation is supported at the moment (i.e., the module chooses the constellation point closest to the symbol). + """ + def __init__(self, mod: Modulation, labels: list, amplitude: float = 1.0, phase_offset: float = 0.0): + """ + :param mod: The desired modulation (:data:`BPSK` or :data:`QPSK`) + :param labels: Bits to symbols mapping. Typically Gray encoding is used. + :param amplitude: The L2-norm of the constellation symbols + :param phase_offset: The initial phase offset (rad) + """ + self.mod = mod + self.labels = labels + self.constellation = amplitude * np.exp(1j * (2 * np.pi * np.arange(self.mod.order) / self.mod.order + phase_offset)) + self._map = dict(zip([tuple(x2binlist(x, self.mod.bits_per_symbol)) for x in labels], self.constellation)) + self._inv_map = dict(zip(self._map.values(), self._map.keys())) + + def modulate(self, bits: np.ndarray) -> np.ndarray: + """ + Modulates a stream of bits into symbols. + + :param bits: Input bits + :return: Output symbols + """ + m = self.mod.bits_per_symbol + n_symbols = len(bits) // m + assert len(bits) == n_symbols * m + symbols = np.empty(n_symbols, dtype=complex) + for i, bit_sequence in enumerate(np.reshape(bits, newshape=(n_symbols, m))): + symbols[i] = self._map[tuple(bit_sequence)] + return symbols + + def demodulate(self, symbols: np.ndarray) -> np.ndarray: + """ + Demodulates a stream of symbols into bits. + + :param bits: Input bits + :return: Output symbols + """ + bps = self.mod.bits_per_symbol + bits = np.empty(len(symbols) * bps, dtype=int) + for i, s in enumerate(symbols): + s_idx = np.argmin(np.abs(s - self.constellation)) + s_hat = self.constellation[s_idx] + bits[i * bps : (i + 1) * bps] = self._inv_map[s_hat] + return bits + + def __repr__(self): + """ + Returns a string representation of the object. + + :return: A string representing the object and it's properties. + """ + args = 'mod={}, labels={}, constellation={}'.format(self.mod, self.labels, self.constellation) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/phase_offset_est.py b/sksdr/phase_offset_est.py new file mode 100644 index 0000000..a04c7c4 --- /dev/null +++ b/sksdr/phase_offset_est.py @@ -0,0 +1,24 @@ +import logging + +import numpy as np + +_log = logging.getLogger(__name__) + +class PhaseOffsetEst: + def __init__(self, preamble: np.ndarray): + self.preamble = preamble + + def __call__(self, inp: np.ndarray) -> np.ndarray: + cprb = np.conj(self.preamble) + sprb = inp[:len(self.preamble)] + + phase_vector_est = np.mean(sprb * cprb) + phase_est = np.angle(phase_vector_est) + phase_est_discrete = np.round(phase_est * 2 / np.pi) * np.pi / 2 + + out = inp * np.exp(1j * -phase_est_discrete) + return out + + def __repr__(self): + args = 'preamble={}'.format(self.preamble) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/plotting.py b/sksdr/plotting.py new file mode 100644 index 0000000..cf9851d --- /dev/null +++ b/sksdr/plotting.py @@ -0,0 +1,69 @@ +import logging + +import matplotlib.pyplot as plt +import numpy as np +import scipy.signal as signal +from numpy.fft import fft, fftfreq, fftshift + +_log = logging.getLogger(__name__) + +def time_plot(data, data_label, ts, title, xlabel='Time (s)', ylabel='Amplitude', fig=None, gs=None): + fig = fig if fig else plt.figure() + ax = fig.add_subplot(gs) if gs else fig.add_subplot() + ax.xaxis.tick_top() + #ax.xaxis.set_label_position('top') + for i, d in enumerate(data): + ax.plot(np.arange(len(data[i])) * ts[i], d, label=data_label[i], marker='.') + # TODO: Add more than 1 secondary axis + secax = ax.secondary_xaxis('bottom', functions=(lambda x: x/ts[i], lambda x: x/ts[i])) + secax.set_xlabel('Sample') + ax.set_xlabel(xlabel) + ax.set_ylabel(ylabel) + if any(x for x in data_label): + ax.legend() + ax.grid() + ax.set_title(title) + return fig + +def scatter_plot(data, title, xlabel='Re', ylabel='Im', xlim=[-1.5, 1.5], ylim=[-1.5, 1.5], fig=None, gs=None): + fig = fig if fig else plt.figure() + ax = fig.add_subplot(gs) if gs else fig.add_subplot() + ax.scatter(data.real, data.imag) + ax.axis('square') + ax.set_xlim(xlim) + ax.set_ylim(ylim) + ax.set_xlabel(xlabel) + ax.set_ylabel(ylabel) + ax.set_title(title) + ax.grid() + return fig + +def psd_plot(data, fs, title, xlabel='Frequency (Hz)', ylabel='Magnitude (dB)', fig=None, gs=None): + fig = fig if fig else plt.figure() + ax = fig.add_subplot(gs) if gs else fig.add_subplot() + fourier = fft(data) + freqs = fftfreq(len(data)) * fs + plt.plot(fftshift(freqs), fftshift(20 * np.log10(np.abs(fourier)))) + ax.set_xlabel(xlabel) + ax.set_ylabel(ylabel) + ax.set_title(title) + ax.grid() + return fig + +def freqz_plot(b, a, fs, plot_type, title, xlabel='Frequency (Hz)', ylabel=None, fig=None, gs=None): + w, h = signal.freqz(b, a, fs=fs) + fig = fig if fig else plt.figure() + ax = fig.add_subplot(gs) if gs else fig.add_subplot() + if plot_type == 'mag': + ax.plot(w, np.abs(h)) + ax.set_ylabel(ylabel if ylabel else 'Magnitude') + elif plot_type == 'mag_db': + ax.plot(w, 20 * np.log10(np.abs(h))) + ax.set_ylabel(ylabel if ylabel else 'Magnitude (dB)') + else: + ax.plot(w, np.angle(h, True)) + ax.set_ylabel(ylabel if ylabel else 'Phase (degrees)') + ax.set_xlabel(xlabel) + ax.set_title(title) + ax.grid() + return fig diff --git a/sksdr/psk_trans.py b/sksdr/psk_trans.py new file mode 100644 index 0000000..a71ab2d --- /dev/null +++ b/sksdr/psk_trans.py @@ -0,0 +1,217 @@ +import logging +from logging import DEBUG + +import numpy as np + +from .agc import AGC +from .channels import AWGNChannel +from .coarse_freq_comp import CoarseFrequencyComp +from .frame_sync import FrameSync +from .freq_sync import FrequencySync +from .impairments import PhaseFrequencyOffset, VariableFractionalDelay +from .interp_decim import FirDecimator, FirInterpolator +from .modulation import QPSK, PSKModulator +from .phase_offset_est import PhaseOffsetEst +from .pulses import rrc +from .scrambling import Descrambler, Scrambler +from .sequences import UNIPOLAR_BARKER_SEQ +from .symbol_sync import SymbolSync +from .utils import binlist2x, x2binlist + +_log = logging.getLogger(__name__) + +class PSKTrans: + def __init__(self, sample_rate=200.0e3, upsampling=4, downsampling=2, frame_size=100, + # Modulation + modulation=QPSK, mod_symbols=[0, 1, 3, 2], mod_amplitude=1.0, mod_phase_offset=np.pi/4, + # Scrambling + scrambler_poly=[1, 1, 1, 0, 1], scrambler_init_state=[0, 1, 1, 0], + # RRC filtering + rrc_rolloff=0.5, rrc_span=10, + # AGC + agc_ref_power=1/4, agc_max_gain=60.0, agc_det_gain=0.01, agc_avg_len=100, # agc_ref_power = 1/upsampling + # Coarse frequency compensation + coarse_freq_comp_res=25.0, + # Frequency synchronization + fsync_damp_factor=1.0, fsync_norm_loop_bw=0.01, + # Symbol timing synchronization + ssync_K=1.0, ssync_A=1/np.sqrt(2), ssync_damp_factor=1.0, ssync_norm_loop_bw=0.01, + # Frame synchronization + prb_det_thr=8.0, + # Channel settings + chan_snr=np.inf, chan_signal_power='measured', + chan_delay_type='triangle', chan_delay_step=0.0, chan_max_delay=0.0, + chan_freq_offset=0.0, chan_phase_offset=0.0): + + # General settings + self.sample_rate = sample_rate + self.modulation = modulation + self.mod_symbols = mod_symbols + self.mod_amplitude = mod_amplitude + self.mod_phase_offset = mod_phase_offset + self.upsampling = upsampling + self.downsampling = downsampling + self.frame_size_symbols = frame_size # symbols + self._frame_size_bits = self.frame_size_symbols * self.modulation.bits_per_symbol # bits + self._frame_size_samples = self.frame_size_symbols * self.upsampling # samples + self._rx_frame_size_samples = int(self._frame_size_samples / self.downsampling) + self._rx_filter_sps = int(self.upsampling / self.downsampling) + + # Modulator + self._psk = PSKModulator(self.modulation, self.mod_symbols, self.mod_amplitude, self.mod_phase_offset) + + # Scrambler + self.scrambler_poly = scrambler_poly + self.scrambler_init_state = scrambler_init_state + self._scrambler = Scrambler(self.scrambler_poly, self.scrambler_init_state) + + # Descrambler + self._descrambler = Descrambler(self.scrambler_poly, self.scrambler_init_state) + + # FIR interpolator with RRC coefficients + self.rrc_rolloff = rrc_rolloff + self.rrc_span = rrc_span # symbols + self._rrc = rrc(self.upsampling, self.rrc_rolloff, self.rrc_span) + self._interp = FirInterpolator(self.upsampling, self._rrc) + + # AGC + self.agc_ref_power = agc_ref_power + self.agc_max_gain = agc_max_gain # dB + self.agc_det_gain = agc_det_gain + self.agc_avg_len = agc_avg_len + self._agc = AGC(self.agc_ref_power, self.agc_max_gain, self.agc_det_gain, self.agc_avg_len) + + # FIR decimator with RRC coefficients + self._decim = FirDecimator(self.downsampling, self._rrc) + + # Coarse frequency compensator + self.coarse_freq_comp_res = coarse_freq_comp_res + self._cfc = CoarseFrequencyComp(self.modulation.order, self.sample_rate, + self.coarse_freq_comp_res) + + # Frequency synchronizer + self.fsync_damp_factor = fsync_damp_factor + self.fsync_norm_loop_bw = fsync_norm_loop_bw + self._fsync = FrequencySync(self.modulation, self._rx_filter_sps, self.fsync_damp_factor, self.fsync_norm_loop_bw) + + # Symbol timing synchronizer + self.ssync_damp_factor = ssync_damp_factor + self.ssync_norm_loop_bw = ssync_norm_loop_bw + self.ssync_K = ssync_K + self.ssync_A = ssync_A + self._ssync = SymbolSync(self.modulation, self._rx_filter_sps, + self.ssync_damp_factor, self.ssync_norm_loop_bw, self.ssync_K, self.ssync_A) + + # Frame synchronizer + self.prb_det_thr = prb_det_thr + self._preamble = np.repeat(UNIPOLAR_BARKER_SEQ[13], 2) + self._mod_preamble = self._psk.modulate(self._preamble) + self._frame_sync = FrameSync(self._mod_preamble, self.prb_det_thr, self.frame_size_symbols) + + # Phase offset estimator + self._phase_off_est = PhaseOffsetEst(self._mod_preamble) + + # Channel settings + self.chan_snr = chan_snr # dB + self.chan_signal_power = chan_signal_power + self._chan = AWGNChannel(self.chan_snr, self.chan_signal_power) + + # Variable fractional delay impairment + self.chan_max_delay = chan_max_delay + self.chan_delay_type = chan_delay_type + self.chan_delay_step = chan_delay_step + self.chan_delay_num_steps = 0 if self.chan_delay_step == 0.0 else self.chan_max_delay / self.chan_delay_step + self._vfd = VariableFractionalDelay(self._frame_size_samples) + + # Phase/Frequency offset impairment + self.chan_phase_offset = chan_phase_offset + self.chan_freq_offset = chan_freq_offset + self._pfo = PhaseFrequencyOffset(self.sample_rate, self.chan_freq_offset, self.chan_phase_offset) + + def transmit(self, msg): + ret = dict() + + # Build frame bits + ret['payload'] = x2binlist(msg, 8) + ret['fill'] = np.random.randint(0, 1, self._frame_size_bits - len(self._preamble) - len(ret['payload'])) + ret['bits'] = np.hstack((ret['payload'], ret['fill'])) # TODO: Avoid array copy + + # Scramble bits + ret['sbits'] = self._scrambler(ret['bits']) + ret['final_bits'] = np.hstack((self._preamble, ret['sbits'])) + + # Modulate symbols + ret['symbols'] = self._psk.modulate(ret['final_bits']) + + # Upsample and pulse shaping filter + ret['usymbols'], ret['frame'] = self._interp(ret['symbols']) + return ret + + def channel(self, frame, count): + # Variable fractional delay + index = 0 if self.chan_delay_num_steps == 0 else count % (2 * self.chan_delay_num_steps) + if index <= self.chan_delay_num_steps: + delay = index * self.chan_delay_step + else: + delay = 2 * self.chan_max_delay - index * self.chan_delay_step + vfd_frame = self._vfd(frame, delay) + # Phase/frequency offset + pfo_frame, _ = self._pfo(vfd_frame) + return self._chan(pfo_frame) + + def receive(self, frame, tx_msg=None): + ret = dict() + + # AGC + ret['agc_frame'], ret['agc_error'] = self._agc(frame) + _log.log(DEBUG-1, ret['agc_frame']) + + # Matched filter and downsample + _, ret['rx_filter_down_frame'] = self._decim(ret['agc_frame']) + _log.log(DEBUG-1, ret['rx_filter_down_frame']) + + # Frequency compensation + ret['cfc_frame'], ret['cfc_spectrum'], ret['cfc_offset'] = self._cfc(ret['rx_filter_down_frame']) + _log.log(DEBUG-1, ret['cfc_frame']) + + # Carrier synchronizer + ret['fsync_frame'], ret['fsync_estimate'] = self._fsync(ret['cfc_frame']) + _log.log(DEBUG-1, ret['fsync_frame']) + + # Symbol synchronizer + ret['ssync_frame'], _, _ = self._ssync(ret['fsync_frame']) + _log.log(DEBUG-1, ret['ssync_frame']) + + # Frame synchronizer + ret['frame_sync_frame'], ret['prb_end_idxs'], ret['valid'] = self._frame_sync(ret['ssync_frame']) + _log.log(DEBUG-1, ret['frame_sync_frame']) + + if ret['valid']: + # Phase ambiguity correction + ret['phase_amb_frame'] = self._phase_off_est(ret['frame_sync_frame']) + _log.log(DEBUG-1, ret['phase_amb_frame']) + + # Demodulate symbols + ret['rx_sbits'] = self._psk.demodulate(ret['phase_amb_frame']) + _log.log(DEBUG-1, ret['rx_sbits']) + + # Descramble bits after the preamble + ret['payload'] = self._descrambler(ret['rx_sbits'][len(self._preamble):]) + _log.log(DEBUG-1, ret['payload']) + + # Compute BER + if tx_msg is None: + rxbits = ret['payload'] + else: + txbits = x2binlist(tx_msg, 8) + rxbits = ret['payload'][:len(tx_msg) * 8] + ret['BER'] = [np.count_nonzero(rxbits != txbits), len(rxbits)] + + # Convert the payload to ASCII + ret['rx_msg'] = binlist2x(rxbits, 8) + ret['rx_msg_ascii'] = [chr(x) for x in ret['rx_msg']] + _log.debug(ret['rx_msg_ascii']) + + else: + ret['phase_amb_frame'], ret['rx_sbits'], ret['payload'], ret['rx_msg'] = [np.zeros(1)] * 4 + return ret diff --git a/sksdr/pulses.py b/sksdr/pulses.py new file mode 100644 index 0000000..a208ddd --- /dev/null +++ b/sksdr/pulses.py @@ -0,0 +1,35 @@ +import logging + +import numpy as np + +_log = logging.getLogger(__name__) + +def rrc(sps: int, rolloff: float, span: int) -> np.ndarray: + # Design the filter + n = np.arange(-span * sps / 2, span * sps / 2 + 1) + b = np.zeros(len(n)) + sps *= 1.0 + a = rolloff + for i, v in enumerate(n): + if abs(1 - 16 * a**2 * (v / sps)**2) <= np.finfo(np.float).eps / 2: + b[i] = 1 / 2.0 * ((1 + a) * np.sin((1 + a) * np.pi / (4.0 * a)) - (1 - a) * np.cos((1 - a) * np.pi / (4.0 * a)) + (4 * a) / np.pi * np.sin((1 - a) * np.pi / (4.0 * a))) + else: + b[i] = 4 * a / (np.pi * (1 - 16 * a**2 * (v / sps)**2)) + b[i] = b[i] * (np.cos((1 + a) * np.pi * v / sps) + np.sinc((1 - a) * v / sps) * (1 - a) * np.pi / (4.0 * a)) + + # Make it a unit energy pulse + energy = np.sum(b**2) + return b / np.sqrt(energy) + +class RRCPulse: + def __init__(self, sps: int, rolloff: float, span:int): + self.sps = sps + self.rolloff = rolloff + self.span = span + + def coeffs(self): + return rrc(self.sps, self. rolloff, self.span) + + def __repr__(self): + args = 'sps={}, rolloff={}, span={}'.format(self.sps, self.rolloff, self.span) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/scrambling.py b/sksdr/scrambling.py new file mode 100644 index 0000000..20912c7 --- /dev/null +++ b/sksdr/scrambling.py @@ -0,0 +1,51 @@ +import logging +from collections import deque + +import numpy as np + +_log = logging.getLogger(__name__) + +class Scrambler: + def __init__(self, poly: list, init_state: list): + self.poly = poly + self.init_state = init_state + self._state = deque(self.init_state, maxlen=4) + + def __call__(self, data: np.ndarray) -> np.ndarray: + y = np.empty_like(data) + for i, b in enumerate(data): + for j in range(1, len(self.poly)): + if self.poly[j]: + b ^= self._state[j-1] + # to work with modulo-N, use this instead of XOR + #b = (b + data) % N + y[i] = b + self._state.appendleft(b) + return y + + def __repr__(self): + args = 'poly={}, init_state={}'.format(self.poly, self.init_state) + return '{}({})'.format(self.__class__.__name__, args) + + +class Descrambler: + def __init__(self, poly: list, init_state: list): + self.poly = poly + self.init_state = init_state + self._state = deque(self.init_state, maxlen=4) + + def __call__(self, data: np.ndarray) -> np.ndarray: + y = np.empty_like(data) + for i, b in enumerate(data): + for j in range(1, len(self.poly)): + if self.poly[j]: + b ^= self._state[j-1] + # to work with modulo-N, use this instead of XOR + #b = (b + data) % N + y[i] = b + self._state.appendleft(data[i]) + return y + + def __repr__(self): + args = 'poly={}, init_state={}'.format(self.poly, self.init_state) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/sequences.py b/sksdr/sequences.py new file mode 100644 index 0000000..266a95f --- /dev/null +++ b/sksdr/sequences.py @@ -0,0 +1,13 @@ +import logging + +_log = logging.getLogger(__name__) + +UNIPOLAR_BARKER_SEQ = { + 2: [0, 1], + 3: [1, 1, 0], + 4: [1, 1, 0, 1], + 5: [1, 1, 1, 0, 1], + 7: [1, 1, 1, 0, 0, 1, 0], + 11: [1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0], + 13: [1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1], + } diff --git a/sksdr/symbol_sync.py b/sksdr/symbol_sync.py new file mode 100644 index 0000000..f0a4d17 --- /dev/null +++ b/sksdr/symbol_sync.py @@ -0,0 +1,128 @@ +import logging +from typing import Optional, Tuple + +import numpy as np + +from .modulation import BPSK, QPSK, Modulation + +_log = logging.getLogger(__name__) + +class SymbolSync: + def __init__(self, mod: Modulation, sps: int, damp_factor: float, norm_loop_bw: float, K: float, A: float): + self.mod = mod + self.sps = sps + + # Interpolator config + self.mu = 0. + self.alpha = 0.5 + self._coeffs = np.array([ + [ 0, 0, 1, 0], + [-self.alpha, 1+self.alpha, -(1-self.alpha), -self.alpha], + [ self.alpha, -self.alpha, -self.alpha, self.alpha]]) + self._interp_states = np.zeros((3, 1)) + + # ζ (damping factor) + self.damp_factor = damp_factor + + # Loop bandwidth normalized by sample rate + self.norm_loop_bw = norm_loop_bw + + # Derive proportional gain (K1) and integrator gain (K2) in the loop + # filter. Kp for Timing Recovery PLL, determined by 2KA^2*2.7 (for + # binary PAM), QPSK could be treated as two individual binary PAM, 2.7 + # is for raised cosine filter with roll-off factor 0.5 + self.K = K + self.A = A + if self.mod == BPSK: + det_gain = 2.7 * 2 * self.K * self.A**2 + elif self.mod == QPSK: + det_gain = 2.7 * 2 * self.K * self.A**2 + 2.7 * 2 * self.K * self.A**2 + else: + raise NotImplementedError('Only BPSK and QPSK are implemented') + + zeta = self.damp_factor + BnTs = self.norm_loop_bw + Kp = det_gain + K0 = -1.0 + theta = BnTs / sps / (zeta + 0.25 / zeta) + d = (1 + 2 * zeta * theta + theta**2) * K0 * Kp + self.p_gain = (4 * zeta * theta) / d + self.i_gain = (4 * theta * theta) / d + + self._loopfilt_state = 0.0 + self._loopfilt_prev_in = 0.0 + + # TED config + self._ted_buf = np.zeros(sps, dtype=complex) + + # Counter config + self._strobe = False + self._strobe_count = 0 + self._strobe_hist = np.zeros(sps) + self._nco_count = 0 + + _log.debug('SSYNC init: theta=%f, d=%f, p_gain=%f, i_gain=%f', theta, d, self.p_gain, self.i_gain) + + def __call__(self, inp: np.ndarray, nout: Optional[int] = None) -> Tuple[np.ndarray, int, np.ndarray]: + _symbols = np.empty(int(len(inp) / self.sps * 1.1), dtype=complex) + _timing_err = np.empty_like(inp) + self._strobe_count = 0 + + idx = 0 + for idx, i in enumerate(inp): + # Interpolator + _timing_err[idx] = self.mu + + xseq = np.vstack((i, self._interp_states)) + int_v = self._coeffs.dot(xseq) + int_out = np.sum(int_v * np.array([[1, self.mu, self.mu**2]]).T) + self._interp_states = xseq[:3] + + if self._strobe: + _symbols[self._strobe_count] = int_out + self._strobe_count += 1 + + # ZCTED + # Calculate the midsample point for odd or even samples per symbol + if self._strobe and not np.any(self._strobe_hist[1:]): + l = len(self._ted_buf) / 2 + t1 = self._ted_buf[int(np.floor(l))] + t2 = self._ted_buf[int(np.ceil(l))] + mid_sample = (t1 + t2) / 2 + e = mid_sample.real * (np.sign(self._ted_buf[0].real) - np.sign(int_out.real)) \ + + mid_sample.imag * (np.sign(self._ted_buf[0].imag) - np.sign(int_out.imag)) + else: + e = 0 + + # Stuffing and skipping + s = np.sum(np.hstack((self._strobe_hist[1:], self._strobe))) # Strobe is a bool that gets converted to 1 + if s == 0: + pass + elif s == 1: + self._ted_buf = np.hstack((self._ted_buf[1:], int_out)) + else: + self._ted_buf = np.hstack((self._ted_buf[2:], 0, int_out)) + + # Loop filter + loopfilt_out = self._loopfilt_prev_in + self._loopfilt_state + v = e * self.p_gain + loopfilt_out + self._loopfilt_state = loopfilt_out + self._loopfilt_prev_in = e * self.i_gain + + # Interpolator control + W = v + 1. / self.sps # W should be small when locked + self._strobe_hist = np.hstack((self._strobe_hist[1:], self._strobe)) + self._strobe = (self._nco_count < W) + if self._strobe: # update mu if a strobe + self.mu = self._nco_count / W + + self._nco_count = (self._nco_count - W) % 1 # update counter + + if self._strobe_count == nout: + break + return _symbols[:self._strobe_count], idx + 1, _timing_err + + def __repr__(self): + args = 'mod={}, sps={}, damp_factor={}, norm_loop_gain={}, K={} A={}' \ + .format(self.mod, self.sps, self.damp_factor, self.norm_loop_bw, self.K, self.A) + return '{}({})'.format(self.__class__.__name__, args) diff --git a/sksdr/utils.py b/sksdr/utils.py new file mode 100644 index 0000000..077868d --- /dev/null +++ b/sksdr/utils.py @@ -0,0 +1,63 @@ +import logging +from functools import singledispatch +from typing import Tuple + +import numpy as np + +_log = logging.getLogger(__name__) + +@singledispatch +def x2binlist(x, width, endian='msb'): + raise TypeError(str(type(x)) + ' not supported.') + +@x2binlist.register(int) +@x2binlist.register(np.uint8) +@x2binlist.register(np.uint32) +@x2binlist.register(np.uint64) +@x2binlist.register(np.int64) +def _(x, width, endian='msb'): + if endian == 'lsb': + y = [(x >> i) & 1 for i in range(width)] + else: + y = [(x >> i) & 1 for i in range(width - 1, -1, -1)] + return np.array(y) + +@x2binlist.register(list) +@x2binlist.register(np.ndarray) +def _(x, width, endian='msb'): + ret = np.empty(len(x) * width, dtype=int) + for idx, val in enumerate(x): + ret[idx * width : (idx + 1) * width] = x2binlist(val, width, endian) + return ret + +@x2binlist.register(str) +def _(x, width, endian='msb'): + ret = np.empty(len(x) * width, dtype=int) + for idx, val in enumerate(x): + ret[idx * width : (idx + 1) * width] = x2binlist(ord(val), width, endian) + return ret + +@singledispatch +def binlist2x(x, width, endian='msb'): + raise TypeError(str(type(x)) + ' not supported.') + +@binlist2x.register(list) +@binlist2x.register(np.ndarray) +def _(x, width, endian='msb'): + ret = np.empty(int(np.floor(len(x) / width)), dtype=int) + for j in range(0, len(x) - len(x) % width, width): + x2 = x[j : j + width] + if endian == 'lsb': + ret[int(j / width)] = sum(x2[i] << i for i in range(width)) + else: + ret[int(j / width)] = sum(x2[i] << width - 1 - i for i in range(width)) + return ret + +def power(x: np.ndarray, n=1) -> float: + start = int((1-n) * len(x)) + samples = x[start:]**2 + return np.sum(samples) / len(samples) + +def ber(tx: np.ndarray, rx: np.ndarray) -> Tuple[int, int]: + err, total = len(np.where(rx != tx)[0]), len(tx) + return err, total diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..0abe4d4 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,11 @@ +import logging + +_log = logging.getLogger(__name__) + +def _setupLog(): + handler = logging.StreamHandler() + handler.setFormatter(logging.Formatter(logging.BASIC_FORMAT)) + _log.addHandler(handler) + _log.setLevel(logging.DEBUG) + +_setupLog() diff --git a/tests/test.iq b/tests/test.iq new file mode 100644 index 0000000..94f01fc Binary files /dev/null and b/tests/test.iq differ diff --git a/tests/test_agc.py b/tests/test_agc.py new file mode 100644 index 0000000..d0a21e7 --- /dev/null +++ b/tests/test_agc.py @@ -0,0 +1,2435 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_agc(): + upsampling = 4 + ref_power = 1 / upsampling + max_gain = 60.0 # dB + det_gain = 0.01 + avg_len = 100 + + in_frame = np.array([ + 0.12072976866149895 +0.09764927694983938j , + 0.23085443385467586 -0.06917936119235264j , + 0.2509969183120271 -0.014291741431414201j , + 0.0010202512158092847 -0.13475040690997767j , + 0.08166757525971695 +0.06192479186550046j , + 0.12384637307821426 -0.10425102799395705j , + -0.032796298356446034 -0.01920989060949782j , + -0.024445060173058336 +0.07056776594416093j , + -0.10047290415289044 -0.11412503625981021j , + -0.040204801202377065 +0.04889781587450353j , + 0.07114471969292804 +0.2694096395150241j , + -0.07998339762739183 -0.2174768526349879j , + 0.15536910076290275 +0.11600918337802293j , + -0.24485392564034295 +0.13794139199083882j , + -0.19023608749508453 +0.04148654644234177j , + 0.15984733746950094 -0.04646668847155165j , + 0.0291288357930117 +0.07953385096283085j , + -0.04598932453569737 +0.165975312949055j , + 0.06030484109794742 +0.21925387646792815j , + 0.07484944283036078 +0.4467675440320906j , + -0.08157694897403933 +0.5387429572381399j , + -0.16705960006680498 +0.7189763878033891j , + -0.1116431676632214 +0.43932866798903963j , + -0.3109447789985986 +0.6348106846414978j , + -0.19649206351407672 +0.3960274000213706j , + -0.41037044060637284 +0.2629443815445816j , + -0.3393488302782943 +0.38635389832360045j , + -0.23115286703967822 +0.17393781083639623j , + -0.3340327462410475 +0.15855260693893547j , + -0.6998202912181777 +0.05732454123958822j , + -0.500957778629156 -0.028728464431024142j , + -0.3550618681727364 -0.1739474044460067j , + -0.27278227670375665 -0.2118703266568956j , + -0.5643488458668747 -0.2913538030392417j , + -0.32807313692514095 -0.3640184976335156j , + -0.31553627619335356 -0.7930953635005437j , + -0.408880266904569 -0.5032676816464413j , + -0.2218087863095345 -0.13589537043210412j , + 0.13124513680687877 +0.000587711477771596j , + 0.06766839751144851 +0.3802586519593879j , + -0.015559122158095766 +0.5224541843929336j , + -0.28720108930520943 +0.47444826263206824j , + -0.40031953307876833 +0.555755725350043j , + -0.42239426391318424 +0.8007206679909167j , + -0.3717132976964842 +0.4335496320721483j , + -0.2249012799295048 +0.20937246337239765j , + -0.14526174355689478 -0.015396706411440201j , + 0.24713991348877812 +0.07445185993551043j , + 0.3989776085293818 -0.04524478137073046j , + 0.594069464707954 -0.015843558841956422j , + 0.6515946451565121 +0.04803702768423054j , + 0.6692366731800173 +0.009556407610944562j , + 0.6164981579592423 +0.013967021976095978j , + 0.37389932265381365 -0.022763869838468342j , + -0.006504764402829037 +0.0804205024974363j , + 0.001300552008975553 -0.2782753683272902j , + -0.5909970233239792 -0.46863978656436134j , + -0.20584017169348995 -0.3593625047590674j , + -0.09146307114539597 -0.09797951043055037j , + 0.06501208066653326 +0.34126539361010044j , + -0.23180580050042168 +0.8487683309022279j , + -0.3234512122297925 +0.5623499775172991j , + 0.014619337075997578 -0.14861418465757395j , + 0.25143884886751594 -0.5087051721486676j , + 0.49961259839702576 -0.29654451475487764j , + 0.590686606605729 -0.23433645863199082j , + 0.0582041559749882 -0.07283562064338839j , + -0.42472347635046936 +0.10865340557005519j , + -0.7179969349930013 +0.12700664240931586j , + -0.5481006109654393 +0.12949041922571813j , + -0.4232591403354476 +0.3648841211554896j , + -0.4469460471376584 +0.4236009461654972j , + -0.2603202280151099 +0.6375101464393346j , + -0.11864855828447284 +0.5273373822940522j , + -0.025569528580541567 +0.288384904249119j , + 0.3945275935152346 +0.47969325208638725j , + 0.36282406558359914 +0.5242366923521307j , + 0.07966721291385859 +0.7083112976018632j , + -0.34291602232048585 +0.46292040802269613j , + -0.4805371647721081 +0.3119397206292509j , + -0.5243834025662432 -0.13007343245319167j , + -0.5716157017719633 -0.35658329081414447j , + 0.0031710466715313412 -0.28651849289151804j , + 0.15317380755160973 -0.695209704368838j , + 0.35962995402057907 -0.26068335430083095j , + 0.37455624957301004 -0.2885694791453306j , + 0.5320147176337072 -0.21342888880942185j , + 0.6082852573918018 -0.27469408176947185j , + 0.43032011795309844 -0.09856423269439477j , + 0.447234555759838 -0.06551548599921186j , + 0.29353464475388014 +0.3215860729521455j , + 0.089812875199471 +0.5262894673131494j , + -0.1368105135956539 +0.4072957675074444j , + -0.4590082065550225 +0.33683599541836673j , + -0.5536801117040568 +0.06886650260772213j , + -0.5905340835146741 +0.03743339830331513j , + -0.3716271580787196 -0.4573876275399998j , + -0.06255517885309021 -0.572123003618093j , + 0.22586570318909432 -0.3231610407981147j , + 0.48693763902530346 -0.3032607965011505j , + 0.363904277606163 +0.1848000115684715j , + 0.4254420961878666 +0.22393226808562153j , + 0.4326005183050036 +0.30823030477181534j , + -0.047480500540331996 +0.3589508591112418j , + -0.2598861096131236 +0.11996446006113387j , + -0.5304472120282779 +0.24128667041214516j , + -0.5309256011101678 +0.29610630588964537j , + -0.41074462051112526 +0.3102867327966768j , + -0.5249852467480391 +0.334815157051607j , + -0.45085213394548684 -0.01861986283356202j , + -0.1392140047088605 -0.2808815042133606j , + -0.012111045726872178 -0.38970882085056185j , + 0.05094010878606431 -0.6024565219107907j , + 0.4502756151523827 -0.5440612494992346j , + 0.36791856891211555 -0.2802492129280486j , + 0.09204734926718527 -0.4329573376936343j , + 0.40252504854502824 -0.24922236357260616j , + 0.4242434924761853 -0.2662461191622292j , + 0.5932063612099394 -0.42118250596547224j , + 0.6134894980198875 -0.20429126759982771j , + 0.46819281401605334 -0.12223076340814858j , + 0.2730428025663341 +0.3276042427451098j , + 0.3656507855387936 +0.2921724459526304j , + -0.17006453517665038 +0.38972260464299074j , + -0.5712114333218236 +0.46063971649171975j , + -0.5795450210464959 +0.30029320102227697j , + -0.44712812658337353 -0.18887348642164448j , + -0.5034925653783391 -0.36322328109163393j , + 0.1253979999062563 -0.27107680753717933j , + 0.09275222906282787 -0.4387112384796992j , + 0.299581426250412 -0.42454922127673134j , + 0.5686421592766739 -0.24862628323265665j , + 0.6023690102850457 +0.35640507761233564j , + 0.44185367442573786 +0.36471513080237533j , + 0.21242295178835535 +0.49089921716877494j , + -0.37818283879530656 +0.39048423683862354j , + -0.255482840779206 +0.22427359950769918j , + -0.48860088389658607 +0.31175285137341385j , + -0.6028091876516326 +0.061382413835395944j , + -0.42461712796747125 +0.18794627730745023j , + -0.3942328602765606 -0.140282419365685j , + -0.3699445471981821 +0.12386743169909847j , + -0.38797185312155114 +0.019300353517753804j , + -0.16878893719833848 +0.37855465178802594j , + -0.36906850134435504 +0.5537029257038201j , + -0.3826255368369823 +0.17126818702660132j , + -0.27003674792802407 -0.21270014674374477j , + -0.49651770895046626 -0.40761568431780326j , + -0.29662298738552856 -0.7129296095433308j , + 0.2226627044134197 -0.2142461192255393j , + 0.17264204040415504 -0.08601678747972344j , + 0.13304052091520452 +0.5648084488261415j , + -0.29721328254569274 +0.7189269790247838j , + -0.5217314857566409 +0.4147283269064409j , + -0.44528955324247377 +0.012597430289361722j , + -0.23486169281418554 -0.2678388735178203j , + -0.2107119564018505 -0.4720938721332247j , + -0.04534088039825909 -0.48748215033237907j , + -0.043971926094190775 -0.6274898940808646j , + 0.11790017044315605 -0.6101070552338452j , + -0.00018845586163294958-0.5166380578311613j , + -0.1070036031919665 -0.4215460806587715j , + -0.1701984132086476 -0.2757571766973038j , + -0.42475100837281154 -0.35616714207743094j , + -0.5397197836378629 -0.27890067389260953j , + -0.3320763707953369 -0.14991642242402856j , + -0.07995006658259937 +0.12104632785516523j , + 0.13283302772626146 +0.47595007467474165j , + 0.08853764222133792 +0.7886389146597246j , + 0.22277110995989033 +0.5474955936750565j , + -0.015543740686968188 -0.13527083754361488j , + 0.010269593171638796 -0.2720254232418219j , + 0.059472369195036665 -0.552735217819127j , + 0.45911724243585916 -0.5835514273656114j , + 0.2912013174899365 -0.3432591615621768j , + 0.528754194124936 +0.277473494590925j , + 0.21616123688549682 +0.37592149900883054j , + 0.0743763323222202 +0.5353854054990165j , + -0.3047034661970318 +0.4582107075338857j , + -0.4128638049608967 -0.006086842937780501j , + -0.6760955996855172 -0.17145931551815816j , + -0.24110820125650606 -0.22458083601852355j , + -0.44363543686477797 +0.2036281885776989j , + -0.37296471192568553 +0.34174014698769467j , + -0.40777258961996393 +0.5598840708939539j , + -0.09845263892185771 +0.5409262031421204j , + 0.095484023729481 +0.3179999020358532j , + 0.09964923407231266 +0.4329401776213737j , + 0.26714537581777886 +0.28417610021879186j , + 0.19727734922596746 +0.5999107098416356j , + 0.24115646604542365 +0.5775517866576985j , + -0.15739255708225952 +0.8951185525517515j , + -0.1866342745420912 +0.5387887162774853j , + -0.4315815766973573 +0.28302377959507075j , + 0.21839274335843392 -0.121656959630728j , + 0.3497760006697165 -0.20964576942356486j , + 0.6310525791536586 -0.5348040760278637j , + 0.5050297948223786 -0.2549302310041457j , + 0.15874699068666845 +0.02824662306479915j , + -0.23056481169556736 +0.11788103532572397j , + -0.8153754366286197 -0.080304069553356j , + -0.5655827308532466 +0.028618792433965173j , + -0.17535848793864695 -0.4899781395857041j , + 0.20012951597518816 -0.5093359308539492j , + 0.4588262248980433 -0.5923837555054124j , + 0.3949595118819656 -0.181885580539773j , + -0.0038719934183211596 -0.06317190644096403j , + -0.42330379390387124 +0.20481474939444103j , + -0.41679009214399876 +0.15919953202023082j , + -0.5314989806903263 +0.07377848076881086j , + -0.7263100510208738 +0.04065842019054549j , + -0.45766868056921794 -0.13985479313959318j , + -0.24199524053228022 -0.07921252741259416j , + -0.34711314080504274 -0.1399118663002148j , + -0.4506631686765123 -0.2362074382869207j , + -0.660140850647543 -0.4217042999215018j , + -0.11769196153759662 -0.6354257635128038j , + -0.08461055825116696 -0.45942754445540235j , + -0.0023747958461919454 +0.16735587794394155j , + 0.11071724374637704 +0.4556777800122866j , + -0.022928021380115293 +0.6184835862882343j , + -0.10205596926465296 +0.46213608991234933j , + -0.025805383014913336 +0.5411501623745885j , + 0.46960715115166773 +0.5080630831878927j , + 0.5076050273088815 +0.1880437802992965j , + 0.4473901561325101 +0.3477677551745324j , + 0.05084230571816456 +0.3472364562358785j , + -0.5616928761800003 +0.28343736295529504j , + -0.6255528732585245 -0.1533306444398735j , + -0.258072195309946 -0.05802218863208382j , + -0.0354664344984579 +0.0833089773638246j , + 0.6313513116882812 +0.15997437475996099j , + 0.5001971947129118 +0.2893786273219524j , + 0.5732808128670552 +0.20335472404913146j , + 0.3398280285277122 +0.04607103636482488j , + 0.3704964730054167 -0.46694231998549074j , + 0.20887987331617613 -0.3868833037632009j , + 0.37828777773732525 -0.3490121508564636j , + 0.5466244827947861 -0.03734075418836125j , + 0.5007410032003964 -0.14282678113543237j , + 0.6564842160716461 +0.006578533060541417j , + 0.4691147573345721 +0.07438571012137835j , + 0.5090912655083939 -0.10333974426698514j , + 0.2762244736124198 -0.44723424393795796j , + 0.37754991779025515 -0.4249553263589463j , + 0.40391164712613986 -0.4115591868631612j , + 0.43651984437940283 +0.11022365989423044j , + 0.20147287218522733 +0.5820713715933364j , + 0.08190294143931044 +0.5906497725497759j , + -0.0047989228689696494 +0.5212793004319108j , + 0.06090476007393415 +0.04666743752699812j , + 0.08166988585384047 -0.39836883622821806j , + -0.06377929631042215 -0.5239471800315596j , + 0.5114164595110661 -0.4715548259970265j , + 0.5919498234116976 -0.11721452290273665j , + 0.42994522369895966 +0.2571424121128106j , + 0.34075702980319234 +0.7496511712140375j , + 0.11116420860861945 +0.2506687025630312j , + 0.022005025770738748 +0.13192032588308603j , + 0.020812490694910323 -0.5628661132271859j , + 0.09405478505101503 -0.719209143271508j , + 0.2536515539648436 -0.5514453484977714j , + 0.0396018125497796 -0.4861433885873302j , + -0.18499981730593304 -0.11548844600328745j , + -0.27533133777061625 -0.32688445317537695j , + -0.45252110645746735 -0.2594779009835141j , + -0.24824574362578222 -0.4350856614638031j , + -0.27154797853387436 -0.8001382467730571j , + 0.04505389788461009 -0.6879115992712201j , + -0.12320920608229148 -0.3026206321815035j , + -0.31455786478814207 -0.3733089572176187j , + -0.3959032077098811 -0.19315214754598456j , + -0.5738999193744396 -0.13607907798621446j , + -0.2989568643687179 -0.20626152938510042j , + -0.060797905391916846 -0.45423336709511397j , + 0.3827624961286377 -0.49404394846670224j , + 0.5270749332056982 -0.3500490705460719j , + 0.2886010968419168 +0.04828205582736078j , + 0.16999443162428318 +0.19145651839121608j , + -0.18884721263162757 +0.15814007623980608j , + -0.46495396464950123 -0.1457589959992744j , + -0.5782260108930485 +0.0351734495831236j , + -0.6581458511894167 -0.2638606450235519j , + -0.6208052786432977 -0.13086563626459058j , + -0.41692352447479913 -0.2052647877638198j , + -0.06213464608619593 -0.40918179753640715j , + 0.06294539395347852 -0.24043453287033476j , + 0.5491428302265134 -0.5370456386629983j , + 0.5935074052350057 -0.22211275283224086j , + 0.7832716866726539 +0.22079174833526954j , + 0.08092842344241369 +0.12270721313994708j , + -0.2975240270588435 -0.18881835806491515j , + -0.27475817763032506 -0.3455349318636438j , + -0.5536374824407959 -0.18871425065030556j , + -0.26516837648194824 -0.19876230330989997j , + -0.6425163846801836 -0.29330488751191597j , + -0.11726129426939244 -0.3198496156585393j , + -0.013377372546503188 -0.3824342880287694j , + 0.2751847599357353 -0.3900711075937224j , + 0.4976669141915172 -0.047049553232093026j , + 0.3484603041290177 +0.20921653130270113j , + 0.5143448832431992 +0.20321485252504554j , + 0.0627458480550363 +0.006293648240334723j , + 0.49647766893467193 -0.3486034464204283j , + 0.4209972343927104 -0.5329670808277258j , + 0.21213537208702077 -0.5305945746914037j , + 0.10132488403946421 -0.19598996873471564j , + -0.09439929575650557 -0.4279630321171778j , + -0.2645276596342774 -0.45791255715253276j , + -0.12505931458169917 -0.5866761276702819j , + 0.09794831751233347 -0.6488631437093526j , + 0.29156367421118334 -0.7170174590201619j , + 0.0967544323728153 -0.3477574127307246j , + 0.06904713299656251 -0.1972861664855186j , + 0.12597378259537964 +0.02535280483172897j , + -0.28350635215636916 +0.29575255865669525j , + -0.3958481166076873 +0.44173308705420783j , + -0.3786369995750481 +0.14743900792481926j , + -0.07708296102732493 +0.10433092852073456j , + 0.27934686535829883 +0.16516514495839948j , + 0.5946265203937364 +0.06431990340136502j , + 0.633455363323412 +0.16776962127148515j , + 0.36839420759510927 -0.1502453320533473j , + 0.29857176339271957 -0.3721692330639022j , + 0.6443970495515179 -0.5345035691350172j , + 0.31082931071630043 -0.4880476230541465j , + 0.03374483908340088 -0.300295492155192j , + -0.18974906964011257 -0.5563289621859717j , + -0.33341234895529265 -0.5242038220420946j , + -0.15154554663706116 -0.5130333644597893j , + -0.484748032112179 -0.3772685852440095j , + -0.3593824949064895 -0.17170558277856712j , + -0.4958760089002143 +0.052853737099179454j , + -0.5959011788745804 +0.053445560398433956j , + -0.4934121328757157 -0.04726798785523256j , + -0.3294574880911927 +0.43450514426507175j , + -0.382565624085465 +0.48020935193134595j , + -0.43524323053549174 +0.3707366367295669j , + -0.054967447022524776 +0.12873765397495318j , + 0.28667943495811693 +0.04814660199769501j , + 0.47046861049653116 +0.012125042651468389j , + 0.3986797958770388 -0.15594046169156145j , + 0.6697257677371515 +0.21785582616062782j , + 0.44594216425539646 +0.4651603638732877j , + 0.40470307469281486 +0.32335947612113736j , + 0.3229341278225635 +0.08271240122908247j , + 0.4692448186592379 +0.09526691340904904j , + 0.6933294977748649 -0.25653357445690605j , + 0.5906435500224335 -0.20837970616643076j , + 0.4184029177038552 -0.13234029636461603j , + -0.2142786144258478 -0.2051113932041579j , + -0.6322572805089941 -0.09092780756279528j , + -0.8755259617255577 -0.15962303969801964j , + -0.4875723794465238 -0.24578027382386972j , + 0.1550613667075434 -0.08144239927028957j , + 0.28050862143849853 +0.2872102951305354j , + 0.2693839843554808 +0.5795206551535502j , + 0.19447675878270101 +0.38177318870835164j , + 0.22534641168683855 +0.6381600253295994j , + -0.0036427938654888374 +0.6455594137307381j , + -0.03753364486739508 +0.44013768736053527j , + 0.013042703583821931 +0.4195920665922545j , + 0.20408387637346165 +0.562991863956363j , + 0.4351673127279637 +0.30468415896780343j , + 0.3447355503099654 +0.4145034543083113j , + 0.3413085279712931 +0.30571014549406106j , + -0.06331854721920853 +0.24845490981246343j , + -0.4339978603227172 +0.3536403637785319j , + -0.5646229545576246 +0.06273005703001783j , + -0.5526066161536134 +0.14557461039027902j , + -0.33409892300948346 +0.40342714623590936j , + -0.09049312403711289 +0.5552903308684808j , + -0.2829525829171352 +0.5069134246883341j , + -0.19096283742337883 +0.3852007359566695j , + 0.06162672886205615 -0.12773822392583817j , + 0.21359773529775042 -0.28104924326426517j , + 0.3449750484594465 -0.5332058175498489j , + 0.519859562105894 -0.006427374329873642j , + 0.26397907166915224 +0.13052973583020736j , + 0.1323237075107014 +0.3470763530343449j , + -0.04987483543788973 +0.6365660038714648j , + -0.018486936435070656 +0.545754874794556j , + -0.18121045695146043 +0.5442264818208092j , + -0.175725396918734 +0.2783696170099167j , + -0.2362696649243664 +0.3484407545004884j , + -0.36130044687536284 +0.25141163717465853j , + -0.418812188471308 +0.26033744217828286j , + -0.207360913294394 +0.21569478214410498j , + -0.2968772890172044 +0.008950748474233744j , + -0.49969372092011044 -0.005880693526329025j , + -0.2517501239683636 -0.00041524768296108405j, + 0.13099588977377008 -0.3217152761987551j , + 0.10579242676674858 -0.5368254320419874j , + 0.353093641816299 -0.6136098045751943j , + 0.316438410826083 -0.2386841039221257j , + 0.47734880651217243 -0.5417312947154933j , + 0.49249900071274877 -0.3190433324281925j , + 0.32386530026226873 -0.22039574540224133j , + 0.44998716840985153 +0.04813802251087809j , + 0.16048192487554266 +0.3444288502761655j ]) + + expected_frame = np.array([ + 0.06036488433074948 +0.04882463847491969j , + 0.12545444738452968 -0.0375945065636676j , + 0.14619901682763106 -0.008324558564619463j , + 0.0006324578511579803-0.08353232172269111j , + 0.053749008010361 +0.0407554175991371j , + 0.08637939265537206 -0.0727121857345719j , + -0.024179344731268357 -0.0141626522069284j , + -0.019027887778090398 +0.054929524477748536j , + -0.08245901600088654 -0.09366344359598884j , + -0.03471665007189242 +0.04222302591299962j , + 0.06455902529713063 +0.24447104167127914j , + -0.07597923885104398 -0.20658944507338828j , + 0.15411801618488694 +0.11507503817463442j , + -0.25315625961181115 +0.14261861128312556j , + -0.20447058953303773 +0.04459079620723674j , + 0.17833392355521716 -0.05184063119806968j , + 0.03368938725791274 +0.09198605547574787j , + -0.05509334257900637 +0.19883168253237354j , + 0.07473686168598652 +0.2717252270524208j , + 0.09581842951709099 +0.5719289657958351j , + -0.10750051857497869 +0.709945002970732j , + -0.22580490646416826 +0.9717992616585267j , + -0.15409703741590544 +0.606389514074036j , + -0.4375860405256981 +0.8933557105229046j , + -0.28116134009694527 +0.566677312629172j , + -0.5963907270669738 +0.38213666329336854j , + -0.5002977679829621 +0.5695967563061822j , + -0.34529898015317545 +0.2598304293650572j , + -0.5053222000482185 +0.23985717886457253j , + -1.0714110618031858 +0.08776274190332078j , + -0.7749140581111545 -0.04443905635414204j , + -0.5544609252908498 -0.2716344599813613j , + -0.4297845869040123 -0.33381421227135755j , + -0.8967085750576959 -0.46293964358099876j , + -0.5251493908698814 -0.5826874278378651j , + -0.50849977767132 -1.2781060259615122j , + -0.662390758133614 -0.815299460924431j , + -0.360926539598179 -0.22112850718647878j , + 0.2144662966603085 +0.0009603731399807969j , + 0.11103213612096217 +0.623938676815646j , + -0.025626892017862255 +0.8605162188248175j , + -0.4746015704790436 +0.7840286786549767j , + -0.6633709041886601 +0.9209447642939306j , + -0.7014000105625369 +1.3296238442809507j , + -0.6178457059577678 +0.7206273764089783j , + -0.3740336162141447 +0.3482076208520842j , + -0.2416930148794657 -0.02561773183135081j , + 0.4113725259043415 +0.12392757303986783j , + 0.6643296064674331 -0.07533617716922303j , + 0.9893106622410945 -0.02638445943000476j , + 1.0848332599047965 +0.07997635604617885j , + 1.113426153014322 +0.015899239520648104j , + 1.0245169137732801 +0.023210856455631864j , + 0.6204365732336634 -0.03777363728789945j , + -0.010776677609080609 +0.13323554473367316j , + 0.0021513089450208417-0.4603093801170101j , + -0.9760322902224284 -0.7739591675050062j , + -0.3392363037544295 -0.5922498354885272j , + -0.1504055770856749 -0.16112147366506444j , + 0.10667692289883078 +0.5599750340081695j , + -0.37951801680979635 +1.3896238704103894j , + -0.5280650956671887 +0.9180902202497969j , + 0.023793390097918723 -0.24187384498079212j , + 0.40797206990879364 -0.8253995076319866j , + 0.8080155713528698 -0.4795967641528721j , + 0.9520283407613479 -0.3776875036549046j , + 0.09346625549657499 -0.11696196971281535j , + -0.679585853887987 +0.17385268654477123j , + -1.144641422904655 +0.20247588367095062j , + -0.8703358695248958 +0.205619469048658j , + -0.6693508930638166 +0.5770354118440719j , + -0.7038323326322814 +0.6670694236010899j , + -0.40814888878132694 +0.9995345342158065j , + -0.18517314229610113 +0.8230080629843524j , + -0.039719601455695995 +0.44797593457905854j , + 0.6100208678908233 +0.7417045062725375j , + 0.5583266135771918 +0.8067141210246779j , + 0.12199298541602398 +1.084624485254432j , + -0.522423633922831 +0.7052471918335587j , + -0.7282925916868487 +0.47276965080294886j , + -0.7905672700601891 -0.19610040649386845j , + -0.8572008350995807 -0.5347360013395516j , + 0.004729463119651876 -0.427328508720525j , + 0.22722354276825385 -1.0312991138536052j , + 0.5305402336820533 -0.38457032336041236j , + 0.549513249503939 -0.4233616509498398j , + 0.7762169025038713 -0.3113957292635551j , + 0.8825574731684606 -0.3985520144616001j , + 0.620810165944352 -0.14219571686828303j , + 0.6415687079898057 -0.0939835376415096j , + 0.4187118930089188 +0.4587257953281754j , + 0.1273952720230066 +0.7465164621697449j , + -0.19296775041040015 +0.5744803227614347j , + -0.6437966238463352 +0.47244008613224936j , + -0.7722100358918863 +0.09604716392428826j , + -0.8189525081279562 +0.05191262669513797j , + -0.5124377173240872 -0.6306930661381571j , + -0.08576327360936242 -0.784381766579904j , + 0.3078800594080985 -0.44050441937176094j , + 0.6599629267205138 -0.4110195367503584j , + 0.4903864388695949 +0.24903092695766624j , + 0.5700608627936882 +0.3000526348851643j , + 0.5763892675997814 +0.4106805981545888j , + -0.06290752595278568 +0.47557861076325686j , + -0.34241901637051086 +0.158061977512778j , + -0.6950887178820758 +0.3161778185948353j , + -0.6919077515824525 +0.3858888098616626j , + -0.5323381318483804 +0.40214150454064584j , + -0.6766562529325125 +0.4315450215009253j , + -0.5778930449856808 -0.02386655938819157j , + -0.17746135420217873 -0.3580502709644085j , + -0.01535516512595317 -0.49409798543848205j , + 0.0642414780167439 -0.7597686446041504j , + 0.564819723104944 -0.6824631713407177j , + 0.45902675572619905 -0.3496477152146988j , + 0.11422769303708258 -0.5372856281245662j , + 0.4968746476972823 -0.3076386787506225j , + 0.5209248214099818 -0.32692124814023044j , + 0.7245745717557986 -0.5144552618561042j , + 0.745373881650998 -0.24820860929122232j , + 0.5658423393506608 -0.14772405521181808j , + 0.32829215871558787 +0.3938939354720729j , + 0.437477286677338 +0.3495652517439404j , + -0.20248959372426859 +0.46402838662012724j , + -0.6769817584410908 +0.5459356502457734j , + -0.6836686780952778 +0.35424522397446095j , + -0.5250257119156776 -0.2217785703356541j , + -0.58854044178274 -0.42457745162296956j , + 0.14591572757895102 -0.3154306259361108j , + 0.107451059049097 -0.5082356259001956j , + 0.34558818821593534 -0.4897473051846452j , + 0.6532430435955499 -0.28561616005282386j , + 0.6891146943548676 +0.4077300988792996j , + 0.5033626260747313 +0.4154858873776948j , + 0.24100458214897597 +0.5569499892313684j , + -0.4273421595132554 +0.44124259460864196j , + -0.28759804486873203 +0.25246567846734647j , + -0.5480348913973238 +0.34967484848307423j , + -0.6736806215786482 +0.06859905846445896j , + -0.4727926262240822 +0.20926997095613228j , + -0.4373680564083571 -0.15563149419657757j , + -0.40897637018494487 +0.13693634082215717j , + -0.4274479225066025 +0.021264161171563593j , + -0.1853643797108491 +0.4157295459055396j , + -0.4041259087537157 +0.6062985522052596j , + -0.4177518002645413 +0.186991161253541j , + -0.2939778308904481 -0.2315578462916191j , + -0.538993889708235 -0.4424864596691652j , + -0.3210575962797139 -0.7716578838818066j , + 0.24027806938990384 -0.23119562855129486j , + 0.1857662874441902 -0.09255578322972341j , + 0.1427718089276175 +0.6061215288528994j , + -0.3181305081957731 +0.7695234991984072j , + -0.5569940288445434 +0.4427587906537134j , + -0.47412048545972346 +0.013413069587745048j , + -0.24939931295440468 -0.2844177364023132j , + -0.22316439960463397 -0.4999932008163572j , + -0.04790125663181293 -0.5150100170396313j , + -0.04634094590500157 -0.6612963729459677j , + 0.12393693036521969 -0.6413459398373216j , + -0.000197594733917283 -0.5416916124769753j , + -0.11192879471035957 -0.4409491205484441j , + -0.17763649579758808 -0.2878084327348859j , + -0.4423348362894867 -0.3709117374107199j , + -0.5608497524828819 -0.2898196039167863j , + -0.3443432911426278 -0.15545434374080835j , + -0.08273851553263195 +0.12526810677594097j , + 0.13719731578734606 +0.4915876255469231j , + 0.09126981810244983 +0.8129754586141363j , + 0.22920265036523899 +0.5633021317540088j , + -0.015962088518602008 -0.13891154814920978j , + 0.01052742696670582 -0.2788550362612401j , + 0.060866942152184536 -0.5656963558680569j , + 0.4691663616742339 -0.5963241514833297j , + 0.2971026902742996 -0.3502155183928643j , + 0.5386076442481028 +0.2826442738865432j , + 0.21984689399555993 +0.382331148424287j , + 0.07553503859182958 +0.5437261559318493j , + -0.3090356209147785 +0.46472536817473764j , + -0.41818804894845185 -0.006165338161932542j , + -0.6839789129749723 -0.173458540925414j , + -0.24361072094836864 -0.22691181423337659j , + -0.44773999347641397 +0.20551217564971636j , + -0.37598250871618827 +0.3445052941605749j , + -0.41064629816920106 +0.563829759451905j , + -0.099035637889155 +0.5441293617498464j , + 0.0959414864270861 +0.3195234353699282j , + 0.10002429252311697 +0.43456967205573915j , + 0.2679065444824146 +0.2849857939747207j , + 0.19766591164905312 +0.6010923090468445j , + 0.24140650491528798 +0.578150611140376j , + -0.15740040271476657 +0.8951631720137119j , + -0.18642695802670003 +0.5381902206396139j , + -0.43059033183109247 +0.2823737382501613j , + 0.21764208054070705 -0.12123879850179982j , + 0.34821417007356337 -0.20870965266194355j , + 0.6276411528716743 -0.5319129624488326j , + 0.5017738815488317 -0.2532867027777631j , + 0.15756239251167334 +0.028035841758094694j , + -0.22862571382935157 +0.1168896313799682j , + -0.8078372974187306 -0.0795616590903713j , + -0.5597903794414485 +0.028325696316074952j , + -0.17338600804562534 -0.4844667324122397j , + 0.19768191863024245 -0.5031067184063553j , + 0.4527468077496478 -0.5845347099055216j , + 0.3892668228651748 -0.1792640003131881j , + -0.003811974656535297 -0.06219269516795444j , + -0.4163449659205571 +0.2014477334829201j , + -0.40956167295941437 +0.1564385236058698j , + -0.5218457168083807 +0.0724384910989429j , + -0.7125145849084926 +0.03988615790788364j , + -0.44853514399478267 -0.13706375909579135j , + -0.23693136785885088 -0.07755496525527396j , + -0.33955609190862673 -0.13686582542614315j , + -0.4405344849362635 -0.23089866089885802j , + -0.6448387469747564 -0.41192916949239883j , + -0.11486566240263653 -0.6201664096683708j , + -0.08250399173677257 -0.4479890821530118j , + -0.0023136435923033346+0.16304637523271268j , + 0.10779270062541935 +0.4436412690604701j , + -0.022309052799284513 +0.6017869031630184j , + -0.09923744787248927 +0.4493730887386397j , + -0.02507662941189 +0.525867880752214j , + 0.4560467281643609 +0.4933922028672522j , + 0.4925796944758383 +0.18247760141182603j , + 0.4338673059359319 +0.33725609953803115j , + 0.04927621900801841 +0.3365405920002215j , + -0.5440955869832 +0.2745575472114607j , + -0.6056302643033448 -0.1484473698189625j , + -0.2496931667905153 -0.0561383375929429j , + -0.03429497559314731 +0.08055727579570068j , + 0.6102067204311521 +0.15461667184037908j , + 0.4832125262755152 +0.2795525025657884j , + 0.5535842611805316 +0.196367944197036j , + 0.3280137451945394 +0.04446935483365429j , + 0.35748955591631726 -0.45054950525185566j , + 0.20147262637896124 -0.3731637427477566j , + 0.364731295213451 -0.3365048022130433j , + 0.5268481907145994 -0.03598980543914337j , + 0.48246831419363184 -0.13761484654880032j , + 0.6323147445194507 +0.006336334293580385j , + 0.4516527999745575 +0.07161683517548205j , + 0.4899256665941086 -0.09944934538428579j , + 0.2656997613914781 -0.4301937129117245j , + 0.36298272312603064 -0.40855906543826753j , + 0.388153224278581 -0.3955023988513963j , + 0.4192817407932172 +0.10587094399512505j , + 0.19341719531789647 +0.558797871630676j , + 0.07858942060796242 +0.5667540455956362j , + -0.00460294258084792 +0.4999910925819535j , + 0.05839110171186291 +0.04474138126417441j , + 0.07826538756284218 -0.38176239668264145j , + -0.06109840987616128 -0.5019236870099486j , + 0.4898024708285655 -0.4516255091306465j , + 0.5667912717446885 -0.11223277020353643j , + 0.41154739434224724 +0.24613900526548302j , + 0.32606450313156554 +0.7173282288705151j , + 0.10632021997549665 +0.23974579526136564j , + 0.021037499892135963 +0.12611999960601694j , + 0.019892035892404895 -0.5379727535288089j , + 0.08987357244585663 -0.6872366462426654j , + 0.24229624152705606 -0.526758591698226j , + 0.03781443867711581 -0.46420196885971043j , + -0.17657549950322934 -0.11022946042243588j , + -0.2627088003475643 -0.3118984683738299j , + -0.4316672617284118 -0.24752020049061996j , + -0.23673589407313014 -0.4149130275534572j , + -0.25886201104674783 -0.7627580098124525j , + 0.042926534894225016 -0.6554296666159305j , + -0.117337305796879 -0.2881983480602062j , + -0.2994564631715551 -0.35538701305065457j , + -0.37673181910179243 -0.1837988641954629j , + -0.5458525505954345 -0.12942868485225725j , + -0.28421164423811274 -0.19608825016744205j , + -0.05778079955245706 -0.43169196315190583j , + 0.3636533089318261 -0.46937910175316916j , + 0.5006005591561509 -0.3324665041110327j , + 0.2739986424791136 +0.04583911113838913j , + 0.16134340320131071 +0.18171328288320568j , + -0.17919753433488336 +0.15005946525131664j , + -0.4411183117459867 -0.13828672755905905j , + -0.5485376144906832 +0.03336750641489845j , + -0.6242524616024162 -0.2502722715311136j , + -0.5886860733825876 -0.1240949138217311j , + -0.39523456033655974 -0.19458661692598808j , + -0.058890503645013026 -0.3878178062825441j , + 0.05964995982327327 -0.22784685780889255j , + 0.5203254151651459 -0.5088630489533864j , + 0.5622124713609231 -0.2104010136843138j , + 0.7417131141477139 +0.2090770520910092j , + 0.07660151104442267 +0.11614655942554515j , + -0.28153367372895854 -0.1786703633282427j , + -0.25998058418096087 -0.32695068156152973j , + -0.5238637400842603 -0.17856549870327723j , + -0.2509026936411014 -0.1880691730907003j , + -0.6079269376487868 -0.2775150117787188j , + -0.11093141542975768 -0.30258382197412864j , + -0.012655887829672823 -0.3618083771448878j , + 0.2603723553236708 -0.36907470112665025j , + 0.47089638682740403 -0.044518660949821806j , + 0.3297062869801818 +0.1979565674865125j , + 0.4867378548235844 +0.19230746646615848j , + 0.05938728721698031 +0.005956771759042323j , + 0.4700207428028833 -0.33002662774694674j , + 0.3986504517799677 -0.5046768724319732j , + 0.2009258782597799 -0.5025573051344391j , + 0.09598968556887987 -0.18567023936758337j , + -0.08944458805065832 -0.4055006639813158j , + -0.2506896143280192 -0.43395810671456353j , + -0.11853506754726933 -0.5560696910451788j , + 0.09284973296396785 -0.6150873353795784j , + 0.27642957460782475 -0.6797994699427626j , + 0.09173387499039268 -0.32971238881853865j , + 0.06546390612436455 -0.18704792685724866j , + 0.11943976739637942 +0.02403780413321157j , + -0.2688326179619655 +0.2804449847697811j , + -0.3754638549297331 +0.41898597153048417j , + -0.3592453515831751 +0.13988801490206165j , + -0.07315786823732066 +0.09901835918175939j , + 0.26520402725712156 +0.1568031255668161j , + 0.5647160140912568 +0.06108452655542898j , + 0.6018004096216036 +0.15938585833978292j , + 0.35007708113789227 -0.1427749031212713j , + 0.28381384529131 -0.35377351138208624j , + 0.6127883036854889 -0.5082852810577632j , + 0.2956524037780399 -0.46421765238805135j , + 0.03210443868719339 -0.28569756080654285j , + -0.18056717443105463 -0.5294083862788334j , + -0.31735718495296544 -0.4989612707091771j , + -0.14428455615845848 -0.4884524351140435j , + -0.4615999758680335 -0.3592529691881272j , + -0.34223113910527814 -0.16351101686334124j , + -0.47227013548269814 +0.050337667345425795j , + -0.5676216339800307 +0.050909206757455534j , + -0.4700698650965657 -0.04503184091764526j , + -0.3139048630527127 +0.4139935583084192j , + -0.36455159652081276 +0.4575975333102287j , + -0.41477175092132484 +0.3532991972277589j , + -0.05238373909023458 +0.12268642700741339j , + 0.27324084021353084 +0.04588964668916222j , + 0.448504342402669 +0.011558973669384133j , + 0.3801712594892242 -0.14870099347822605j , + 0.6388157460647456 +0.20780107146478072j , + 0.42544323401314715 +0.44377801742838674j , + 0.3861535646593822 +0.3085383387940553j , + 0.3081807671470636 +0.07893365571247421j , + 0.44791279849264837 +0.09093604892799365j , + 0.6619568985952122 -0.2449256376340977j , + 0.5640046297796216 -0.19898146526025767j , + 0.3995874443860703 -0.1263889867303973j , + -0.2046762357881859 -0.1959198214473494j , + -0.6040032287870505 -0.08686446332455426j , + -0.8364333694757895 -0.15249580569540389j , + -0.46573301176445836 -0.23477127086284996j , + 0.1481042586297864 -0.07778833903680862j , + 0.26793509800780646 +0.27433637575921394j , + 0.2573288921308372 +0.5535867639436596j , + 0.1858063234916025 +0.3647524416057598j , + 0.21532797940133383 +0.6097887592720534j , + -0.003480728601656066 +0.6168389424196441j , + -0.03586135001764584 +0.4205275485010143j , + 0.012462262464253061 +0.4009189067423964j , + 0.19502560087787088 +0.53800343519798j , + 0.41588422256474183 +0.29118302518123523j , + 0.32945604892871017 +0.39613167310691133j , + 0.32616458404124915 +0.2921457106124427j , + -0.060507486268635474 +0.23742462049559024j , + -0.4147476120852669 +0.3379544228744527j , + -0.5396807035279659 +0.059958953204149866j , + -0.5283230774857104 +0.1391775341028417j , + -0.31946701327045707 +0.3857589971235901j , + -0.08654197656865963 +0.5310450193222934j , + -0.2706227392678639 +0.48482434104864097j , + -0.18265847571974642 +0.36844959063933475j , + 0.05895099580219643 -0.12219203649909366j , + 0.20435234172041258 -0.26888426939425214j , + 0.3301212461058983 -0.5102472474648052j , + 0.4975905272360581 -0.006152047234814287j , + 0.2527108418301824 +0.12495793403980551j , + 0.12669385774337202 +0.332309628596716j , + -0.047758332799952063 +0.609552508697266j , + -0.01770329366007819 +0.5226208706261667j , + -0.1735399170395611 +0.5211896713621431j , + -0.1683081203680441 +0.26661978193270786j , + -0.22634949962050765 +0.3338109039678243j , + -0.3462146243864925 +0.24091413748194002j , + -0.40141702308163557 +0.2495244501296387j , + -0.19877942734810156 +0.20676840488114237j , + -0.28468862280875595 +0.008583264367149042j , + -0.4793963593481798 -0.0056418220780790375j , + -0.24167059180125156 -0.00039862206104778174j, + 0.12582377146769533 -0.3090129733078391j , + 0.10167310894131189 -0.5159226638671547j , + 0.339519949594548 -0.5900213010022932j , + 0.3044088009766303 -0.2296103740928242j , + 0.4593933202978001 -0.5213540597429573j , + 0.47416296700560956 -0.30716515746951195j , + 0.3119023245106665 -0.21225474062072205j , + 0.43349334209241536 +0.046373571792505404j , + 0.1546456844197974 +0.33190301852491677j ]) + + agc = sksdr.AGC(ref_power, max_gain, det_gain, avg_len) + out_frame, _ = agc(in_frame) + + in_frame = np.array([ + 0.004789022011574023 +0.5683155898772889j , + 0.03287214238120745 +0.627700455690302j , + -0.0951084464892609 +0.5042431787145611j , + -0.2781392044670595 +0.3147083817342956j , + -0.5566659201957531 +0.5233785845433452j , + -0.11615129780438219 +0.23201416287150864j , + 0.39464430884399726 +0.08432967312645223j , + 0.37686788545249655 -0.12668491933364084j , + 0.606655876479858 -0.21175365257263884j , + 0.5910583566309533 -0.2097304455480773j , + 0.2147696319392665 -0.26574390628502675j , + 0.22912838875767222 -0.40678136605719656j , + 0.16756976959712488 -0.5385013015451073j , + 0.3267407466141376 -0.35578753550931586j , + 0.36176035868677625 -0.12210042409503201j , + 0.2317899181961328 +0.46968740551037j , + 0.39186384121156914 +0.5183931883367189j , + 0.32650320925582776 +0.3327774094271496j , + 0.15166918973167315 +0.38950024356904306j , + -0.009310990162919669 +0.3368493435351232j , + -0.061331927591595344 +0.5072053818286648j , + -0.18820631289947826 +0.6666985253872695j , + -0.250392401922473 +0.2117344999728054j , + -0.29688492030408414 +0.4199174493718558j , + -0.10593704644537352 +0.2726547802820518j , + -0.07994775769232837 +0.13965975133567582j , + -0.5220515168596285 +0.15242032006948344j , + -0.5336696067973467 +0.12226529645724193j , + -0.5100872120755879 +0.10571627123343114j , + -0.43253756014575445 -0.1484150971301807j , + -0.4497224684531035 -0.030776210679804305j, + -0.40589522194992916 +0.006593543099753699j, + -0.5615930319661286 -0.14896017074413978j , + -0.5129954577556408 -0.33636854154237295j , + -0.3730065871345942 -0.3908613408739593j , + -0.3233123552980427 -0.38948474891498025j , + -0.3152324248804598 -0.590106823503741j , + -0.27836499467358644 -0.3666747823836103j , + 0.11879415872061505 -0.0888128966398444j , + -0.028776390960738897 +0.25503330090423104j , + -0.10587587394530146 +0.4111100718477541j , + -0.03978653892596282 +0.6792096231091074j , + -0.2487993169714484 +0.6407290626727052j , + -0.27723489476662627 +0.5318618775296686j , + -0.5058857947829648 +0.20366693759421j , + -0.34174051918431 +0.20704032648447057j , + 0.06314110348668231 +0.1564445745208123j , + 0.3386109834902882 +0.02889098674619342j , + 0.6265072756048726 +0.035897866828702635j, + 0.5422216090345682 -0.10412251250462287j , + 0.6344769252040852 -0.34506711471299495j , + 0.6268425166206156 +0.21093610724063847j , + 0.6286601727318968 +0.14918964118071246j , + 0.314845487755031 +0.09237348080755203j , + -0.00026301200773951386-0.046392126783582774j, + -0.1777098833434491 -0.19479416697248209j , + -0.21706288912403057 -0.4473170233694627j , + -0.10768551548528504 -0.43783296852299713j , + -0.05885563063974312 -0.06780958934573571j , + 0.014850540276663118 +0.43742182885747677j , + -0.1357574532585351 +0.7411316479044177j , + -0.05580915459884372 +0.5427476249601182j , + -0.1535107233348707 -0.1313856085625564j , + 0.21182117640148168 -0.4111643072220143j , + 0.45209220707498 -0.6844019706323601j , + 0.2914971941388314 -0.3083861000844955j , + -0.09172081112495684 -0.08317566114733646j , + -0.5240856790025995 -0.06427790657637633j , + -0.7408329624991323 +0.2280889419547254j , + -0.6353076636888676 +0.04304274611436096j , + -0.5352791132108737 +0.03393107262731495j , + -0.42845474027063757 +0.029691462397405645j, + -0.48351484076355955 -0.07135407618096044j , + -0.33366648703691204 -0.315605062781836j , + 0.002883568469468391 -0.4935869038611498j , + 0.18510694303287184 -0.27719516305069813j , + 0.5054671883592079 -0.45843000409611123j , + 0.4788888488144979 -0.18932239857403174j , + 0.11576078066998731 +0.09860446101544756j , + -0.29705933646850535 -0.08387829659728305j , + -0.6042939722284341 -0.18736092943117472j , + -0.7097927520252291 -0.004205317075511507j, + -0.6116150759617606 +0.15795315677973085j , + -0.40790574458665224 +0.41779516128921973j , + -0.500619224566329 +0.47534277048041645j , + -0.151528400257522 +0.4282888336663817j , + -0.008180590701090201 +0.34837580251314454j , + 0.1807631257045655 +0.2682952362840474j , + 0.08936983641489371 +0.5091031626462963j , + 0.30112709258322634 +0.49537979940915644j , + 0.07937710656511007 +0.37695067733034177j , + -0.21677167418671828 +0.5826401975288207j , + -0.3082546459634062 +0.30937845215539606j , + -0.06908789168390822 +0.19168261744379428j , + -0.050384762169075434 -0.19383457970047976j , + 0.18632431535149693 -0.21265917483971722j , + 0.4637837467383094 -0.5375142795766052j , + 0.645089010206707 -0.28893534412327104j , + 0.39970927401456424 +0.026500387379309986j, + 0.22894513575280304 +0.48564418657797626j , + -0.20184749474991734 +0.6430348679092047j , + -0.1578477457651728 +0.47581313589080865j , + 0.24122516943161124 +0.3705166030908144j , + 0.4072069795233128 +0.32211312702422157j , + 0.6156274744182988 +0.3307292686174304j , + 0.2445173122445729 +0.21534390028405118j , + -0.17063377055337997 +0.23831427512068498j , + -0.3938191254039262 +0.2719855566691014j , + -0.6410671510634137 +0.14893317453919197j , + -0.5934845183293525 +0.04714581082278704j , + -0.27284893590706144 -0.006419062681918997j, + 0.1492787195808069 +0.5201911926404406j , + 0.04064994142647284 +0.5883723081593759j , + -0.1499718146927681 +0.36143772741948654j , + -0.25751965569598834 -0.023819673732971447j, + -0.30890903392457625 -0.37277736895366337j , + -0.5562626581260706 -0.6075623155389223j , + 0.10539057424611599 -0.41182389197367186j , + 0.21678759217858118 -0.3635088442746168j , + 0.4054462574693257 -0.2668271149106546j , + 0.4349623690126017 +0.16530486013339776j , + 0.4546372982719442 +0.04154077032215961j , + 0.0529022995622152 +0.20088172891832637j , + -0.22512587457026764 -0.1046936218947461j , + -0.7585828699286109 -0.2769129949713758j , + -0.3764860245874536 -0.4799514819263612j , + -0.040167591987385357 -0.5811632821094888j , + 0.3548603535756882 -0.27438734171397566j , + 0.7795855635215347 -0.09377882382537583j , + 0.5803846319608266 -0.015618192459268855j, + 0.3500797464232889 -0.4875302760412369j , + 0.2075833703679578 -0.33055979901515015j , + 0.35098040847248047 -0.578501658624539j , + 0.41993191597986157 -0.32039486777709886j , + 0.03489959794954941 -0.14712028878655384j , + -0.3427543016394752 +0.3162576008884942j , + -0.6407920202556403 +0.5857721975650902j , + -0.3387365649812734 +0.14136281946107823j , + 0.049996428888289514 -0.06492989700084822j , + 0.2968956639722282 +0.26176990298767167j , + 0.6907042539031745 -0.13064022185760787j , + 0.6129198063567881 +0.20426296231275054j , + -0.2504995876047215 -0.043041558765060425j, + -0.29628219994257426 -0.3126312025539987j , + -0.3712638246357723 -0.3791764249229227j , + -0.4251846902691597 -0.4579780163352393j , + -0.4659157798793241 -0.640981215217649j , + -0.33525782076302457 -0.5921181472520558j , + -0.0682891065151237 -0.32801193282726876j , + 0.33745798439546204 -0.47488875539360914j , + 0.31593253307075286 -0.3656980851766601j , + 0.4537620708272704 -0.23458930388110702j , + 0.36354328415568893 +0.0755458949804104j , + 0.4211219986497848 +0.47572926666619963j , + 0.2021433224061361 +0.4877559480565379j , + -0.410596624052348 +0.5541162454708519j , + -0.5792876603544783 +0.4006002953185146j , + -0.6200827441085459 +0.366511152166932j , + -0.3728325883457917 +0.012123970569867956j, + -0.5286706269332588 +0.0856121054549176j , + -0.36760704604440725 -0.14084770766522212j , + -0.44609854800940985 -0.19727248494023286j , + -0.3836789828139306 -0.028864590379023086j, + -0.49977391375631824 -0.48526947448895236j , + -0.5519216215700817 -0.24038533126840333j , + -0.31668312005969906 -0.18290493319962883j , + -0.14229680564693137 -0.30126992808361436j , + -0.17654878149510952 -0.6329509039790813j , + 0.02383465244267255 -0.5903657353102565j , + -0.032796830250214765 -0.5079665412049175j , + -0.2610443820979017 -0.3377347476830981j , + -0.5877404061321606 -0.18704837468919772j , + -0.7070890888598096 -0.34612097690913823j , + -0.4424234388111875 -0.07734554444916858j , + -0.04141670749694317 -0.07569990128853711j , + 0.3342722020169445 +0.210225313850141j , + 0.3736042623624544 +0.5755119339795758j , + 0.5959732331022576 +0.6276173496988579j , + -0.004427611763505868 +0.6737902665279267j , + 0.07283497069698418 +0.6731797239991054j , + -0.03932568515743175 +0.573441616870176j , + -0.032547034050162196 +0.44496284735016867j , + 0.13005336050128002 +0.42611620291874386j , + 0.4000015208538868 +0.1686915985970187j , + 0.513255840585064 +0.3096394790440725j , + 0.5155749345349967 +0.20952575338710613j , + 0.24129800399063023 +0.2833191720342098j , + -0.4489652362892137 +0.05897590335148245j , + -0.742528220773844 -0.10510747249022998j , + -0.7007735428343608 +0.15382438542635807j , + -0.345866068330427 +0.18545612870376627j , + -0.009630074996539478 +0.4520628403915304j , + -0.14775322949677994 +0.36917094362000796j , + -0.23193427261988567 +0.3078533596120717j , + -0.2961371648623801 +0.3685543440665155j , + -0.6658973728286061 +0.3603777242807657j , + -0.33119024200491665 +0.27410589483764775j , + -0.3178926558820578 +0.3914358558866504j , + -0.23483911957557246 +0.4568837627294452j , + 0.07543731390262899 +0.5180516268640754j , + 0.15970332551341995 +0.5956449518553724j , + -0.12406650527894429 +0.5032814002581139j , + 0.16474252092827535 +0.006508890629476988j, + 0.341765241152066 -0.18718014703754698j , + 0.4178174479146744 -0.28928600466296894j , + 0.3647644843280061 -0.34176835978692377j , + 0.19168421071791408 -0.31778673535308616j , + -0.27865308917937553 -0.4692130959300985j , + -0.28783744882227635 -0.6660848267732349j , + 0.00004631816939928979-0.4949914290542319j , + 0.0742084537511287 -0.17326928115839296j , + -0.1630264953653312 +0.4116196373808911j , + -0.0300825550315532 +0.5595796653208449j , + -0.10098799289976126 +0.6709698531565801j , + -0.5608466101110544 +0.3290277628045928j , + -0.4049594034288006 +0.34185380811978494j , + -0.47440602167915263 +0.31852558376457385j , + -0.29687225346040447 +0.1743245055787308j , + -0.3351284971975937 +0.5569397127572472j , + -0.1785716174094056 +0.36711651310338234j , + 0.10079159404002994 +0.5698307037722583j , + -0.05637788262153567 +0.29171038334991917j , + -0.3893032118388555 +0.19248963124926757j , + -0.384989575917894 -0.10827131612553717j , + -0.1918335987118459 -0.2748088006516257j , + -0.3259615708170857 -0.48503032662956685j , + -0.29978081607510026 -0.46965336101479155j , + -0.21614720205019244 -0.634790292142262j , + -0.15627196073141947 -0.37698648781795263j , + 0.028328817170873703 -0.3175756075809336j , + 0.27022202535919015 -0.34790251892670293j , + 0.5395333551291253 -0.10816300411083146j , + 0.5427962042589762 +0.13954870130233332j , + 0.26438249485099186 +0.1924731137199487j , + -0.050362573505500524 +0.03649508570050028j , + -0.3912380976007407 -0.5129412238295924j , + -0.48139975654265293 -0.6729081420638947j , + 0.02294752148453419 -0.46204499759395606j , + 0.045832046721839104 -0.014251992075196944j, + -0.004641609593702772 +0.342792468366635j , + 0.20547597301053805 +0.6584678699700484j , + -0.10849078332325503 +0.3093761136981136j , + -0.22368738754915446 +0.22076150845207532j , + -0.440085265665731 -0.1709226607460498j , + -0.5807012796303724 -0.5494675024311775j , + -0.07746415806350032 -0.2870695464544004j , + 0.05060421898158578 -0.1060114755110034j , + 0.10906764642361627 +0.3788234806482806j , + 0.0931772941169482 +0.608844751038959j , + -0.0214232869318646 +0.8833321740706492j , + 0.05375941391526622 +0.7217339123843625j , + -0.14164635705078585 +0.3117226123121286j , + -0.27432741575271485 +0.6351582208016334j , + -0.16723377652135868 +0.4721250817497735j , + -0.06375408241227298 +0.33869782135217j , + -0.35088386240486286 +0.4551915071978903j , + -0.36760834660003466 +0.23949718355898755j , + -0.30316476233055173 +0.009016332755308262j, + -0.4098844861976812 -0.04648390622958007j , + -0.21162516979328902 -0.5238042969634398j , + 0.04262192204254837 -0.717540576967932j , + 0.10322886079711394 -0.3352862929693627j , + 0.1744011002200201 +0.2357426042144662j , + -0.45383072351780357 +0.33253370776819025j , + -0.43417585676914316 +0.5722499742447401j , + -0.2469500119484156 +0.33985911091230253j , + 0.0335561923088485 -0.08162708010299147j , + 0.22213087169511148 -0.4927154539071437j , + 0.8785032083630793 -0.07973932114101881j , + 0.6300123344684793 -0.08712898247346904j , + 0.3876157537376363 +0.3149225968513599j , + 0.07849181812403205 +0.5047250792483975j , + -0.2554243805270293 +0.4288338632207528j , + -0.4209754835293086 +0.28314391965248265j , + -0.07501522901022983 -0.23484950966108903j , + 0.33982812506265525 -0.38636773119673257j , + 0.426507244129354 -0.5318023628610535j , + 0.4094454261387827 -0.08526363362356384j , + 0.4471528917467884 -0.08300202855926303j , + 0.0820791375794281 +0.38931560097719814j , + -0.10402915804517626 +0.33208489476292324j , + -0.21272419571042192 +0.513714564596635j , + -0.0721396641032328 +0.6664256529846682j , + -0.3464406865004114 +0.5675581067505978j , + -0.2920207750859181 +0.44835120711709064j , + -0.39802298620804005 +0.2117123222899011j , + -0.34345189313687363 -0.014941482586619245j, + -0.32225127733586045 -0.4993958837070831j , + 0.04054538515616353 -0.7501810960611054j , + -0.0012848133379307902 -0.6451678954269698j , + -0.16092126194634546 -0.29966106145218124j , + -0.37076526130607257 +0.08366848115338758j , + -0.5099104552759746 -0.15529520345584663j , + -0.3687497142403687 -0.11346553518283586j , + -0.10527452902195196 -0.2778654007623821j , + 0.1303080306807552 -0.1608826781125962j , + 0.34579097886975596 -0.3302548445294654j , + 0.7239026872104646 -0.11672765266223696j , + 0.5164459224315646 -0.22870204100656177j , + 0.7094293016306351 -0.17263068052936126j , + 0.5481789151644341 -0.09737571743984925j , + 0.3636416841590529 +0.18998187710171321j , + -0.09389363337421094 +0.09732831784690044j , + -0.3432479041090068 -0.39274552945582775j , + -0.6582099930104949 -0.45254052223910357j , + -0.42611832989476417 -0.4571689629307496j , + -0.10098066458636087 -0.13732305856582544j , + 0.123115330971941 +0.16317827231725157j , + 0.14131826634957498 +0.5186280261619599j , + 0.16624438309864342 +0.7666866756272439j , + -0.1257326054302147 +0.6854517364242454j , + -0.1459809164330956 +0.6199823997900461j , + -0.22362236694786755 +0.5032682987838434j , + -0.20392776266881196 +0.41612176383844657j , + 0.21337110615052762 +0.33550587822687933j , + -0.05348968722420894 +0.47024459914928673j , + 0.27825018071108903 +0.4328083930045168j , + 0.3147306571392335 +0.6949584964962202j , + 0.18042703928339276 +0.5573892202423428j , + 0.061386812458630584 +0.5910238279021561j , + -0.13789700989406767 +0.5598424457142178j , + 0.05201247876672755 +0.4355901754050166j , + 0.2501331928876327 +0.5100195540474395j , + 0.3231094472049483 +0.4178485906334114j , + 0.5179156216891225 +0.3619785886645892j , + 0.6334928409731286 +0.060118678806338255j, + 0.36894878543369003 +0.2709774516593957j , + 0.6026444951835135 -0.027555994579157292j, + 0.5771712201046334 -0.19853503840031841j , + 0.5638899838537038 -0.12345241110845645j , + 0.42267468790933166 -0.029369934116614357j, + 0.5551875718691098 +0.3155985249126796j , + 0.4776177334968731 +0.3532723537923405j , + 0.31259103598923316 +0.10380666369712148j , + 0.4127102890836497 +0.034246558306274655j, + 0.29296846441599556 -0.35797737914128125j , + 0.3480958094330998 -0.33908012374474894j , + 0.4060320358501895 -0.16093270227981943j , + 0.2762640581465556 +0.18149645669917944j , + -0.6132299293877572 -0.05100156229576369j , + -0.6188746174291728 -0.055246826678284j , + -0.6913580447797821 -0.09366972770497235j , + -0.1092627014155625 -0.021554150635163687j, + 0.2584593637136403 +0.377483978756158j , + 0.5429407914658804 +0.19744128430695815j , + 0.2129197521939113 +0.35194980803331266j , + 0.035985885633435896 -0.024308630769499684j, + -0.2646881177591118 -0.5352097363636412j , + -0.04639284549864291 -0.47850053236725965j , + 0.2230390252473813 -0.6145599864896156j , + -0.1654153843105387 -0.4660068710996398j , + -0.11460756845691719 -0.5902282436065576j , + 0.2622504540727937 -0.3580701014237922j , + 0.24178550402174906 -0.4176035404560912j , + 0.30203014600504324 -0.04078212738757021j , + 0.28198803030914654 +0.23914964131353414j , + 0.4356506484891586 +0.4085759699512908j , + 0.28204234071781675 +0.46745930978392775j , + 0.25393983097366957 +0.3878942188485526j , + 0.6156621434472229 -0.053663433139165946j, + 0.7908786797968957 +0.026794764770947603j, + 0.3798867783669418 -0.1476270028145382j , + 0.022626654330280625 +0.013913293639331425j, + -0.4153344541877536 -0.019622212447453283j, + -0.5525570880702043 -0.2632698689700689j , + -0.17152254669375325 -0.503918875508476j , + -0.1428587922877726 -0.47575177947360786j , + 0.2760496689053341 -0.5035029036732955j , + 0.5047797006643737 -0.24389280849896694j , + 0.5023981784087955 +0.13433568660308015j , + 0.30051561399560867 +0.2041226639474981j , + 0.0735264065848306 +0.45388322941032705j , + -0.11565753275717902 +0.528186125789833j , + -0.4678573450156736 +0.37937199680931605j , + -0.33907745717067006 +0.11134788384307921j , + -0.2806557387190147 -0.4924881499727356j , + -0.1191332394583953 -0.6340366753094999j , + 0.005567162585548874 -0.7645929594895295j , + -0.3356032698673538 -0.23331639403635396j , + -0.4395880788349532 -0.356271298572691j , + -0.5190784611761305 -0.10162536800891843j , + -0.2626102107632492 +0.0498374631471941j , + -0.4664799015946879 +0.2806767286090182j , + -0.18128949489038074 +0.5837186646038797j , + -0.27048660782475314 +0.3272913203038448j , + -0.26144327461048267 +0.28640648167750743j , + -0.1103252104657911 +0.13524279825567173j , + 0.2883122859863361 -0.3468202625487594j , + 0.42964239381952996 -0.23047990810039085j , + 0.5991066080732574 +0.02700533952640405j , + 0.7047075325726667 +0.04867713557139958j , + 0.6249543027436073 +0.21024449745445373j , + 0.37943900855786683 +0.40346671736400375j , + 0.16920940999036452 +0.27365235873392446j , + -0.10962322552508803 +0.09518946062368376j , + -0.41643276579355015 -0.17893542603110213j , + -0.3634752153582979 -0.5003206491013154j , + -0.14910360843508683 -0.49980137292141j , + -0.04650939681253133 -0.06748750297983133j , + 0.21323621216055763 +0.3657138095477644j ]) + + expected_frame = np.array([ + 0.004616393940743702 +0.5478297320828981j , + 0.0316956208378985 +0.6052345299742259j , + -0.09172516337411542 +0.486305787289869j , + -0.2682780697554582 +0.3035507250742131j , + -0.5370337063413487 +0.5049203317101968j , + -0.11207096322295508 +0.22386362620045167j , + 0.3808715115982196 +0.08138662931777424j , + 0.3637847097406174 -0.12228698275250391j , + 0.5857122929609359 -0.2044432802841094j , + 0.570735962262229 -0.20251927125751984j , + 0.20741202659028185 -0.25664001776648754j , + 0.22133333856507018 -0.3929424821763143j , + 0.16193178336703343 -0.5203830996146696j , + 0.31584450093765776 -0.3439226290484237j , + 0.34977624454323314 -0.11805557676946633j , + 0.22415053888581749 +0.45420735238340254j , + 0.37899830314982874 +0.5013734825254542j , + 0.3158156435568751 +0.32188446771767554j , + 0.14671624763204663 +0.37678063876597856j , + -0.009007098019444226 +0.32585525297718776j , + -0.059331087232935543 +0.4906587471810475j , + -0.18207578436679717 +0.6449818556878527j , + -0.24224385536096063 +0.2048440016251713j , + -0.2872376714982389 +0.40627226959021884j , + -0.10249821665675558 +0.26380411460933567j , + -0.07737331781062058 +0.13516249407560813j , + -0.5054338902738384 +0.14756856908092666j , + -0.5168348415431001 +0.11840840159498656j , + -0.4941481571024739 +0.10241288032526503j , + -0.4191665593325666 -0.14382715248151645j , + -0.43598090345133095 -0.029835823376009013j, + -0.39366179728086 +0.006394817890756171j, + -0.5448948650609339 -0.14453105276772232j , + -0.4979290272490106 -0.3264895588357098j , + -0.3621820919651337 -0.37951870821773653j , + -0.3140352170190678 -0.37830885719904134j , + -0.306292648251526 -0.5733717963524776j , + -0.270554641223857 -0.35638663658109365j , + 0.11550131468980683 -0.08635110037217532j , + -0.027988279463980116 +0.24804859330927262j , + -0.10301136127309135 +0.39998733003133713j , + -0.03872367607329901 +0.66106512758217j , + -0.24220967468303656 +0.6237588580186183j , + -0.2699566396366432 +0.517898893390059j , + -0.492730806443027 +0.19837080906695592j , + -0.33293364667545 +0.20170476439223273j , + 0.0615271925953864 +0.15244579102225422j , + 0.3300515530282716 +0.02816067850431627j , + 0.6109475968485296 +0.035006322073131646j, + 0.5289901213200522 -0.10158167731463025j , + 0.6192361004786519 -0.33677822790728473j , + 0.6119152213057546 +0.20591298662922358j , + 0.613810507610793 +0.14566561292639513j , + 0.30751294122000933 +0.0902221625483864j , + -0.0002569915589477462 -0.04533019266870246j , + -0.17371351283045042 -0.19041360214205863j , + -0.21227489367733166 -0.4374500586397152j , + -0.10536238859643969 -0.428387487044685j , + -0.057613445755338576 -0.06637842556433748j , + 0.01454657211861959 +0.4284684638533239j , + -0.1330758387329271 +0.7264920878308838j , + -0.05473756253695877 +0.5323263231021212j , + -0.15063882644504153 -0.12892763095420384j , + 0.20798768236146123 -0.4037231441240564j , + 0.4441933636106301 -0.6724442683138572j , + 0.2865385160237129 -0.30314012366947923j , + -0.09020306229832542 -0.08179931306926856j , + -0.5156621289759348 -0.06324477748441978j , + -0.7292806818579789 +0.22453220568354762j , + -0.6256290573543525 +0.0423870106038235j , + -0.5272961461496783 +0.033425036377347964j, + -0.42219743541367377 +0.029257837758891226j, + -0.47662530518934065 -0.07033736189471862j , + -0.3290414345035607 -0.3112303651365308j , + 0.0028446640812909148 -0.4869275521896173j , + 0.18266017483423577 -0.2735311605089472j , + 0.4989241305275679 -0.45249582261482346j , + 0.47280646724520325 -0.186917809136228j , + 0.1143183691021542 +0.09737582196873885j , + -0.2934354639252873 -0.08285505235381177j , + -0.5970869965443618 -0.18512641158950874j , + -0.7015195262111497 -0.004156300601778518j, + -0.6045986390946385 +0.1561411210793929j , + -0.403288542750549 +0.4130660183158242j , + -0.4949820074588323 +0.46999017859783676j , + -0.14981331162839992 +0.4234412057144414j , + -0.008087492343453469 +0.34441114809643714j , + 0.17870349631183344 +0.2652382590801692j , + 0.08834982907977156 +0.5032926008162136j , + 0.2976638367452613 +0.48968244761129537j , + 0.07845475412297007 +0.3725705557455775j , + -0.21422053555523507 +0.5757832319139754j , + -0.30455088715539147 +0.30566119052711055j , + -0.06824392977897731 +0.18934106636998016j , + -0.04976820455124582 -0.19146262870640554j , + 0.18404879853482753 -0.21006203915372834j , + 0.45821057514938557 -0.5310551068853563j , + 0.6374206302602465 -0.28550067702517773j , + 0.3949547850005803 +0.02618516877205631j , + 0.22622408777542496 +0.4798722310949813j , + -0.19943924146960404 +0.6353627844289672j , + -0.15594942013566834 +0.47009086050234566j , + 0.23831489370211542 +0.36604648299558884j , + 0.402289568918828 +0.31822330541918203j , + 0.6081642614661082 +0.3267198586028004j , + 0.24155075750303143 +0.21273128581276698j , + -0.16855947709984548 +0.2354172299510009j , + -0.38903406636322513 +0.26868082395571496j , + -0.6332641704760712 +0.14712038056306503j , + -0.586243595389117 +0.046570599216452825j, + -0.269516362552101 -0.00634066033379743j , + 0.14745591732153535 +0.5138392780215261j , + 0.04015253300851636 +0.5811727568512807j , + -0.1481312151039738 +0.357001813018998j , + -0.25435783830371045 -0.02352721660583004j , + -0.3051241511474679 -0.36820994460377215j , + -0.5494696160608473 -0.6001428055171567j , + 0.10409733121838584 -0.4067704193955274j , + 0.21411790832705302 -0.35903232566165033j , + 0.4004352040988109 -0.26352930443914235j , + 0.4295471877339016 +0.16324685271104397j , + 0.44894461824559534 +0.041020623131440885j, + 0.05224170054154522 +0.19837328836863202j , + -0.22232785143560171 -0.10339241572876168j , + -0.7492579869328729 -0.27350904086106154j , + -0.3718259134495494 -0.4740106843920317j , + -0.039661762184535924 -0.5738447027805339j , + 0.35031100057597825 -0.270869662538123j , + 0.7694466384635521 -0.0925591803233897j , + 0.572655853311242 -0.015410210466333441j, + 0.3452945083259354 -0.4808662274227117j , + 0.20466221964511092 -0.3259081017518983j , + 0.34590433147251715 -0.5701350407367632j , + 0.41367947660687765 -0.3156244528361026j , + 0.03436663379158549 -0.14487356259372255j , + -0.33742572202837573 +0.3113409483595867j , + -0.6306666159388067 +0.576516182898209j , + -0.3332610951151942 +0.1390777757481684j , + 0.04917190766843997 -0.06385909896446319j , + 0.29190587645897753 +0.2573704578230063j , + 0.6788597414902757 -0.1283999435899237j , + 0.6021336854820589 +0.2006683566581683j , + -0.24598515775992502 -0.04226587646029687j , + -0.2908638873383234 -0.3069139047021239j , + -0.36440143818553516 -0.372167783121656j , + -0.41724640055733103 -0.44942746816518103j , + -0.4570922261936687 -0.6288422570449198j , + -0.3287476326683624 -0.5806201290877054j , + -0.06692243345708529 -0.3214474147923044j , + 0.3305417605490287 -0.46515587875019465j , + 0.3093044014848967 -0.358025893251102j , + 0.44407395387957915 -0.22958066883469572j , + 0.3556724899668938 +0.073910309296081j , + 0.41192403117791565 +0.4653385904862767j , + 0.19766844733588593 +0.4769584262470409j , + -0.40134727760427813 +0.541633889731341j , + -0.5659334115581224 +0.39136530486782295j , + -0.6054140953690288 +0.35784098128839625j , + -0.3637516981635142 +0.011828673300370624j, + -0.5154074637069099 +0.08346428927041201j , + -0.3581093247907482 -0.1372086798472963j , + -0.43430930777049626 -0.19205907923006943j , + -0.37332529304037865 -0.02808567094999095j , + -0.4859956767476902 -0.4718911094952539j , + -0.5363385748607669 -0.2335982519096832j , + -0.3075694296207341 -0.17764118898545428j , + -0.13812811623996524 -0.2924440043242591j , + -0.17128137270222896 -0.6140665416581016j , + 0.0231096789234301 -0.5724087071640537j , + -0.03178343177074924 -0.4922707402220449j , + -0.2528682014779702 -0.3271565453234381j , + -0.5691105752422362 -0.1811194313115811j , + -0.6843672804988454 -0.33499862382669887j , + -0.42795907791199617 -0.0748168496045569j , + -0.040040098458620346 -0.07318378702905289j , + 0.3230104783599844 +0.2031427644308567j , + 0.3608461513009024 +0.5558589323662357j , + 0.5753528166492544 +0.6059020604793167j , + -0.00427173304748989 +0.6500687734927578j , + 0.07021696252328606 +0.6489826933291875j , + -0.03787899869317058 +0.5523462380649743j , + -0.031323599585978544 +0.42823681075062875j , + 0.12507558581853728 +0.4098066632142737j , + 0.38444982705785374 +0.1621330233152451j , + 0.4930233804554589 +0.2974335421234724j , + 0.49499830342050855 +0.20116356615176245j , + 0.23154354009456865 +0.27186600379840015j , + -0.4305868370538988 +0.05656172379046477j , + -0.7117369493187476 -0.10074886008081495j , + -0.6712792067324058 +0.1473501853501231j , + -0.33107880393170114 +0.17752708026387493j , + -0.00921204854268249 +0.43243950140846993j , + -0.1412536693587286 +0.35293137472901664j , + -0.22160219119426053 +0.29413927612309504j , + -0.2827726953970937 +0.3519217364035611j , + -0.6354264709141172 +0.3438871436946304j , + -0.31577821483199336 +0.261350303145325j , + -0.30289047981508643 +0.37296298612926954j , + -0.22362398048506324 +0.43506450639571925j , + 0.0717904616768811 +0.4930075521118893j , + 0.15189187431820564 +0.5665106088093783j , + -0.11793191529296566 +0.47839615801476115j , + 0.15650961633137891 +0.006183612885260316j, + 0.32452758339717463 -0.17773931770608242j , + 0.3965706334265755 -0.27457525932250004j , + 0.3460949135043389 -0.32427578890221864j , + 0.18180217081028302 -0.3014036373967478j , + -0.26418140862509426 -0.44484479606239224j , + -0.2727749795704691 -0.6312287569205522j , + 0.00004387500000929527-0.4688818499525697j , + 0.07026642038490903 -0.16406502944391907j , + -0.15430877074784183 +0.3896085732419233j , + -0.028464457544450195 +0.5294806777401729j , + -0.09552601956756816 +0.6346801979271273j , + -0.5302936721934515 +0.3111034950477708j , + -0.38269701097094716 +0.3230606066898731j , + -0.44808741430718946 +0.30085475035619264j , + -0.2802901600197956 +0.1645874378440393j , + -0.3162918818100538 +0.5256357226430619j , + -0.16845916178792295 +0.3463268181869725j , + 0.0950443124353187 +0.5373381377722675j , + -0.05313935612951041 +0.27495360284399983j , + -0.366794563749223 +0.18136030778381843j , + -0.36257109886114725 -0.10196652719540315j , + -0.18057911720908604 -0.2586863352206607j , + -0.306755287863459 -0.456451406510284j , + -0.2820455340255046 -0.4418682781259277j , + -0.20331119241724416 -0.5970929533492851j , + -0.14694470417144612 -0.3544856522549779j , + 0.02663378043703852 -0.2985736733535785j , + 0.25403510030864884 -0.3270623524329632j , + 0.5072078042917818 -0.10168253602694872j , + 0.5102419673517582 +0.1311792590574438j , + 0.2485228719000334 +0.18092714879698443j , + -0.04734372713849289 +0.03430748786321831j , + -0.3678062000635324 -0.48222032452788166j , + -0.4525599586142622 -0.632595419471622j , + 0.021572931662062023 -0.4343678320384133j , + 0.043085737452874424 -0.013397996219963317j, + -0.004363396129205111 +0.32224582860671785j , + 0.1931590228391532 +0.6189969974147299j , + -0.10198764802956245 +0.2908315455570483j , + -0.21030269501205198 +0.20755189056957998j , + -0.41379239518210503 -0.160710895589781j , + -0.5460521962517412 -0.516682065282314j , + -0.07283869462744008 -0.2699283327121333j , + 0.047585527774105824 -0.09968757771241288j , + 0.10259031113208358 +0.3563258218014583j , + 0.08767770416866415 +0.572908995395779j , + -0.020164525319662178 +0.8314304917994001j , + 0.05060664123993977 +0.6794071310431749j , + -0.13334093700416866 +0.29344478796714546j , + -0.25825843269588955 +0.597953238352249j , + -0.15742854467162437 +0.4444434974136089j , + -0.060015804496999385 +0.31883797022413685j , + -0.3303268700305181 +0.42852351432355096j , + -0.34610736027153743 +0.22548927074350933j , + -0.285493179837667 +0.008490767492235233j, + -0.3861320646980783 -0.04379020746592277j , + -0.1994302235966353 -0.4936199610203919j , + 0.040178879008814394 -0.6764119177246204j , + 0.09733005308232877 -0.31612702533473724j , + 0.16447222455041405 +0.22232147897889334j , + -0.4280974305334196 +0.31367824716197j , + -0.4096797158866035 +0.5399637110392244j , + -0.23307243512164905 +0.3207604241588585j , + 0.0316773454613601 -0.07705669319169856j , + 0.20974602564509162 -0.4652442384180996j , + 0.8297684924068184 -0.07531580494966242j , + 0.5951424343460353 -0.08230657067230446j , + 0.3661909584986481 +0.2975157910427453j , + 0.07415727159931705 +0.47685269215786563j , + -0.24134208802750665 +0.40519099920317364j , + -0.39785651062818234 +0.2675943286152918j , + -0.07090996147003018 -0.22199718511893507j , + 0.3212884211033113 -0.36528900690188465j , + 0.4032936536654602 -0.5028578550499659j , + 0.38721305604641026 -0.08063392588444991j , + 0.42301832410703055 -0.07852208867857671j , + 0.07768229252001978 +0.368460601434218j , + -0.0985089545101198 +0.31446314097334577j , + -0.20155740095420585 +0.4867475094999097j , + -0.06839018954169679 +0.6317880362992716j , + -0.32857955013629025 +0.538297014926665j , + -0.2770590225534536 +0.4253798284316393j , + -0.37776567183299276 +0.2009372584913088j , + -0.32609956226461756 -0.014186589238392033j, + -0.306089773994293 -0.4743502475500378j , + 0.038524588700597884 -0.712791802702224j , + -0.001221169219109912 -0.6132090567507622j , + -0.15300360743304103 -0.28491712564797694j , + -0.35264919010979084 +0.07958033072602526j , + -0.48517682462744705 -0.14776248047669924j , + -0.3509751319864248 -0.10799623606148j , + -0.10023137009822597 -0.26455430463620233j , + 0.12410993478752369 -0.15323030042495583j , + 0.32952499976531296 -0.31471968390203703j , + 0.6902114575959393 -0.1112950189426931j , + 0.4926094002892275 -0.21814631575505108j , + 0.6769401250273894 -0.16472484882214902j , + 0.5232162069731289 -0.09294146878101348j , + 0.34718370664990883 +0.18138352989155848j , + -0.0896731615036247 +0.09295345862671028j , + -0.327924249539881 -0.3752121468629416j , + -0.6289947212457004 -0.43245408404735375j , + -0.4072544857126103 -0.4369305374122502j , + -0.09651691087290157 -0.13125282407957325j , + 0.11768569070812727 +0.15598177363135488j , + 0.1351128002060743 +0.4958544050261222j , + 0.15898961349613822 +0.733229092969032j , + -0.12026262874371448 +0.6556312693693195j , + -0.13962613495617476 +0.5929935798369368j , + -0.2138655640162992 +0.4813103449353165j , + -0.19501120140902434 +0.39792720734334974j , + 0.20404035384932864 +0.32083415297874407j , + -0.05115523207534891 +0.4497216725315586j , + 0.26613582045012557 +0.41396493068069723j , + 0.3010674328581294 +0.6647886557504994j , + 0.17258699768559557 +0.533169154944924j , + 0.05871866648892147 +0.5653352837139086j , + -0.13189283809981314 +0.5354663535540904j , + 0.049743948675664215 +0.4165918610829936j , + 0.23919640593442806 +0.48771953404533175j , + 0.30893248120710903 +0.39951478667658236j , + 0.4950924853095255 +0.34602717428430446j , + 0.6053962594240409 +0.05745230398336319j , + 0.3524744401657868 +0.2588777340977674j , + 0.575578455252699 -0.026318396533255187j, + 0.5511190296282817 -0.18957362026914892j , + 0.5382732661973612 -0.11784414415938341j , + 0.40331983166742214 -0.028025044372983993j, + 0.5295701490467107 +0.30103620171874534j , + 0.4553987505196308 +0.3368379715139159j , + 0.2979292176090686 +0.09893769986083782j , + 0.3931971120530057 +0.032627361565615826j, + 0.27899243108137795 -0.34090010157869166j , + 0.33136858645586564 -0.32278613604560474j , + 0.38644318759423335 -0.1531685703738742j , + 0.2628862610993594 +0.17270768128338213j , + -0.583404997106472 -0.0485210601728005j , + -0.5885924945268195 -0.05254354696972772j , + -0.6573500688826214 -0.08906210381726741j , + -0.10384653893533877 -0.020485709342290468j, + 0.24555867909881998 +0.35864232532519075j , + 0.5156602012659843 +0.18752065419335617j , + 0.20217373834008356 +0.33418697732358327j , + 0.03416082350465613 -0.023075792932137042j, + -0.2512013678973276 -0.5079390001513829j , + -0.04401508636357776 -0.4539760825358073j , + 0.21155323696086129 -0.5829121352386641j , + -0.15687704372004183 -0.441952727650136j , + -0.10868907519645238 -0.559748041217179j , + 0.24867965355892085 -0.33954087548370787j , + 0.22927166630279533 -0.39599007377093387j , + 0.2863976389095265 -0.038671321879613356j, + 0.267394760566967 +0.2267733173234421j , + 0.41313688472393484 +0.38746138444675565j , + 0.2674710974746312 +0.4433088106361133j , + 0.24080641575291004 +0.3678328688100923j , + 0.5837782519784025 -0.05088431297356145j , + 0.7498501410284188 +0.025404728507131054j, + 0.36013210433712806 -0.13995018044357732j , + 0.02144695123675885 +0.01318788566218165j , + -0.39363629653162513 -0.018597096772714632j, + -0.5236600935186942 -0.24950168440876927j , + -0.16255157091776676 -0.4775629000849049j , + -0.1353810798417127 -0.4508493219795063j , + 0.26156684344170733 -0.47708684346483243j , + 0.4782303407345201 -0.23106503838733308j , + 0.47598824605926876 +0.12727396435211336j , + 0.28474027470512403 +0.1934073994797543j , + 0.06967495663852984 +0.43010798156760327j , + -0.10961388854061846 +0.5005859431791668j , + -0.4434609826869765 +0.35958969181801287j , + -0.32142049604915873 +0.10554960615046866j , + -0.26605421888295383 -0.4668657432345953j , + -0.11293835417831899 -0.6010669979569837j , + 0.005277910805142227 -0.7248671797192716j , + -0.31813378035133466 -0.2211713446119414j , + -0.41666978718674696 -0.3376967968523208j , + -0.4919459468247107 -0.09631335458088544j , + -0.24883481789593934 +0.047223205946884395j, + -0.4419629471959782 +0.2659250993693402j , + -0.17175268852725273 +0.5530119108659595j , + -0.25625110231545306 +0.31006622575738896j , + -0.24768702517249352 +0.2713367538044819j , + -0.10452363383743621 +0.1281309019429363j , + 0.27316830083829635 -0.3286030683452263j , + 0.40712214174980516 -0.21839901081908566j , + 0.567836089283216 +0.02559578909629328j , + 0.668091735513146 +0.04614792730394381j , + 0.592544116657087 +0.19934119899526812j , + 0.3597602537768875 +0.38254181925331815j , + 0.16043199480444761 +0.2594571649243727j , + -0.10393731401539019 +0.09025219621489051j , + -0.3948450637552867 -0.16965948768391603j , + -0.344622700786476 -0.4743703176090622j , + -0.14135815387401032 -0.4738382935287891j , + -0.04409396049477288 -0.06398258189153214j , + 0.2021873782326143 +0.3467643492009155j ]) + + out_frame, _ = agc(in_frame) + + in_frame = np.array([ + 0.22987589867911334 +0.7653355725356431j , + -0.0065633848114861615+0.5045645595540897j , + -0.3458653406314339 +0.12600039003453323j , + -0.3191463548638416 -0.1764038683937492j , + -0.3142597283824687 -0.36788262109136494j , + -0.3964846740181458 -0.36002501609093396j , + -0.28580388142914415 -0.5609815376746468j , + -0.28282479953422657 -0.7750654250444671j , + -0.19938983352618211 -0.421317451335124j , + 0.10865227411971222 -0.3611480683310554j , + 0.3599284103399927 -0.20554148755783927j , + 0.4292876612441221 -0.13866958185872702j , + 0.650942542952295 +0.16009746894966798j , + 0.4462619523623217 +0.36723610100605286j , + 0.3742366568484252 -0.02569065133148077j , + 0.25773945589766034 -0.30702502942867943j , + 0.40967170362438626 -0.4468176230318105j , + 0.5805319388132728 -0.35726170355144804j , + 0.2538068282529825 +0.061590439283512335j , + 0.15042049610278996 +0.4234942217745742j , + -0.08596937283118616 +0.4627096273950526j , + -0.12851903239620535 +0.572923650054241j , + -0.27943683277501075 +0.5078073390428169j , + -0.24621881099014706 +0.501269237840979j , + -0.31783851670818536 +0.3916908421014662j , + -0.33010390661348366 +0.41229996558462806j , + -0.44782563957713595 +0.1503453365006113j , + -0.5575564523683673 +0.24074885044883057j , + -0.37387884805141497 -0.13365717297526356j , + -0.5194910928648665 +0.09664583984861953j , + -0.467068103606849 -0.010808132513598984j , + -0.3567466440677788 -0.357238851194747j , + -0.4460001728715297 -0.19497203059639798j , + -0.48853301089770224 -0.37433918104389274j , + -0.5380378155340739 -0.2976457436756619j , + -0.23608322638563767 -0.40852927763508246j , + -0.22418696158738122 -0.5712174695298855j , + 0.057145605547784 -0.3500932692700257j , + 0.14783681017189343 +0.0021897451802170113j , + -0.14482640939510713 +0.334936393147761j , + -0.20585818066392708 +0.5387875344858466j , + -0.1650053917435804 +0.7051765461260244j , + -0.3854756291269589 +0.4628352464495762j , + -0.33687294684488756 +0.8832217929274921j , + -0.30133326800711974 +0.19985811003944887j , + -0.16158082458515202 +0.33676805425065875j , + 0.06988488710904166 -0.051610492527251826j , + 0.18852075673511706 -0.20456844501118016j , + 0.23259464495905585 -0.2976477462919034j , + 0.5774164597842024 +0.03034123486479777j , + 0.4892080815415407 -0.030488677152381793j , + 0.649108414874718 +0.10811317757327754j , + 0.46598343011122506 +0.4012762629119477j , + 0.24104650981385284 +0.31234599574951527j , + -0.12220636393372011 +0.1635849720358527j , + -0.33586675963285334 -0.46274150904212485j , + -0.4504604528091118 -0.7216130996023917j , + -0.3398223034366827 -0.25537596443295774j , + 0.016670177002111715 -0.061529912377064656j , + 0.04779986457617576 +0.38402032198234815j , + 0.09302935723620406 +0.7109062859527188j , + -0.13628016863547918 +0.584999981311163j , + 0.048733472728945786 +0.13099549892308704j , + 0.21868928519082564 -0.4416666037733531j , + 0.47241797395396307 -0.6311555521837654j , + 0.46127112539024057 -0.3277789552452315j , + -0.03493195895027877 -0.029696932750575063j , + -0.4483969132572946 +0.1392991550868595j , + -0.6690297821386804 +0.1358110148324802j , + -0.42240276714952596 +0.09396838400727117j , + -0.458063706006154 -0.24719014852196383j , + -0.49090951360696267 -0.09662851493130278j , + -0.34690250545654044 -0.11207158319554114j , + -0.45250511695303886 -0.1593318854807872j , + -0.5382396733975068 -0.038864778703359526j , + -0.3583007991741135 +0.2559088783397415j , + -0.3124747209335128 +0.4748425665017677j , + -0.42819793133680417 +0.36450337890248036j , + -0.13514592194488612 +0.33856338579483836j , + 0.0805285510104095 +0.48998873237376284j , + -0.004576332008824978 +0.5031773529660856j , + -0.1101854054800536 +0.5767634697550138j , + -0.037892276313484574 +0.6133565598551434j , + -0.3979841891924281 +0.40223379424500705j , + -0.19195972509255507 +0.6098210309682373j , + -0.2285000699137446 -0.042046787721056245j , + 0.027272511099251488 -0.2332813729987449j , + 0.3740200700883919 -0.3025153334394908j , + 0.5323496543019386 -0.21240398665406604j , + 0.6167948463309245 -0.09954598300602555j , + 0.06765351412924683 +0.02220053265387855j , + -0.43769286636502014 +0.013625727173565721j , + -0.36009728516709805 -0.06818059046246283j , + -0.39054150237852886 -0.3359952255600491j , + -0.10864021216494556 +0.02099975753102319j , + -0.023651517116969445 +0.3690084622104001j , + 0.551807152193363 +0.5750762521953157j , + 0.3822490741066407 +0.6580141175160645j , + 0.16823013412987828 +0.7036909906213161j , + 0.07625803817837613 +0.47943847642718j , + -0.07352794172434596 +0.4162510762808691j , + -0.2969934525125764 +0.3171047905444518j , + -0.331687394776829 +0.1601506987767427j , + -0.5541582243655874 -0.20679560828933335j , + -0.24166325576084502 -0.14556220869655406j , + -0.38067598371558076 -0.3031586743753153j , + -0.259762884941812 -0.5353815920038762j , + -0.1603101998211462 -0.7446299938463461j , + -0.11232837954580968 -0.5129836597671767j , + -0.23555458210669594 -0.4725975403711585j , + -0.28635967914410054 -0.045322843960992815j , + 0.18481654663831407 +0.43745522327487435j , + -0.1875409995876352 +0.47529880790828966j , + -0.15162883337477462 +0.46348343659014146j , + 0.0018219960594604429-0.007905650426194802j , + 0.05917680005465445 -0.5400240263559164j , + 0.4861469594408063 -0.4100622460315489j , + 0.30070094175595496 -0.1699259205410963j , + 0.24986742874435167 +0.18015474134608322j , + 0.24879107755450997 +0.3117091521908658j , + 0.04231084291771918 +0.47321671837631496j , + -0.163125761935268 +0.5465797941833812j , + 0.07257226301621944 +0.08991361740849914j , + 0.1895264797006887 -0.19778710689955262j , + 0.37112174603052983 -0.411363258709791j , + 0.4008345461039701 -0.44703797630042497j , + 0.3610661024035396 -0.3181216962551723j , + 0.3478514901081182 -0.5033628325484553j , + 0.49802594244973497 -0.24872633671290573j , + 0.6363299654502514 +0.20065520361950523j , + 0.20383647190399867 +0.33921017252290386j , + -0.09085271428704986 +0.37802642541042414j , + -0.3266365112063571 +0.5074409588021817j , + -0.3734122424048414 +0.5735889061715836j , + -0.04435633192759234 +0.5107751687394064j , + 0.14415863912780424 +0.37042387995515813j , + 0.493521275095334 +0.44766678806842525j , + 0.22703309307086975 +0.23902959432616896j , + 0.51814028460455 +0.12367772948788344j , + 0.48761423037902685 -0.014004440047350415j , + 0.5873744714902175 -0.13523546925475946j , + 0.5545553939292385 -0.06027406335951356j , + 0.2045196890308036 +0.12867548315776833j , + -0.13022838006387893 +0.4422975110848151j , + -0.4560243778769475 +0.19043627545147762j , + -0.4352542243921849 +0.25993888002551796j , + 0.14649223007306827 +0.0011231478588900842j , + 0.42992232438039996 -0.19864858183555975j , + 0.6546775629813254 -0.01766347971977146j , + 0.538868950642749 -0.07472808515459062j , + 0.2581838463375776 -0.2896165239499677j , + 0.1773137954917726 -0.4612076533302344j , + 0.314246819232905 -0.4843431151883434j , + 0.07959891719860487 -0.39653672432495446j , + -0.1847754741409119 -0.07274865491720751j , + -0.22666987444984488 +0.32309804995164026j , + -0.41982550574651156 +0.24616012576280044j , + -0.3443905877710415 +0.11350976449035761j , + -0.10678766974751833 -0.03979991789334445j , + 0.498892254363537 -0.1723361803063384j , + 0.7155768857482845 -0.15532240419869114j , + 0.5241788869513824 +0.07049288704942956j , + 0.2991911700794537 +0.24553958153940753j , + -0.09581283888184156 +0.37164274529661623j , + -0.22750955144251736 +0.32890598791058295j , + -0.47178636680142383 +0.11245429020091945j , + -0.4300800934722576 -0.09196103184885276j , + -0.47800655736383124 -0.17651378210365543j , + -0.12014896499288805 -0.5034056758400276j , + -0.05884656846730885 -0.5495012756622129j , + 0.06474220655700505 -0.5126968648284206j , + 0.05727346348054059 -0.6371126671155087j , + 0.3375021863292722 -0.2974194223536165j , + 0.3012909458879504 -0.4600957367780084j , + 0.2500040713309847 -0.31811031420477043j , + 0.42940337309232923 -0.19494032806720818j , + 0.38342432599807535 -0.455086570611997j , + 0.6221334789941934 -0.19151877414009122j , + 0.4705714021949151 -0.160934854372035j , + 0.6103862518227029 +0.00030220252301872697j, + 0.41880188134092733 +0.04640984493615362j , + 0.4886874653064073 +0.31945774245156283j , + 0.5036746652712901 +0.17494962597347166j , + 0.2830577676502881 +0.32485884364976375j , + 0.36184009748255747 +0.15741173859633853j , + 0.4632548461805618 +0.3496833331737167j , + 0.3172343141432378 -0.038304834188940776j , + 0.5590173892463196 +0.1025463461984964j , + 0.5734509172819332 -0.3025427630994425j , + 0.6069216392253333 -0.260655435938203j , + 0.4314897989858097 +0.03950510996439026j , + 0.5495030878738608 +0.1628218682630354j , + 0.7179010499900655 +0.24564498469497814j , + 0.28827922217779384 +0.13616741321895665j , + -0.07626189230495663 +0.4071854757346882j , + -0.22256408964433688 +0.21735687139744175j , + -0.3897204092156824 +0.18185588875285308j , + -0.7279365538683422 +0.08606110613576949j , + -0.38019421523929947 +0.12808609625229264j , + -0.7431183680770914 +0.23431537550152726j , + -0.33313281299090675 +0.017025981613274548j , + -0.4631578060630161 -0.017815454751092613j , + -0.567078480184266 -0.2621433358492713j , + -0.4326455262151543 -0.15628408003429367j , + -0.31825519274071823 -0.27751855854468394j , + -0.3410417041481731 -0.16569694964335205j , + 0.1000802254983727 -0.25216226043166906j , + 0.38358832180758795 -0.3957873149725622j , + 0.500717113610097 -0.20921353257220765j , + 0.4579672477058443 -0.07341863613634594j , + 0.3967539229303997 +0.4862842006149014j , + 0.01110991004024937 +0.6249517311780091j , + -0.3267415344935195 +0.5915823519570768j , + -0.3361743868629685 +0.4801911236356391j , + 0.021637521866977132 -0.018181740862257118j , + 0.6130141950424906 -0.356931789813816j , + 0.45403283366153124 -0.3308054598027228j , + 0.40192351922250713 -0.23344234086505875j , + 0.13891524151508322 -0.03223332901328609j , + -0.18408305294267924 +0.18892866171068995j , + -0.7177635849200721 -0.11499710247034253j , + -0.7067792413981305 -0.009868507911321517j , + -0.4491998847914816 -0.29982318858061563j , + -0.32709073603807526 -0.3918808487966281j , + -0.22755455738530847 -0.46446827758563825j , + -0.3107627969870028 -0.19360000918725578j , + -0.31292033012403075 -0.04836868357475911j , + -0.35969948542061286 +0.25615719916323554j , + -0.6673218882812816 +0.11294107753239555j , + -0.46198850070171604 -0.029265661383668956j , + -0.3704196870929903 -0.30797662217456534j , + 0.10445522473804482 -0.5822320864198958j , + 0.18757584729933685 -0.41159892004898385j , + 0.13594016615508211 -0.3117597995301017j , + -0.14528553705091193 +0.12590471795448294j , + -0.18007314395880192 -0.00915013995249428j , + -0.5717596844807199 +0.2330906828769189j , + -0.5745346262414796 +0.11912850801212954j , + -0.22115137450298594 +0.38053424416438736j , + 0.03729859452491112 +0.551260046338167j , + -0.005369754388596737 +0.6076864225760016j , + 0.166596155690548 +0.608052579889703j , + 0.331584131851989 +0.3191271509947051j , + 0.39477747252120154 +0.5442317741802731j , + 0.6114824926820909 +0.5110297768548221j , + 0.27261720030501113 +0.20920581311124567j , + 0.18418741270204142 +0.0040393028142710966j , + 0.42425360387419575 -0.24009562728728256j , + 0.35785150281951433 -0.10979137633317776j , + 0.4779486976825127 -0.22298679230852225j , + 0.27861033882682457 +0.12317742317968532j , + -0.0009407910352549065+0.49662792886149754j , + -0.37113412893474285 +0.4637058868467189j , + -0.3536089430528091 +0.3853074939694107j , + -0.13881763367914507 +0.27617017940642824j , + 0.5044165158536242 +0.3941432475012501j , + 0.3635699781027253 +0.5084600796301979j , + 0.22840175853442318 +0.5305781387026596j , + -0.211487384445564 +0.254765585733305j , + -0.5742627642165695 +0.1235944395697052j , + -0.52587720062319 -0.07242837207562729j , + -0.5957609549733627 -0.13009238017851302j , + -0.12555982380784925 +0.023433787419383154j , + 0.060785591265037325 +0.46978394385745265j , + 0.4031349575057058 +0.48659868074229573j , + 0.2804073673003271 +0.5895120031494263j , + 0.41725593513704956 +0.17257118004480043j , + 0.40265504209751246 -0.13088236974599562j , + 0.5522997181088662 -0.2358658632647303j , + 0.556520901022279 -0.18780968110143154j , + 0.36480637524148785 -0.3714631401401564j , + -0.06877617212906856 -0.45592318124022946j , + 0.23435626225657885 -0.42117574008527336j , + 0.1645229976768232 -0.587549906517526j , + 0.23641521817369715 -0.3448673540092971j , + 0.36797054307625815 -0.32346218783617864j , + 0.39973586321829596 -0.49801944491394945j , + 0.399636384977675 -0.20589069677274086j , + 0.36272115872683275 +0.17090020822520077j , + 0.2504919340916418 +0.5050479576583923j , + 0.010141198783671911 +0.566709270963193j , + -0.1493348993757922 +0.5102769867329843j , + -0.6220116241844602 +0.2491281325500146j , + -0.3665885185942155 -0.16012842641809721j , + -0.36655948774103575 -0.3982860147581464j , + -0.22545370101803486 -0.38452891747209955j , + -0.5028017258557447 -0.294534574990462j , + -0.6137720291901668 +0.1199382366721667j , + -0.7199400000848563 +0.2733306776009229j , + -0.3154257791210468 +0.1697344819383608j , + -0.06895857438289887 -0.05692594203848963j , + 0.3988979738852572 +0.10478445898269435j , + 0.6699111202083914 +0.013045490684443758j , + 0.48993528829067745 +0.26709863236602704j , + 0.06406508073026591 +0.3329399767664391j , + -0.32128096016680935 +0.31391573475573015j , + -0.4053116721873188 +0.47337327944740193j , + -0.6100340086202076 +0.1800527854439512j , + -0.26838790886306924 -0.2521164716281198j , + -0.1019751814013713 -0.6799283679203244j , + -0.08226959309248161 -0.5928865434414582j , + 0.2804064472781539 -0.4677171447656541j , + 0.18588668010576226 -0.285948690130561j , + -0.14985089675202537 +0.4275882344047979j , + -0.16339591459227404 +0.3841253580358869j , + -0.41624528691640295 +0.24802295595708967j , + -0.4906339917372933 +0.1731967720780318j , + -0.31187765776308535 -0.47172589657515707j , + -0.03707975109392633 -0.6684160158517549j , + 0.06716803546142443 -0.5790481666834968j , + 0.027575619877941188 -0.7133414481062245j , + 0.09868228125518706 -0.5397219097466538j , + 0.05428545229934234 -0.5227843965274078j , + 0.14249658398321313 -0.3642943225415789j , + 0.11932762803889427 -0.3288151001277959j , + -0.3739766763014746 -0.20301364161702665j , + -0.26915176347867575 -0.3674400149311431j , + -0.2763652669909765 -0.2746039324250131j , + 0.3701983605113392 -0.23858327158820847j , + 0.6471708738279431 -0.1634839777070282j , + 0.5006811031870773 +0.09901947205141681j , + 0.643299586472291 +0.14456124396623515j , + 0.5483536199256986 -0.07150241617957384j , + 0.17312624991630643 -0.45829156690623263j , + 0.1675713035175014 -0.5406662708736159j , + 0.43097792501153936 -0.3486919050786366j , + 0.4607680866791511 -0.38871739983000503j , + 0.3653883256883328 -0.1579970366320419j , + 0.4347728981719144 +0.015819633794338123j , + 0.48310861857289983 -0.027836348294964855j , + 0.180758417693013 -0.278036643581361j , + 0.09302744439928802 -0.41506688952956505j , + 0.22113524805217588 -0.2912247432715913j , + -0.04679666860714021 -0.5626844817719635j , + 0.44873938771840693 -0.45139869486646184j , + 0.2644343534598872 -0.4900983659125724j , + 0.4498746685167728 -0.44624401231694655j , + 0.5138559425063041 -0.05049053361337957j , + 0.4761784768970613 -0.19721801549761225j , + 0.4491466565038794 -0.13171126187460672j , + 0.29926016595507565 +0.08693663599134333j , + 0.5648947367619361 +0.048946811728293606j , + 0.44665073617728457 +0.18755675712733952j , + 0.6591969604806378 +0.3820374721569464j , + 0.38291688890047787 +0.05614080678413261j , + 0.37450899268493143 +0.295043613028993j , + -0.1396851927732425 +0.34062331878006874j , + -0.36843207570233594 +0.3541276646661664j , + -0.49766227836917876 +0.3472606639247051j , + -0.5583629412479216 -0.10362367617327235j , + -0.24502399932855407 -0.3203200052551345j , + 0.25757779674795317 -0.5021481498206175j , + 0.48611785129193014 -0.4051309619269958j , + 0.16625672890827436 -0.4045441078782127j , + 0.16119898085037654 -0.21237315351404196j , + -0.3143402889516264 -0.44191571482301006j , + -0.5070596293110756 -0.4025436560066176j , + -0.29494183741653396 -0.38233722394350084j , + -0.031319836864227235 -0.36834797247571904j , + -0.2207028813300193 -0.5105125504072276j , + -0.0481373291317521 -0.3998439562117311j , + 0.0403347193697864 -0.5009203104182368j , + 0.6099117609172862 -0.03315979097535915j , + 0.8122481598253772 +0.05311801765561326j , + 0.5770142340093959 +0.3060968866719696j , + 0.27499914701233624 +0.4174307468699422j , + -0.08692680909456646 +0.1592418725767022j , + -0.10405274221227809 -0.2555038717056183j , + -0.11309610762550965 -0.6810980698442853j , + -0.12740534823570254 -0.5792406376593673j , + -0.1552834365720838 -0.45215457078672444j , + -0.3913991622464374 -0.3213092624436601j , + -0.4270599030559946 -0.10189015450977588j , + -0.518005517722129 -0.03604629949979976j , + -0.5735269588289325 +0.06853231645697495j , + -0.5972257437559115 +0.41804469166880515j , + -0.5648233831877038 +0.4633503651031345j , + -0.42619037112734337 +0.35518094598086947j , + 0.006880190791374939 +0.1385797404748138j , + 0.40881684709086097 +0.10743847541035978j , + 0.4468390649294177 -0.045185598399698754j , + 0.5003040177012188 +0.09473460102465031j , + -0.025918415356674135 +0.08570381029684673j , + -0.35829084075739503 -0.24302845922115657j , + -0.36329103450552536 -0.582572498081162j , + -0.4745389578410612 -0.3724037991737139j , + -0.41418003709687917 -0.0978183481201194j , + -0.42967966193306745 -0.06668644482585069j , + -0.5735719354079187 +0.22768920004312243j , + -0.6910558510177691 -0.02941652410579454j , + -0.6245769344870841 +0.0538245668027985j , + -0.6153041363162269 -0.1712475208464167j , + -0.6450972396774848 -0.0610835271475277j , + -0.33973491478654844 -0.5007677051258516j , + -0.0198057271210772 -0.4387553386379509j , + 0.118469562417573 -0.327688315805691j , + 0.51169773098203 -0.7011741888812821j , + 0.5663311028956477 -0.2004615588146113j , + 0.17707301870987596 -0.4454086635675095j , + -0.11860787156484709 -0.5723065250246788j ]) + + expected_frame = np.array([ + 0.21802004580081558 +0.7258633790492939j , + -0.006225672068223044 +0.4786026684789001j , + -0.3280998701082684 +0.11952834455296173j , + -0.302768214561655 -0.16735107094715482j , + -0.29816178378751784 -0.3490378455222645j , + -0.37626680287760933 -0.3416663256807141j , + -0.2713053810487207 -0.5325235930284232j , + -0.2685143198213045 -0.7358483618323568j , + -0.18928283095147974 -0.3999610135965269j , + 0.10313765361683205 -0.3428180834473549j , + 0.3416957455676282 -0.1951295030303739j , + 0.40762976809726426 -0.13167359465072784j , + 0.6182793910804321 +0.1520640595509108j , + 0.42396560932992805 +0.3488880835724227j , + 0.35560240932729514 -0.0244114448530952j , + 0.24495037107577028 -0.29179038430951776j , + 0.38942204385877577 -0.4247318778762977j , + 0.5519247742263229 -0.3396567387410663j , + 0.2413479724835182 +0.05856709115260084j , + 0.14307919857391102 +0.40282551528604055j , + -0.081802072788279 +0.44028012969610614j , + -0.12233596066812981 +0.5453601992800752j , + -0.2660776135770572 +0.48353026187574j , + -0.2345195208251397 +0.4774510159890004j , + -0.3028233604301346 +0.37318679398374055j , + -0.3146151611711614 +0.3929545137893669j , + -0.4269743066956551 +0.14334506590084692j , + -0.531789714481084 +0.22962295907078342j , + -0.35672727500802043 -0.12752569274575454j , + -0.49587259202317086 +0.09225186682162718j , + -0.4460299071769357 -0.010321300693772925j , + -0.34082009711139594 -0.34129033021267874j , + -0.4262884477605476 -0.1863549149421553j , + -0.467176445880189 -0.3579746798121825j , + -0.5147176523657108 -0.2847448896678535j , + -0.22591926163044274 -0.39094108535679856j , + -0.2145983064360768 -0.5467860427736602j , + 0.054714330723598506 -0.3351984590123713j , + 0.14158319113517692 +0.0020971171525381053j, + -0.13873940354932243 +0.32085912787845206j , + -0.19727911134877624 +0.5163337481481571j , + -0.15818949685825753 +0.6760477451626038j , + -0.36968632602708845 +0.4438772490061407j , + -0.3231460029223398 +0.8472321531055975j , + -0.28904378564464 +0.191707158985912j , + -0.1549969146201816 +0.3230458161450094j , + 0.06704055650167544 -0.049509933885331724j , + 0.18085615575118522 -0.19625140060679586j , + 0.22317126415806246 -0.2855887925771271j , + 0.5541218113699707 +0.029117181780316526j , + 0.46957056513183837 -0.029264817775399743j , + 0.6231814447202938 +0.10379487409113375j , + 0.4474497889647333 +0.38531623133820664j , + 0.23148363005757003 +0.2999544983492182j , + -0.11737361004186134 +0.15711586613327755j , + -0.3226324462918046 -0.44450789124300827j , + -0.4327428948410343 -0.6932305371754358j , + -0.3264359025338747 -0.2453161037167297j , + 0.01601320618674969 -0.05910502170563427j , + 0.04591883177224047 +0.3689082535814971j , + 0.08938143935587943 +0.6830298410453594j , + -0.13096045210596885 +0.5621644205578721j , + 0.046836210918254795 +0.12589566212587133j , + 0.2101961695213241 -0.42451384043641227j , + 0.45410304804444346 -0.606686611938164j , + 0.4433785179317764 -0.31506448027265066j , + -0.03357577040298778 -0.028543987387753402j , + -0.4310125728316941 +0.13389852929878915j , + -0.6431529084681049 +0.13055808803053964j , + -0.40608004785880486 +0.09033720619869773j , + -0.4403925808329219 -0.23765407744965153j , + -0.4719780362533063 -0.09290212444296522j , + -0.33352441287345586 -0.10774960802286357j , + -0.43508010112972834 -0.15319635126991385j , + -0.5175686207918638 -0.03737217991365548j , + -0.3445554070799475 +0.24609151850893451j , + -0.3005145276215625 +0.45666762783429016j , + -0.4118591954864746 +0.3505950342128003j , + -0.13001802909649124 +0.32571714715321876j , + 0.07749088839467419 +0.4715055927197175j , + -0.004404823641608158 +0.48431964638770003j , + -0.10608341688360029 +0.5552916862145504j , + -0.036487103102799144 +0.5906112330931322j , + -0.3832703316473611 +0.38736282472146333j , + -0.184887647479546 +0.587354330419603j , + -0.22009196925082675 -0.04049959509286828j , + 0.0262711026722339 -0.22471560756786796j , + 0.3603119610220825 -0.2914279252583217j , + 0.5128686953841483 -0.20463121305584026j , + 0.5942376791168797 -0.0959054282940158j , + 0.0651800790596435 +0.021388873766136622j , + -0.42177364358955877 +0.013130149102679928j , + -0.3470992712013364 -0.06571955478258057j , + -0.3765747282864357 -0.32397916738738747j , + -0.10478394364450584 +0.02025435486390762j , + -0.022818251248472525 +0.35600793648404616j , + 0.5325237016771202 +0.5549796398042012j , + 0.36896218995028757 +0.6351417080194185j , + 0.16239437657217748 +0.6792805600046828j , + 0.073603847319791 +0.462751432650753j , + -0.0709589228005197 +0.4017075317867557j , + -0.2866265622011185 +0.3060358913717572j , + -0.32012816798841615 +0.15456948502959764j , + -0.5348765194442374 -0.1996002411130529j , + -0.23324887034173372 -0.1404939308461471j , + -0.3674335543118247 -0.2926128098729966j , + -0.2507394564567834 -0.5167839485848409j , + -0.1547516968973585 -0.718811125162053j , + -0.10844468720033937 -0.4952475300300194j , + -0.2274282540030409 -0.45629353711344717j , + -0.27648774427144324 -0.04376038878167485j , + 0.17845555535150365 +0.4223989476640827j , + -0.18109504316878425 +0.4589623513017597j , + -0.14643455616822706 +0.447606103785357j , + 0.0017598490931409652-0.007635994414471161j , + 0.05716991698401798 -0.5217100067531382j , + 0.46972947012830435 -0.39621418545861586j , + 0.2905840705834461 -0.164208882752836j , + 0.24152352023385035 +0.17413877244978213j , + 0.2405418550028118 +0.30137374067571526j , + 0.040918398413485275 +0.45764321585602474j , + -0.15779661034715076 +0.5287235920504463j , + 0.0702190612360095 +0.08699811118398595j , + 0.1834490268779809 -0.19144476458928428j , + 0.3593850617258202 -0.39835394100293736j , + 0.38832376273303437 -0.4330850988989211j , + 0.34993162968653824 -0.3083115331740625j , + 0.33725098638266354 -0.4880232415637312j , + 0.4830254441703776 -0.24123472097991736j , + 0.617348243664413 +0.19466965923721102j , + 0.19780127415309023 +0.3291668252692305j , + -0.08818460763437487 +0.36692477777733556j , + -0.3171338305176828 +0.49267822030107916j , + -0.3626315027848633 +0.5570288903388951j , + -0.0430838751505509 +0.49612248451682667j , + 0.14005531705079152 +0.35988015885964214j , + 0.4795936861009905 +0.4350332515923524j , + 0.22067437286922656 +0.2323348773152091j , + 0.5037397540266577 +0.12024038833103082j , + 0.47411721072304613 -0.013616801232045197j , + 0.5711583292536989 -0.131501909641088j , + 0.5392780858914271 -0.058613588242484325j , + 0.19891348478619336 +0.1251482871050318j , + -0.12669100974302322 +0.43028346247319654j , + -0.4438675530054958 +0.18535957218264526j , + -0.4238472848680076 +0.25312652320445755j , + 0.14271112983123935 +0.001094158371606419j , + 0.4189904952295885 -0.1935974546097126j , + 0.638239991941695 -0.01721998704625044j , + 0.5254491873188722 -0.07286708868183975j , + 0.2518096049691585 -0.28246624846167917j , + 0.1729795148339951 -0.44993383560215505j , + 0.30666337160928736 -0.4726548802688728j , + 0.07770374021791232 -0.38709554976645116j , + -0.1804340964787375 -0.07103939460071149j , + -0.22141406429658778 +0.3156063529824025j , + -0.41024562229509987 +0.2405430651437719j , + -0.33672198848656687 +0.11098222474432269j , + -0.10446964651998954 -0.038935987307082594j , + 0.4883352148034988 -0.16868938110830123j , + 0.7007811584293496 -0.15211085840282315j , + 0.5135849663197131 +0.0690681901204055j , + 0.2932906850129086 +0.2406971838385186j , + -0.09396428522012144 +0.3644724999966414j , + -0.22322419172934357 +0.32271072946505014j , + -0.46319839524408973 +0.11040727419176j , + -0.4225329863846308 -0.09034728648889293j , + -0.46988853220492804 -0.173516033846993j , + -0.11817314450953238 -0.49512729203687866j , + -0.057914618120604236 -0.5407988497144276j , + 0.0637523811556653 -0.5048583865469058j , + 0.05642870343794631 -0.627715517177253j , + 0.3326810001817294 -0.29317081461967287j , + 0.29711591421503525 -0.4537201244343975j , + 0.24663734837314863 -0.31382642677743433j , + 0.423807045712287 -0.19239971016851654j , + 0.3785859463311195 -0.4493438947809262j , + 0.6145276005585208 -0.189177365803389j , + 0.4649796850142775 -0.15902249381217512j , + 0.6033103420782612 +0.0002986992367454244j, + 0.4140451725619578 +0.04588272668126042j , + 0.483264043079676 +0.3159124208627906j , + 0.49821405228055554 +0.17305290122993044j , + 0.28007063749382716 +0.3214305835581412j , + 0.358143360780574 +0.15580354272351887j , + 0.45872212833893594 +0.3462618559970313j , + 0.31422851161322873 -0.03794189499105592j , + 0.5538797714921565 +0.1016038997934494j , + 0.5683196334908786 -0.2998355867228638j , + 0.6016128468918795 -0.25837546190111316j , + 0.42779266042881225 +0.03916661791755377j , + 0.5448513748291967 +0.16144353095198172j , + 0.7118577128992524 +0.2435771294561539j , + 0.2858163919436845 +0.13500410627077405j , + -0.07560584282054367 +0.40368262767594915j , + -0.22062281284280533 +0.21546101365699669j , + -0.3862814119821096 +0.18025114370091028j , + -0.721567831616051 +0.085308156886565j , + -0.376902179864271 +0.1269770210927812j , + -0.7368562291009676 +0.23234083751583587j , + -0.3303522926221882 +0.01688387286016763j , + -0.45934074452923973 -0.017668630739606825j , + -0.5624576100111052 -0.26000724646473816j , + -0.4291162752044975 -0.15500921247184418j , + -0.3156735204263093 -0.27526734003930925j , + -0.338277193647806 -0.1643537973203481j , + 0.09927318823176964 -0.25012884833266724j , + 0.38055337944364265 -0.39265585444304973j , + 0.49688519916150664 -0.20761245216869595j , + 0.454575381922837 -0.07287487201130552j , + 0.3939214401661034 +0.482812548446681j , + 0.01103212958033022 +0.6205764452484027j , + -0.3244769003420697 +0.5874821153596278j , + -0.33384160321170364 +0.4768589780395609j , + 0.02148630580273946 -0.018054675881753232j , + 0.6087002329102279 -0.35441995527962417j , + 0.4507793418419527 -0.32843498617714706j , + 0.3990066708095274 -0.23174819785299589j , + 0.1378894511312747 -0.031995308774618654j , + -0.18270611922234586 +0.18751548303460666j , + -0.7123523775323429 -0.11413014128210634j , + -0.7013272980929114 -0.009792384360305502j , + -0.44562795210725237 -0.29743906453463986j , + -0.3243789876893167 -0.38863195750271307j , + -0.22557663373299552 -0.46043107963829005j , + -0.3079439613590841 -0.1918439218796581j , + -0.30999253486444306 -0.04791612875856502j , + -0.35625123528994207 +0.25370155457299093j , + -0.6608197863327565 +0.11184062748993812j , + -0.45738986332166987 -0.028974350746745536j , + -0.3666888075875128 -0.3048746713121404j , + 0.10338805012494728 -0.5762836687785922j , + 0.18561870108656464 -0.4073043411937996j , + 0.1345010897899698 -0.30845947872142987j , + -0.143745553632533 +0.1245701654458073j , + -0.17817783070749577 -0.009053832523623953j , + -0.5658115818950841 +0.23066580520341343j , + -0.5686405657997451 +0.1179063873696358j , + -0.2188934935245618 +0.3766491178183778j , + 0.03692089775047438 +0.5456778214841256j , + -0.005315676139588163 +0.6015664745670234j , + 0.16492703761743505 +0.6019605332497909j , + 0.3282677437790319 +0.31593535327083805j , + 0.3908122653214924 +0.5387654244022365j , + 0.6052588791430838 +0.5058285619776483j , + 0.26976632379851123 +0.20701805703072407j , + 0.18222051389888955 +0.003996167945528409j , + 0.41962907061730614 -0.23747848932290347j , + 0.35387127244705296 -0.10857021345619508j , + 0.47258114551820474 -0.2204825627845771j , + 0.2754538979338017 +0.12178191769608154j , + -0.000930062295158054 +0.49096440553492854j , + -0.36687420083851513 +0.45838340750095147j , + -0.34952183406243637 +0.3808540044477241j , + -0.13719640543905204 +0.2729448334467058j , + 0.4984551436364653 +0.3894851236464861j , + 0.3591884978561582 +0.5023324895395821j , + 0.2255839008101406 +0.5240322446777086j , + -0.20880299062108493 +0.2515318648812307j , + -0.5667530346500365 +0.1219781745514397j , + -0.5187893573492843 -0.07145217278566414j , + -0.587553378084942 -0.12830014588722663j , + -0.12378901496111108 +0.023103293501692334j , + 0.059911877094078185 +0.4630314079275535j , + 0.3972220495914718 +0.4794615840037272j , + 0.2761890599720151 +0.580643681225667j , + 0.4107959660740995 +0.16989942779307984j , + 0.39624661688453705 -0.1287993215024048j , + 0.5432913887143948 -0.2320187539515562j , + 0.5472094243474557 -0.18466732748691386j , + 0.35854687909105726 -0.3650894245103377j , + -0.0675672263452088 -0.44790897529271145j , + 0.23015724624260667 -0.41362943575234956j , + 0.16151871667407924 -0.5768209200096218j , + 0.23201260344349858 -0.3384451020728316j , + 0.3609861300739879 -0.31732258358530907j , + 0.39200555202821213 -0.48838847195870266j , + 0.3917601784407492 -0.20183291396624223j , + 0.35547036431560064 +0.1674839137938883j , + 0.24542344995784793 +0.49482875611212596j , + 0.009933778939796264 +0.5551182597806368j , + -0.14624060122625965 +0.4997037775072989j , + -0.6089735420180461 +0.2439061191086884j , + -0.35879592805122257 -0.1567245684190658j , + -0.3586646729697956 -0.3897078864661503j , + -0.22052475244901257 -0.37612221024589976j , + -0.4916745669190244 -0.2880164330276428j , + -0.5999751127140515 +0.11724215774553036j , + -0.7034930358524873 +0.2670864629752851j , + -0.30808728444352546 +0.165785547910941j , + -0.06733345605060184 -0.05558439179882908j , + 0.38940557451974456 +0.10229094937101348j , + 0.6538572803716806 +0.012732866797898609j , + 0.47813673432047255 +0.2606663999780861j , + 0.06250996706941242 +0.32485820272960203j , + -0.3134283640664717 +0.3062431559844963j , + -0.39532318863476046 +0.4617074885500804j , + -0.5948344138755293 +0.17556659396490792j , + -0.2616421172170675 -0.24577965416367836j , + -0.09939119399455924 -0.6626994077351478j , + -0.08017243893625758 -0.5777731287275938j , + 0.2731916809835516 -0.4556829354091357j , + 0.18105492017636754 -0.27851601436245516j , + -0.14593200033547962 +0.4164059589837905j , + -0.15909771938051512 +0.37402078609022393j , + -0.40523382304596856 +0.24146169050999686j , + -0.47756685720031045 +0.1685839944062259j , + -0.303494515272966 -0.4590460995174503j , + -0.03607389706380574 -0.650284045611756j , + 0.0653260197317472 -0.5631683538537121j , + 0.026810131927431525 -0.6935393807169348j , + 0.09590640858336164 -0.5245398600352481j , + 0.052740493339559706 -0.5079060008755517j , + 0.13840415634094896 -0.3538319794185698j , + 0.11587840069318932 -0.3193105281046947j , + -0.3630822114575169 -0.19709956963982778j , + -0.26128262959352067 -0.35669724796990926j , + -0.2682675328825197 -0.266557806896558j , + 0.35933665977818857 -0.23158318630326097j , + 0.628116956795617 -0.1586707046236469j , + 0.48582259585683774 +0.09608091187419622j , + 0.6241225084020559 +0.14025180195854903j , + 0.5319478187979934 -0.06936318635165467j , + 0.16792743906917068 -0.44452952232700355j , + 0.16252236421775262 -0.5243759447511762j , + 0.41794160741521447 -0.3381445935945253j , + 0.44674865156508775 -0.3768901953812323j , + 0.35417295248805164 -0.15314741335240184j , + 0.42131921264001293 +0.01533010839109022j , + 0.4680873088909126 -0.02697083194506097j , + 0.17511043851661853 -0.269349108067031j , + 0.09011083874004705 -0.40205367126066954j , + 0.21419268556323984 -0.28208171430494583j , + -0.04532671297871441 -0.5450096932533135j , + 0.4346036078602033 -0.43717914393433627j , + 0.2560463651835394 -0.4745522037224337j , + 0.4354635941325074 -0.43194924067257956j , + 0.49723407308665085 -0.04885729949613491j , + 0.460641984691175 -0.19078329341482186j , + 0.43435752665694644 -0.12737438231431072j , + 0.2893275665212629 +0.08405116415225189j , + 0.5460542184120762 +0.04731432474528479j , + 0.43169521178861614 +0.18127666078296872j , + 0.6370343213323332 +0.3691931188844868j , + 0.3699741162528041 +0.054243220860068386j , + 0.36184938988921106 +0.285070194442744j , + -0.13495752132096278 +0.32909485890392803j , + -0.355933844943108 +0.34211467892710695j , + -0.4807381911511766 +0.3354513104352223j , + -0.5392830635855099 -0.10008274084562221j , + -0.23660805441625413 -0.3093178359740755j , + 0.24867980377826468 -0.48480150440607467j , + 0.46921862194474795 -0.39104713220740517j , + 0.16043861622911018 -0.39038718792205296j , + 0.15552602165880058 -0.20489925866113512j , + -0.3032198090086629 -0.4262819732509079j , + -0.48905011205810306 -0.38824629037375186j , + -0.28442269821120625 -0.36870111684771323j , + -0.030199396084280766 -0.3551706340572107j , + -0.21278172880034152 -0.49218996324515224j , + -0.04640477121074428 -0.3854527794265449j , + 0.03888069925459717 -0.482862710939795j , + 0.587917136139699 -0.03196398330785435j , + 0.7828434356208833 +0.0511950577319016j , + 0.5559578588037937 +0.29492681405478915j , + 0.2648830690784299 +0.4020752011774472j , + -0.0837094347142262 +0.1533479403543849j , + -0.10018462151716606 -0.24600561348759384j , + -0.1088779371369611 -0.6556950048021378j , + -0.12263297854178577 -0.55754335019906j , + -0.14944194950999426 -0.4351453189719682j , + -0.37661987471033975 -0.30917657940363774j , + -0.4108681048528267 -0.09802703177475393j , + -0.4982943528907717 -0.03467466439806294j , + -0.5516465518546378 +0.06591776634405337j , + -0.574350202530956 +0.4020323233505834j , + -0.543047270563183 +0.44548642739192695j , + -0.40963580708838454 +0.3413846096157257j , + 0.0066107426001733765+0.13315255661605654j , + 0.3926982378101275 +0.10320244937772324j , + 0.429127019547179 -0.04339450752986736j , + 0.4803900138269478 +0.0909638033794492j , + -0.02488277786425812 +0.08227929232516956j , + -0.3439758993512592 -0.23331864317779874j , + -0.34877428317523823 -0.559293475800804j , + -0.4555444010554512 -0.3574974463997206j , + -0.39754977174830985 -0.09389072018179893j , + -0.4123983207952869 -0.06400437419416968j , + -0.5505066417534733 +0.21853303681975025j , + -0.6633220832877863 -0.028235966780692654j , + -0.5994831983095701 +0.05166204781652246j , + -0.5904731775330467 -0.1643367268489686j , + -0.6188981769109266 -0.05860276756073901j , + -0.32585526169366724 -0.4803091601699057j , + -0.01899151171477166 -0.42071806315021343j , + 0.11356641634335471 -0.3141261514284252j , + 0.49039498407589227 -0.6719832517743538j , + 0.5425479078366726 -0.1920431330372925j , + 0.16957632851133242 -0.4265515232372606j , + -0.11354294209449825 -0.5478672348964042j ]) + + out_frame, _ = agc(in_frame) + # Only assert after a few frames, to make sure we're in steady-state. + assert np.allclose(out_frame, expected_frame) diff --git a/tests/test_coarse_freq_comp.py b/tests/test_coarse_freq_comp.py new file mode 100644 index 0000000..ae423a0 --- /dev/null +++ b/tests/test_coarse_freq_comp.py @@ -0,0 +1,420 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_coarse_freq_comp(): + mod = sksdr.QPSK + sample_rate = 200.0e3 + resolution = 25.0 + + in_frame = np.array([ + -0.00001940952177043791-0.000015698909952685536j, + 0.00047383661248221425+0.00001394654154892672j , + -0.00019450913096894033-0.00045506006888938267j , + -0.0002592569322008952 +0.0004272841542309983j , + 0.0013791389600119053 -0.000030591530304981574j, + -0.001305939176882931 -0.0006212573287616764j , + 0.0022189311429717095 +0.001135645936678446j , + -0.00034562204568971055-0.002951550338711295j , + -0.016585071785405726 +0.0009665534234865577j , + 0.019766234995019633 +0.01617689022172982j , + 0.12419549962730153 +0.006149483094778765j , + 0.19162316652004902 -0.039964966204218424j , + 0.11806472893151194 -0.06551855174764386j , + -0.019657543407505154 -0.030811507614134384j , + -0.048577573030335344 +0.030799880455832342j , + -0.02676609837378194 +0.08871192465871974j , + -0.10044202468935241 +0.10721816052848816j , + -0.11670601846672356 +0.05283704632657295j , + 0.03274935786986215 +0.14883510222321591j , + 0.10583777559053231 +0.7109856944617292j , + -0.12955328350822296 +1.4229192753370954j , + -0.5256612671651314 +1.598820935298102j , + -0.7742597615315578 +1.26915869031663j , + -0.9701428042898949 +0.8463171248967739j , + -1.2971363281585522 +0.41501856940578274j , + -1.4293594768272668 -0.0533105638432563j , + -1.3332720680346888 -0.784465055530783j , + -1.274607354166314 -1.6023067443892733j , + -0.8260866415589336 -1.4173684367597446j , + -0.08207100402849157 +0.06913358457247218j , + -0.22876724707281462 +1.6263834945689677j , + -1.1640065601606557 +2.1111144566070337j , + -1.293525503654684 +1.4260636329087564j , + -0.16865191867828133 +0.39069082984449727j , + 1.3261249533233812 -0.12679903175144605j , + 2.2895402402595777 +0.030400043037620717j , + 1.831713741040584 +0.18687138844929657j , + 0.201632495114949 -0.5185815536859849j , + -0.7848614600192125 -1.0757554541522325j , + -0.7402135867238501 +0.20464454042838345j , + -0.532423975612195 +1.4157690349959522j , + 0.30876801926320163 +0.2644807067051987j , + 1.1995911963733712 -1.0265005567560794j , + 0.20907818366343836 -0.506979114730632j , + -1.5836126618232922 +0.4813745754362591j , + -1.8449070485670804 +1.1164463447361084j , + -0.7874335516475386 +1.4835821552185622j , + 0.42333373478486686 +1.5539397295426074j , + 0.6226527544155169 +1.6987393873988634j , + -0.6619985113357297 +1.3547136935909j , + -1.5209025765788842 -0.08428051948017642j , + -0.5198098162585012 -1.250334198992586j , + 0.9496430808651335 -1.2294742204707823j , + 1.5634105530819336 -0.8142439167550988j , + 1.5002649672272905 -0.22931832713194145j , + 0.7858976857370692 +0.7581696709581351j , + -0.5656302385592475 +1.2281973945895155j , + -1.4982311917480018 +0.3314412139704989j , + -0.9600768530321497 -0.9695865330601562j , + 0.507972933833029 -1.0208703470338947j , + 1.3164937456819032 +0.060101001227505745j , + 0.6924626057734333 +0.7536015109159949j , + -0.5963488955948433 +0.753132479514796j , + -1.3962602342366397 +0.7783564011152677j , + -1.2730606976022918 +0.470944971578829j , + -0.48268780184960774 -0.5551658912050841j , + 0.356766652695073 -1.2616281245803658j , + 0.7527817152102345 -1.0855858608201991j , + 0.9394801112669134 -0.8378366679246603j , + 1.2928464421502204 -0.7110008560091976j , + 1.269613265255832 -0.046376383337100785j , + 0.2662259319696689 +0.8358403719478432j , + -0.9796843582882706 +0.8586383559476466j , + -1.213553472788507 -0.10616712268957083j , + -0.25409362454889317 -0.9806990356604853j , + 0.9281250179453525 -0.7247422074539802j , + 1.210392755880332 +0.3352552963260146j , + 0.32517990351783793 +0.9782434509340596j , + -0.787643655945778 +0.7771917024271826j , + -1.1837226918125598 +0.248130037831636j , + -0.9470644226714772 +0.049034231724058346j , + -0.6766953474157584 +0.48275542496376767j , + -0.7510215255350596 +0.6297115113468443j , + -0.8031694354514141 -0.3561651169365936j , + -0.26936626659797713 -0.9505377992136701j , + 0.12188464715909188 +0.1312422771391037j , + -0.389022171954286 +1.0561246435232685j , + -0.8460646148584821 +0.3101566398897445j , + -0.4648189668689719 -0.9088964155801453j , + 0.06430459071337896 -1.2990215231893452j , + -0.0009448652155712375 -1.072029942458658j , + -0.5553122363024222 -0.8470283586546811j , + -0.8021969620116807 -0.4606762687119618j , + -0.2858792818596467 +0.4937274252082861j , + 0.2083492632444329 +1.0704510799142617j , + 0.1709066296583406 +0.13604820226043055j , + 0.359575743344289 -1.0011172871966076j , + 0.793320489605265 -0.4635704309006434j , + 0.4888799598909319 +0.7203487266994948j , + -0.44533187047688666 +0.6215675598317818j , + -0.9851905316700824 -0.0693979648501749j , + -0.9083267384289835 +0.20121698171675795j , + -0.5362512455432429 +0.8599378846782659j , + 0.05742593349171185 +0.8805498190058652j , + 0.47549114909502643 +0.9077096152423028j , + 0.12016990378385457 +1.3208118170054695j , + -0.35325235654402315 +1.0467543334573592j , + 0.23115744681534442 -0.07999354128388424j , + 0.9488511142105647 -0.625905954204063j , + 0.16478821793377568 -0.1712691971186839j , + -0.9351561547197783 -0.04689295995469136j , + -0.4055553007118981 -0.6940943426628937j , + 0.5772675887460971 -0.8369461294855705j , + 0.11757345717020316 -0.13458099795780046j , + -0.9149024029140067 +0.28147872924338496j , + -1.0807158537836783 +0.10885169341004929j , + -0.8575183537842294 -0.21122323438852214j , + -0.8106305531768156 -0.7044603992320929j , + -0.4766589066886505 -0.8391140772548241j , + -0.08038041517690027 +0.05161361132284983j , + -0.0033116419781999687 +1.0070323530966685j , + 0.391480498617588 +1.048331881574565j , + 0.7278546896778717 +0.7385721587040875j , + -0.07593485330584249 +0.4337779730321627j , + -0.7873690286047726 +0.09189642670800349j , + 0.02709804305882635 +0.1606697089507366j , + 0.9885643745240922 +0.3543695978836545j , + 0.8625611630735076 -0.10488233258621171j , + 0.6269351094530506 -0.6366843098465197j , + 0.9043935530854091 -0.3645396733423587j , + 1.060057112645154 -0.0010670065410088476j , + 0.8871162662154015 -0.4126284489560423j , + 0.7512732594357533 -0.6645248066687054j , + 0.6092833708964931 +0.22473343735891155j , + 0.22399923118139045 +0.9564456635093306j , + -0.003103295124200153 +0.11166446300757972j , + 0.4051010085283222 -0.8232612268291338j , + 0.8590780522500381 -0.12377799925488915j , + 0.6128304777518911 +0.7317911206842201j , + 0.19091907000492211 -0.0025990133377661708j , + 0.17825103681033588 -1.0291399138381532j , + -0.00330276881810887 -0.8801804493200835j , + -0.5035928921434853 -0.5465339341867208j , + -0.5218453586155088 -0.931931423465566j , + -0.2764825795753777 -1.0921843842468604j , + -0.58194100625538 -0.6029461538383665j , + -0.767448973055693 -0.44259941207939246j , + 0.012742347272252756 -0.6927910007366785j , + 0.7391064898081598 -0.4360240320787697j , + 0.26077214979400587 +0.08281815745337565j , + -0.7859549344471438 +0.08684315601314671j , + -1.2712135532223863 -0.25131766292580976j , + -0.7595102390761814 -0.5754274670979174j , + 0.4257680359073653 -0.6378372186048311j , + 1.0785368682628136 -0.28832642097701855j , + 0.42902342958788076 -0.05960421647091068j , + -0.6503838430690578 -0.2690705622127941j , + -0.9630372078328395 -0.5610449063101466j , + -0.36281301733983534 -0.6813565589943367j , + 0.4385262679675026 -0.3688873007239819j , + 0.787013304525114 +0.11610674345040306j , + 0.7632917979702194 -0.09327249354066475j , + 0.5751133383557139 -0.6905513850611461j , + 0.11674970593385874 -0.8288357536987355j , + -0.22670215200111488 -0.9324700290987136j , + 0.07202491213802453 -1.199209733293517j , + 0.349421855618924 -0.7918056557451638j , + -0.1417339019579476 +0.11364230770547262j , + -0.5910517321848939 +0.5255281090797103j , + -0.07448429071770786 +0.42583786595022766j , + 0.7925722074563115 +0.16596785824496368j , + 1.07512461735667 -0.29353520610452927j , + 0.7467210007841615 -0.7718240636469565j , + 0.14598992149929657 -0.9860144174125025j , + -0.43682467005128245 -0.9438100973137096j , + -0.7712271957745586 -0.6599603793467915j , + -0.9125956251997321 -0.1488301495439105j , + -0.9625984076035953 +0.42465504874007715j , + -0.7418095099553118 +0.6849040707026318j , + -0.06850998838275026 +0.35395163271901053j , + 0.7487368829725497 +0.02976982408981493j , + 0.9891308063977088 +0.33167046405501793j , + 0.8435434230518792 +0.5172519197126251j , + 1.071343530598782 +0.04782398956468729j , + 0.9020604262641511 -0.34498080668990155j , + -0.3602562434944288 -0.38699752835526335j , + -1.0855978348489645 -0.34212586511967535j , + -0.2505816965555876 +0.0529723183189934j , + 0.5580112482003747 +0.7629306408604775j , + 0.2945193950793836 +1.1352838557892895j , + 0.02982302882788831 +1.0151312808942485j , + 0.45984790338687825 +0.8306893271541366j , + 0.6288911093016628 +0.7063124794783894j , + -0.12909291213548085 +0.46858335964157355j , + -0.8730422141580361 +0.39980975217839865j , + -0.8130621481062794 +0.7693152870633131j , + -0.3793689757952459 +0.7899935443334295j , + 0.14160431304105883 -0.05568570393719666j , + 0.6349061712674899 -0.5282420416474443j , + 0.588166004200547 +0.19585636919431573j ]) + + expected_frame = np.array([ + -0.00001940952177043791-0.000015698909952685536j, + 0.00045504183194606325-0.00013286298404358807j , + -0.00042450747486277374-0.00025437545501390973j , + 0.00019239094238467552+0.0004612717535677375j , + 0.0004005268495389987 -0.001320052406364037j , + -0.0006255110024933941 +0.0013039071239998156j , + 0.00040400059521223514-0.002459701329391876j , + -0.002193873381528496 +0.002004500832185964j , + 0.013938775664589178 +0.009039323239035717j , + -0.01367352470092345 -0.021573839374980825j , + -0.1241527695385146 -0.006959029093523439j , + -0.17058745936957068 +0.09600289150181793j , + -0.05796136981096818 +0.12195261559481316j , + 0.03646143030544528 +0.002516369280325701j , + -0.013771997783866192 -0.05584572781021223j , + -0.08844593795522468 -0.02763232994211465j , + -0.13235076438032103 -0.06377781306029459j , + -0.11063509790209256 -0.06459042748787186j , + -0.06262295436437225 +0.138934422233517j , + -0.12782058476305425 +0.7073642559403253j , + -0.1480949572650813 +1.4211091446564759j , + -0.0289111442112015 +1.6827692345314458j , + 0.09833784404116097 +1.4834323806505185j , + 0.09520928170466159 +1.2838866497032693j , + -0.02743850947903237 +1.3616351181494413j , + -0.07659893281204469 +1.4283007854458598j , + -0.35962018619854713 +1.504550814173098j , + -0.5817408720687084 +1.9630558749498046j , + -0.19455647738170845 +1.6289567833413203j , + 0.10016340211805039 -0.038501884294428745j , + 0.26053068908813887 -1.6215984351197743j , + 0.5024170490629329 -2.357815223846675j , + 0.24814738018205573 -1.9092638873185672j , + -0.20901883977860652 -0.37066685691608947j , + -0.3179534555019314 +1.2936734465909183j , + -0.0826302433072111 +2.2882506237900526j , + 0.34596099439295874 +1.8084267016654265j , + 0.5413188709885303 -0.12867156182060166j , + 0.030334002829854434 -1.3312915371300473j , + -0.7661084369400554 -0.053604148598742074j , + -0.5691587278255932 +1.401404863984715j , + 0.3710782050985902 +0.166098463688894j , + 0.4090308834810661 -1.524931528887686j , + -0.2740548501121128 -0.47501099859591167j , + -0.07899964215776856 +1.6532723916833658j , + 1.0618489463608949 +1.8768620816776524j , + 1.644848130500093 +0.339915043994172j , + 1.0463363393298253 -1.2243857231508852j , + 0.5489656000176586 -1.723963088026756j , + 1.082310301652007 -1.0498074259364731j , + 1.5173478017854367 +0.13380396789721705j , + 0.8460656334565588 +1.05721842498742j , + -0.09821747460074448 +1.550413547257735j , + -0.3202856587805455 +1.7333963223222073j , + -0.2980759832720994 +1.488130563910461j , + -0.7858560686897625 +0.7582128076675567j , + -1.3361974852817846 -0.20732266440430513j , + -1.1101926246512277 -1.059255549154638j , + -0.1556750856631297 -1.3555850679774792j , + 0.8292864380569747 -0.7826217289436926j , + 1.3131363477263172 +0.1115385361572635j , + 0.8707541957099734 +0.5377795350353908j , + -0.0785295598918283 +0.9574307521698318j , + -0.25600430983534495 +1.5779236743941056j , + -0.002123033811116115 +1.3573754818628687j , + -0.575115860737733 +0.45873568374374146j , + -1.3110887974749859 -0.005842460356188739j , + -1.3207413884073242 -0.02862091744666795j , + -1.2568595966017777 +0.06997939707661005j , + -1.460257718238804 +0.21123810392610737j , + -1.2704071170582432 -0.011591771770037486j , + -0.477961061111977 -0.7355668550796323j , + 0.34718422855889813 -1.255589255934894j , + 0.8420334100220701 -0.8803199564157523j , + 1.0070821153359202 +0.11008987942734794j , + 0.678512845329849 +0.962438379806064j , + -0.007026993080943955 +1.2559448071354367j , + -0.641576636759757 +0.806896299477998j , + -1.1010520414859462 +0.10997214653231074j , + -1.1941866718466985 -0.1915362095531998j , + -0.9483328597748741 -0.00040452692869486634j , + -0.528978152308057 +0.6412109699052535j , + -0.28792427123675 +0.9368401856093288j , + -0.7829425697849685 +0.39866736132308395j , + -0.9837185895586921 -0.09153157854837451j , + 0.13779160566293 -0.11442847517373124j , + 1.120437026895484 +0.10657570872759686j , + 0.7185555091427125 +0.5437834624774696j , + -0.21575751536380283 +0.9977966029104395j , + -0.5322899097740232 +1.1867010786414345j , + -0.061921780180314356 +1.07024052597418j , + 0.7509004854696455 +0.6796890326273411j , + 0.924039594009708 -0.043513436057377175j , + -0.19937437371196645 -0.5345498978639434j , + -1.0722878285823731 -0.19868000064980404j , + -0.14636559985410752 +0.16215825781876017j , + 1.059112540484913 +0.09905132262159055j , + 0.816316455094305 +0.42176105649432993j , + -0.08339634540961643 +0.8665742627223951j , + -0.6435805097245059 +0.412881137617624j , + -0.9785764651674747 -0.1334337402535659j , + -0.8310139505050123 +0.4182840560459963j , + 0.004290445128051268 +1.0134298969007245j , + 0.7128406615463778 +0.5201191333096475j , + 1.0195309584714138 -0.10288441664993914j , + 1.3259380805164098 -0.02954434553632075j , + 1.1011837857215943 +0.08874757506278119j , + -0.19034166507212322 -0.1536319706405439j , + -1.129108702146607 -0.13111155244116784j , + -0.21706856399056268 +0.09679634899387038j , + 0.9293925242004695 +0.11377837827932849j , + 0.5599548229644581 +0.5767951583456601j , + -0.04929110614683796 +1.0155230571151161j , + 0.02683914839447135 +0.1766783035795019j , + 0.08604468309850166 -0.9533483069606684j , + -0.027596948737022745 -1.0858332543250029j , + 0.0026294665174452225 -0.8831455529685901j , + 0.174700783827141 -1.0596537094542597j , + 0.18098015489259967 -0.9479252773862955j , + -0.09399722496254574 +0.017014632442037585j , + -0.08200435567377806 +1.0036933858537345j , + 0.6250717542921815 +0.9281928768901633j , + 1.006251828027999 +0.2504367015618858j , + 0.27997145948844915 +0.3399197165602183j , + -0.21816600399271474 +0.76210139427085j , + 0.16234234521950908 -0.013929187361872607j , + 0.11756520267495368 -1.0435591778152449j , + -0.5372115709818335 -0.6829464047307646j , + -0.8905857117898752 +0.07260600405867879j , + -0.9749871659151167 -0.014727477849688364j , + -1.0563425318789152 -0.08867173121227392j , + -0.770436743842446 +0.6030462091824088j , + -0.3005535224347538 +0.9569076805906425j , + -0.5691598685153784 +0.3127113493138721j , + -0.9679206395115385 -0.16761145075212505j , + -0.1109594827396469 -0.01290642977546569j , + 0.8929952840164079 +0.2107730946665848j , + 0.5471766209573696 +0.6737461231316567j , + -0.020167239159181005 +0.9542917380123199j , + 0.17651431443925633 +0.07279795986093009j , + 0.2713102356915082 -1.0086095133339659j , + -0.19722270004647202 -0.8578063524091841j , + -0.7120289213078849 -0.21288484552965437j , + -1.0443834353777466 -0.2237900718523524j , + -1.11222794234401 -0.1796060975316766j , + -0.6551840289977229 +0.5224301746035678j , + -0.2653174361554165 +0.845268492190013j , + -0.6033424460779299 +0.3407339590889578j , + -0.8423955369919791 -0.16360048619354j , + -0.20591368622240058 -0.18016801918892905j , + 0.7906788060568096 -0.009691149607551214j , + 1.295544891230963 -0.02660639772925924j , + 0.9461208989283257 +0.11325995657486276j , + 0.19280434636772237 +0.7422541491023664j , + -0.17051568366398995 +1.1033124230516833j , + 0.016020661643038087 +0.43284766853591544j , + 0.1258797507506709 -0.6924972195797864j , + 0.001724773428564641 -1.1145443354679314j , + 0.18501044384492804 -0.7494339074956119j , + 0.5504850449975865 -0.15921477182389984j , + 0.7706463255455493 +0.19742076460529845j , + 0.72728028100398 -0.24975491939634642j , + 0.15357945432426695 -0.8854546394784892j , + -0.5368315224765374 -0.6421924298218692j , + -0.9436810055186442 -0.17424230460084303j , + -1.1845453430634376 -0.20035943357157265j , + -0.8465259755236475 -0.18012662884187305j , + 0.16900873290833174 +0.06662673086360019j , + 0.7908510640773347 +0.008748599854081163j , + 0.2432031254159218 -0.3574045850694861j , + -0.7693528791195445 -0.25261073095388964j , + -0.9940316677969155 +0.5039413690956883j , + -0.26848409191090933 +1.0398177391386316j , + 0.6288476369154249 +0.7733615830066641j , + 1.0399788224749658 -0.006110725023218577j , + 0.7434682653962884 -0.6910817810928633j , + -0.03490308910381737 -0.9239929452749971j , + -0.8423812208726249 -0.6303344219242357j , + -1.0096403028024228 +0.0011807125846193811j , + -0.21007646095699234 +0.2929902001167329j , + 0.7401019391699987 +0.11722747965641703j , + 1.0348052404089394 +0.13252608540830693j , + 0.988695180655101 +0.039961165771971896j , + 0.763474244203165 -0.7531076768777174j , + 0.06643373158333793 -0.963489143127306j , + -0.42753115787538815 +0.311076770228074j , + -0.1276669039588831 +1.131049922968124j , + 0.167865335781591 +0.19343857474583256j , + 0.11258176729089014 -0.9384908425528609j , + 0.21407044004047432 -1.153163021430448j , + 0.0958274076667 -1.0110380993999915j , + -0.6081920308624695 -0.7291140556130329j , + -0.8915251089860083 -0.3155381531179265j , + -0.253145563221226 -0.41491284472526463j , + 0.010745250606436219 -0.9601745076955144j , + -0.6600216325988899 -0.9040395522840808j , + -0.8466098514206355 -0.22641196823922005j , + 0.11674640171746539 +0.09758563818941544j , + 0.8242589137674079 +0.05237121301226816j , + 0.4470515304312367 +0.4294693178683514j ]) + + cfc = sksdr.CoarseFrequencyComp(mod.order, sample_rate, resolution) + out_frame, _, _ = cfc(in_frame) + assert np.allclose(out_frame, expected_frame) diff --git a/tests/test_fec.py b/tests/test_fec.py new file mode 100644 index 0000000..1801c8e --- /dev/null +++ b/tests/test_fec.py @@ -0,0 +1,51 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_hamming_7_4(): + # bits = np.random.randint(0, 2, 100) + in_bits = np.array([ + 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, + 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, + 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, + 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, + 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1]) + expected_bits = np.array([ + 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, + 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, + 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, + 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, + 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, + 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, + 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1]) + fec = sksdr.Hamming(7, 4) + out_bits = fec.encode(in_bits) + assert np.all(out_bits == expected_bits) + +def test_desc_hamming_7_4(): + in_bits = np.array([ + 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, + 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, + 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, + 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, + 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, + 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, + 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1]) + expected_bits = np.array([ + 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, + 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, + 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, + 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, + 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1]) + # flip some bits + in_bits[3] ^= 1 + in_bits[10] ^= 1 + fec = sksdr.Hamming(7, 4) + out_bits, flipped = fec.decode(in_bits) + assert np.all(out_bits == expected_bits) and np.all(flipped[[3, 10]] == 1) diff --git a/tests/test_frame_sync.py b/tests/test_frame_sync.py new file mode 100644 index 0000000..db2fed1 --- /dev/null +++ b/tests/test_frame_sync.py @@ -0,0 +1,330 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_frame_sync(): + threshold = 8.0 + frame_size = 100 + psk = sksdr.PSKModulator(sksdr.QPSK, [0, 1, 3, 2], phase_offset=np.pi/4) + preamble = np.repeat(sksdr.UNIPOLAR_BARKER_SEQ[13], 2) + modulated_preamble = psk.modulate(preamble) + frame_sync = sksdr.FrameSync(modulated_preamble, threshold, frame_size) + + # This physical frame contains the preamble but not a full logical frame + in_frame = np.array([ + 0. +0.j , + 0.00045504183194606325-0.00013286298404358807j, + 0.00019239095131405592+0.00046127169953936043j, + -0.000625503991047037 +0.0013038937523887353j , + -0.0021936594410494783 +0.0020046825330427547j , + -0.01367376131356991 -0.021574596884554223j , + -0.17058869276311073 +0.09600779050934206j , + 0.03646583859244239 +0.0025241528605583255j , + -0.08850339571545747 -0.027726520041101377j , + -0.11057768118209219 -0.06468349249557807j , + -0.12911549549201634 +0.7071900262328085j , + -0.03391739107323899 +1.6829837670074899j , + 0.0730280636152674 +1.285450342500413j , + -0.10435923504930421 +1.426348869730055j , + -0.6218611665331598 +1.9499406674304791j , + 0.10065109406522066 -0.026554470776619765j , + 0.6493039828099624 -2.3346240087232j , + -0.19271052068182715 -0.34918350764655787j , + -0.2970119471026417 +2.292105983578127j , + 0.5540482169449233 -0.09433480707899503j , + -0.7811399312132625 -0.06478396423613934j , + 0.3834154489845994 +0.12799825630160586j , + -0.2352063557547754 -0.4523947814836018j , + 0.8216814690993856 +1.995342062734069j , + 1.2139192546756332 -1.058158900986729j , + 1.215030883309646 -0.8959299829209432j , + 0.6887763494158518 +1.1683408097505774j , + -0.5875453065986004 +1.6642551304789044j , + -0.8899873372384255 +0.6375132470876778j , + -0.9179215160609208 -1.2354533170565436j , + 0.9490698799067947 -0.6404847492988661j , + 0.7737630460671475 +0.6956987105583854j , + -0.5719460995733634 +1.486763094143802j , + -0.6349416929057569 +0.3633458029168643j , + -1.2899645660118655 -0.3301512578272602j , + -1.4657833023932099 -0.12692908684361412j , + -0.32196193654692634 -0.8129849127578831j , + 1.0489173261254594 -0.6604507000328658j , + 0.4306885490623712 +1.0964034604323345j , + -0.8236862890365719 +0.6486884867571237j , + -1.1064454630799543 -0.5176498486136625j , + -0.6972150836904739 +0.4299099573179752j , + -0.8458781118252996 +0.20366973720609016j , + 0.09450462361437995 -0.10579300291497379j , + 0.5843578754656225 +0.7250883727845516j , + -0.8795803056850817 +0.971720533162076j , + 0.4667687591685125 +0.8978517228622711j , + 0.04797702782997082 -0.5476726466574942j , + -0.2665074162740675 +0.0752324029980533j , + 0.7068066436868098 +0.650960715856507j , + -0.7429125098381866 +0.24191988501507516j , + -0.941663626641849 +0.0440211602325864j , + 0.4527711246097275 +0.7802147434407857j , + 1.2670951866750226 +0.3826819182786586j , + -0.04084747240977166 -0.15934453115125916j , + -0.31068342668697924 -0.021919010879470957j , + 0.3793153986909309 +0.7286305796586262j , + -0.09135633626935058 +0.2521520500788982j , + 0.38283036127394887 -1.0493637043353699j , + 0.5322562208678986 -0.9111097091371199j , + -0.033294863745490844 -0.1108967923622809j , + 0.13886509258616503 +1.129373998665531j , + 0.22361860129475364 +0.4133611523184811j , + 0.06951263978130012 +0.13609694096976044j , + -0.13632414329378406 -0.8992125989692281j , + -0.9082516535087548 -0.3638029850828808j , + -0.9584519354416745 +0.16299188920087965j , + -0.6315929144686548 +0.14895940574606037j , + -0.18897523484134549 -0.1380777946700359j , + 0.3285101718305785 +0.8355533156763867j , + 0.025584559886926095 +0.2551663188672287j , + 0.276747636015355 -0.9185318795454923j , + -0.8586487391863051 -0.5999524372215721j , + -0.8432705205216467 +0.07883221989846587j , + -0.670120673850388 +0.1664458754050091j , + -0.2153889438747541 -0.3341896866248936j , + 1.1927974566730042 +0.5323478621394402j , + -0.014937271528199604 +0.7108124053339271j , + -0.2854205967030613 +0.5170402014875659j , + 0.5202050645229509 -1.0173267485025104j , + 0.553480843182039 +0.01581386426130595j , + 0.7541310352188072 +0.22838458560698582j , + -0.06958673486291303 -0.8615889027310051j , + -0.9718831879416943 -0.7162300775430247j , + 0.004568380942336109 +0.048292195108247504j , + 0.4913536046586128 -0.10429272272566664j , + -1.1172784751887526 -0.15026192887765816j , + 0.060494033128144775 +1.0224593102416586j , + 1.0421186402335338 -0.1495402234413237j , + -0.34175882598337914 -0.9976375763089045j , + -0.4418783892916689 +0.09606248542670624j , + 0.8502915482556148 +0.6278795516831366j , + 1.0393000586524352 -0.17934661968016588j , + -0.4428318071623186 -0.08185379169154638j , + -0.03840219211871326 +0.3806733800901507j , + 0.7740820608781789 -0.924384433059227j , + -0.06167217403691509 -0.9314402414595253j , + -0.11400934942587365 -0.48497235537363326j , + -0.0028636887583518567 -1.1221186543315091j , + -0.07270280692867603 +0.07124285584203287j ]) + + # out_frame is None, since the frame is still incomplete + out_frame, _, _ = frame_sync(in_frame) + + # This physical frame contains the rest of the 1st logical frame and a the + # beginning of the 2nd logical frame + in_frame = np.array([ + 0.28073051483508893 +0.5857275682614242j , + -0.654984543856036 +0.8354231785661262j , + -0.5187261917509268 +0.6019799926334745j , + -0.4473579551406935 +0.17295971347710265j, + -0.9284783656351782 -0.8335198899206268j , + -0.31778182883427525 -0.6188191745546093j , + 0.80962405464884 -0.8877716829190442j , + -0.28078718449479595 -0.17295680174386513j, + -0.011206013797797343+1.0808443743319494j , + 0.12407651502056877 +0.5625172473669444j , + -0.6142909156079297 +0.7773840695944384j , + -0.6710531715907438 +0.5945142184192249j , + -0.5834460468911354 +0.41656593979155493j, + -0.6729390212467068 +0.6700939077171245j , + -0.8214139036871554 +0.7802880248446878j , + -0.2155276529422869 +0.29249064566307753j, + 0.9269287887010436 -0.9050455341184249j , + 0.10585375397194657 -0.3102853414251855j , + -0.8882959323068325 +1.0833177395510702j , + 0.057983160647565216+0.27806455381867984j, + -0.03508745598777968 -0.29643175301297015j, + -0.06392578257401182 +0.3112945607463916j , + -0.0635600116765016 -0.6176005128349288j , + -0.802798011054973 +1.1396665515914126j , + -0.6787526046062744 +0.01135187115260156j, + -0.5037163832578483 -0.23598232359451565j, + 1.3328163314880277 +0.4444263712555946j , + 0.05223689641654251 -0.8703145215844331j , + -0.8121020750298964 -0.6070619989808789j , + 0.0972166881012666 -0.14100526069993038j, + 0.4764989867741247 +0.7113685819606328j , + -0.33120603511743735 +0.9664683674540779j , + 0.19787849847061306 +0.44142267554398457j, + -0.3196566628371983 +0.7957066074405696j , + 0.2683656710413588 +0.40801003056414686j, + -0.940858559957481 +0.22377571191792067j, + -0.15251242687712027 -0.3965656875219443j , + 0.4744668608301966 +0.7977026193312929j , + -0.5965620683362711 +1.1161498849878482j , + 0.36717393119353253 +0.20894916315693188j, + -0.5974335231535834 -0.18482905428748525j, + 0.5383433498865274 +0.34405283019515154j, + -1.029033877962315 -1.0564319600144434j , + -0.11311093966297024 -0.9537622818794008j , + 0.8817680759259472 -0.1993280730072458j , + 0.8336673333938899 +0.9135570051803444j , + 0.4407767620788784 +0.7841712943669024j , + 0.5523708979845983 +0.7105481833657441j , + 0.8560229502380826 +0.5379490517597526j , + 0.3861270967091964 -0.5576854557361914j , + -1.0745647748838807 +1.0048555441021574j , + -0.4466090805472217 +0.756952470866884j , + 0.5804683922276797 +0.37846852071084547j, + -0.7711509449206237 +0.741431934256432j , + 0.5288449842400899 +0.7170755633356042j , + 0.9435524279782556 +0.3748950212911027j , + 0.18937514299939107 -0.6971849738101608j , + -0.5386062547642435 +0.7666886506940289j , + 0.562117420823954 +0.4433003205122375j , + -0.7936318066366325 -0.8617546246731637j , + -0.7510034630406679 -0.5027966610939557j , + -0.6193497711489593 +0.34421301637735446j, + -0.5627617523096998 -0.9194027725867163j , + -0.1345693807484186 -0.711927378377345j , + 0.1880444386945353 -0.3481431634874669j , + -0.5826374407598742 +0.45965823475601414j, + 0.6534801216374374 -0.42693678493373344j, + 0.3467554585535072 +0.635991956638187j , + -0.7405166697691511 -1.1467259181147684j , + -0.6746989726409601 -0.6926806043840299j , + -0.12899899696190606 -0.6568914943583638j , + 0.33561367226091554 -0.3466378019656395j , + -0.5426671695334722 +0.42891797632856443j, + 1.0348860771495911 -0.5593048234647113j , + 0.14222058143695357 +0.5588080554499086j , + -0.6815819956638515 -0.7298905876888243j , + 0.9174985259028184 -0.5785289960112789j , + 0.7296999831378729 -0.328725816545086j , + 0.6426792371999372 +0.8657476283415609j , + 0.4667930085491786 -0.5768119063417525j , + 0.6219177743503925 +1.0076755375017061j , + 0.4429261055372874 +0.4356674068572195j , + -0.6852888513872111 -0.8701937551282325j , + 0.6918550791493947 +1.0119858045571877j , + 0.6267489891354989 +0.6768859485402046j , + 0.992640129888497 -0.558047591146347j , + 0.7091773023454319 -0.7745409688838162j , + -0.8956866725982955 -0.6798477843960647j , + -0.917360901361376 +0.5645819143452024j , + -0.6444612674511792 +0.5238684135347551j , + 0.43948000723826325 +0.5040213505908655j , + -0.6298680692434044 -0.666642343818425j , + 0.4558994006359583 +0.5230278658719532j , + -0.6131723497501841 -0.9460596102569088j , + -0.35845114474150397 -0.6194554074548885j , + 0.6879750157100425 -0.7904699821138752j , + -0.5278349597625425 -0.6091323218503174j , + 0.523958841561116 +0.8692148665194882j , + -0.7725834620499579 +0.5007474087373552j , + -0.3959172942573768 -0.7799395989515291j ]) + + expected_frame = np.array([ + -0.03391739107323899 +1.6829837670074899j , + 0.0730280636152674 +1.285450342500413j , + -0.10435923504930421 +1.426348869730055j , + -0.6218611665331598 +1.9499406674304791j , + 0.10065109406522066 -0.026554470776619765j, + 0.6493039828099624 -2.3346240087232j , + -0.19271052068182715 -0.34918350764655787j , + -0.2970119471026417 +2.292105983578127j , + 0.5540482169449233 -0.09433480707899503j , + -0.7811399312132625 -0.06478396423613934j , + 0.3834154489845994 +0.12799825630160586j , + -0.2352063557547754 -0.4523947814836018j , + 0.8216814690993856 +1.995342062734069j , + 1.2139192546756332 -1.058158900986729j , + 1.215030883309646 -0.8959299829209432j , + 0.6887763494158518 +1.1683408097505774j , + -0.5875453065986004 +1.6642551304789044j , + -0.8899873372384255 +0.6375132470876778j , + -0.9179215160609208 -1.2354533170565436j , + 0.9490698799067947 -0.6404847492988661j , + 0.7737630460671475 +0.6956987105583854j , + -0.5719460995733634 +1.486763094143802j , + -0.6349416929057569 +0.3633458029168643j , + -1.2899645660118655 -0.3301512578272602j , + -1.4657833023932099 -0.12692908684361412j , + -0.32196193654692634 -0.8129849127578831j , + 1.0489173261254594 -0.6604507000328658j , + 0.4306885490623712 +1.0964034604323345j , + -0.8236862890365719 +0.6486884867571237j , + -1.1064454630799543 -0.5176498486136625j , + -0.6972150836904739 +0.4299099573179752j , + -0.8458781118252996 +0.20366973720609016j , + 0.09450462361437995 -0.10579300291497379j , + 0.5843578754656225 +0.7250883727845516j , + -0.8795803056850817 +0.971720533162076j , + 0.4667687591685125 +0.8978517228622711j , + 0.04797702782997082 -0.5476726466574942j , + -0.2665074162740675 +0.0752324029980533j , + 0.7068066436868098 +0.650960715856507j , + -0.7429125098381866 +0.24191988501507516j , + -0.941663626641849 +0.0440211602325864j , + 0.4527711246097275 +0.7802147434407857j , + 1.2670951866750226 +0.3826819182786586j , + -0.04084747240977166 -0.15934453115125916j , + -0.31068342668697924 -0.021919010879470957j, + 0.3793153986909309 +0.7286305796586262j , + -0.09135633626935058 +0.2521520500788982j , + 0.38283036127394887 -1.0493637043353699j , + 0.5322562208678986 -0.9111097091371199j , + -0.033294863745490844 -0.1108967923622809j , + 0.13886509258616503 +1.129373998665531j , + 0.22361860129475364 +0.4133611523184811j , + 0.06951263978130012 +0.13609694096976044j , + -0.13632414329378406 -0.8992125989692281j , + -0.9082516535087548 -0.3638029850828808j , + -0.9584519354416745 +0.16299188920087965j , + -0.6315929144686548 +0.14895940574606037j , + -0.18897523484134549 -0.1380777946700359j , + 0.3285101718305785 +0.8355533156763867j , + 0.025584559886926095 +0.2551663188672287j , + 0.276747636015355 -0.9185318795454923j , + -0.8586487391863051 -0.5999524372215721j , + -0.8432705205216467 +0.07883221989846587j , + -0.670120673850388 +0.1664458754050091j , + -0.2153889438747541 -0.3341896866248936j , + 1.1927974566730042 +0.5323478621394402j , + -0.014937271528199604 +0.7108124053339271j , + -0.2854205967030613 +0.5170402014875659j , + 0.5202050645229509 -1.0173267485025104j , + 0.553480843182039 +0.01581386426130595j , + 0.7541310352188072 +0.22838458560698582j , + -0.06958673486291303 -0.8615889027310051j , + -0.9718831879416943 -0.7162300775430247j , + 0.004568380942336109 +0.048292195108247504j, + 0.4913536046586128 -0.10429272272566664j , + -1.1172784751887526 -0.15026192887765816j , + 0.060494033128144775 +1.0224593102416586j , + 1.0421186402335338 -0.1495402234413237j , + -0.34175882598337914 -0.9976375763089045j , + -0.4418783892916689 +0.09606248542670624j , + 0.8502915482556148 +0.6278795516831366j , + 1.0393000586524352 -0.17934661968016588j , + -0.4428318071623186 -0.08185379169154638j , + -0.03840219211871326 +0.3806733800901507j , + 0.7740820608781789 -0.924384433059227j , + -0.06167217403691509 -0.9314402414595253j , + -0.11400934942587365 -0.48497235537363326j , + -0.0028636887583518567-1.1221186543315091j , + -0.07270280692867603 +0.07124285584203287j , + 0.28073051483508893 +0.5857275682614242j , + -0.654984543856036 +0.8354231785661262j , + -0.5187261917509268 +0.6019799926334745j , + -0.4473579551406935 +0.17295971347710265j , + -0.9284783656351782 -0.8335198899206268j , + -0.31778182883427525 -0.6188191745546093j , + 0.80962405464884 -0.8877716829190442j , + -0.28078718449479595 -0.17295680174386513j , + -0.011206013797797343 +1.0808443743319494j , + 0.12407651502056877 +0.5625172473669444j , + -0.6142909156079297 +0.7773840695944384j ]) + + out_frame, _, _ = frame_sync(in_frame) + assert np.allclose(out_frame, expected_frame) diff --git a/tests/test_freq_sync.py b/tests/test_freq_sync.py new file mode 100644 index 0000000..43c3342 --- /dev/null +++ b/tests/test_freq_sync.py @@ -0,0 +1,421 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_freq_sync(): + mod = sksdr.QPSK + sps = 2 + damp_factor = 1.0 + norm_loop_bw = 0.01 + fsync = sksdr.FrequencySync(mod, sps, damp_factor, norm_loop_bw) + + in_frame = np.array([ + -0.00001940952177043791-0.000015698909952685536j, + 0.00045504183194606325-0.00013286298404358807j , + -0.00042450747486277374-0.00025437545501390973j , + 0.00019239094238467552+0.0004612717535677375j , + 0.0004005268495389987 -0.001320052406364037j , + -0.0006255110024933941 +0.0013039071239998156j , + 0.00040400059521223514-0.002459701329391876j , + -0.002193873381528496 +0.002004500832185964j , + 0.013938775664589178 +0.009039323239035717j , + -0.01367352470092345 -0.021573839374980825j , + -0.1241527695385146 -0.006959029093523439j , + -0.17058745936957068 +0.09600289150181793j , + -0.05796136981096818 +0.12195261559481316j , + 0.03646143030544528 +0.002516369280325701j , + -0.013771997783866192 -0.05584572781021223j , + -0.08844593795522468 -0.02763232994211465j , + -0.13235076438032103 -0.06377781306029459j , + -0.11063509790209256 -0.06459042748787186j , + -0.06262295436437225 +0.138934422233517j , + -0.12782058476305425 +0.7073642559403253j , + -0.1480949572650813 +1.4211091446564759j , + -0.0289111442112015 +1.6827692345314458j , + 0.09833784404116097 +1.4834323806505185j , + 0.09520928170466159 +1.2838866497032693j , + -0.02743850947903237 +1.3616351181494413j , + -0.07659893281204469 +1.4283007854458598j , + -0.35962018619854713 +1.504550814173098j , + -0.5817408720687084 +1.9630558749498046j , + -0.19455647738170845 +1.6289567833413203j , + 0.10016340211805039 -0.038501884294428745j , + 0.26053068908813887 -1.6215984351197743j , + 0.5024170490629329 -2.357815223846675j , + 0.24814738018205573 -1.9092638873185672j , + -0.20901883977860652 -0.37066685691608947j , + -0.3179534555019314 +1.2936734465909183j , + -0.0826302433072111 +2.2882506237900526j , + 0.34596099439295874 +1.8084267016654265j , + 0.5413188709885303 -0.12867156182060166j , + 0.030334002829854434 -1.3312915371300473j , + -0.7661084369400554 -0.053604148598742074j , + -0.5691587278255932 +1.401404863984715j , + 0.3710782050985902 +0.166098463688894j , + 0.4090308834810661 -1.524931528887686j , + -0.2740548501121128 -0.47501099859591167j , + -0.07899964215776856 +1.6532723916833658j , + 1.0618489463608949 +1.8768620816776524j , + 1.644848130500093 +0.339915043994172j , + 1.0463363393298253 -1.2243857231508852j , + 0.5489656000176586 -1.723963088026756j , + 1.082310301652007 -1.0498074259364731j , + 1.5173478017854367 +0.13380396789721705j , + 0.8460656334565588 +1.05721842498742j , + -0.09821747460074448 +1.550413547257735j , + -0.3202856587805455 +1.7333963223222073j , + -0.2980759832720994 +1.488130563910461j , + -0.7858560686897625 +0.7582128076675567j , + -1.3361974852817846 -0.20732266440430513j , + -1.1101926246512277 -1.059255549154638j , + -0.1556750856631297 -1.3555850679774792j , + 0.8292864380569747 -0.7826217289436926j , + 1.3131363477263172 +0.1115385361572635j , + 0.8707541957099734 +0.5377795350353908j , + -0.0785295598918283 +0.9574307521698318j , + -0.25600430983534495 +1.5779236743941056j , + -0.002123033811116115 +1.3573754818628687j , + -0.575115860737733 +0.45873568374374146j , + -1.3110887974749859 -0.005842460356188739j , + -1.3207413884073242 -0.02862091744666795j , + -1.2568595966017777 +0.06997939707661005j , + -1.460257718238804 +0.21123810392610737j , + -1.2704071170582432 -0.011591771770037486j , + -0.477961061111977 -0.7355668550796323j , + 0.34718422855889813 -1.255589255934894j , + 0.8420334100220701 -0.8803199564157523j , + 1.0070821153359202 +0.11008987942734794j , + 0.678512845329849 +0.962438379806064j , + -0.007026993080943955 +1.2559448071354367j , + -0.641576636759757 +0.806896299477998j , + -1.1010520414859462 +0.10997214653231074j , + -1.1941866718466985 -0.1915362095531998j , + -0.9483328597748741 -0.00040452692869486634j , + -0.528978152308057 +0.6412109699052535j , + -0.28792427123675 +0.9368401856093288j , + -0.7829425697849685 +0.39866736132308395j , + -0.9837185895586921 -0.09153157854837451j , + 0.13779160566293 -0.11442847517373124j , + 1.120437026895484 +0.10657570872759686j , + 0.7185555091427125 +0.5437834624774696j , + -0.21575751536380283 +0.9977966029104395j , + -0.5322899097740232 +1.1867010786414345j , + -0.061921780180314356 +1.07024052597418j , + 0.7509004854696455 +0.6796890326273411j , + 0.924039594009708 -0.043513436057377175j , + -0.19937437371196645 -0.5345498978639434j , + -1.0722878285823731 -0.19868000064980404j , + -0.14636559985410752 +0.16215825781876017j , + 1.059112540484913 +0.09905132262159055j , + 0.816316455094305 +0.42176105649432993j , + -0.08339634540961643 +0.8665742627223951j , + -0.6435805097245059 +0.412881137617624j , + -0.9785764651674747 -0.1334337402535659j , + -0.8310139505050123 +0.4182840560459963j , + 0.004290445128051268 +1.0134298969007245j , + 0.7128406615463778 +0.5201191333096475j , + 1.0195309584714138 -0.10288441664993914j , + 1.3259380805164098 -0.02954434553632075j , + 1.1011837857215943 +0.08874757506278119j , + -0.19034166507212322 -0.1536319706405439j , + -1.129108702146607 -0.13111155244116784j , + -0.21706856399056268 +0.09679634899387038j , + 0.9293925242004695 +0.11377837827932849j , + 0.5599548229644581 +0.5767951583456601j , + -0.04929110614683796 +1.0155230571151161j , + 0.02683914839447135 +0.1766783035795019j , + 0.08604468309850166 -0.9533483069606684j , + -0.027596948737022745 -1.0858332543250029j , + 0.0026294665174452225 -0.8831455529685901j , + 0.174700783827141 -1.0596537094542597j , + 0.18098015489259967 -0.9479252773862955j , + -0.09399722496254574 +0.017014632442037585j , + -0.08200435567377806 +1.0036933858537345j , + 0.6250717542921815 +0.9281928768901633j , + 1.006251828027999 +0.2504367015618858j , + 0.27997145948844915 +0.3399197165602183j , + -0.21816600399271474 +0.76210139427085j , + 0.16234234521950908 -0.013929187361872607j , + 0.11756520267495368 -1.0435591778152449j , + -0.5372115709818335 -0.6829464047307646j , + -0.8905857117898752 +0.07260600405867879j , + -0.9749871659151167 -0.014727477849688364j , + -1.0563425318789152 -0.08867173121227392j , + -0.770436743842446 +0.6030462091824088j , + -0.3005535224347538 +0.9569076805906425j , + -0.5691598685153784 +0.3127113493138721j , + -0.9679206395115385 -0.16761145075212505j , + -0.1109594827396469 -0.01290642977546569j , + 0.8929952840164079 +0.2107730946665848j , + 0.5471766209573696 +0.6737461231316567j , + -0.020167239159181005 +0.9542917380123199j , + 0.17651431443925633 +0.07279795986093009j , + 0.2713102356915082 -1.0086095133339659j , + -0.19722270004647202 -0.8578063524091841j , + -0.7120289213078849 -0.21288484552965437j , + -1.0443834353777466 -0.2237900718523524j , + -1.11222794234401 -0.1796060975316766j , + -0.6551840289977229 +0.5224301746035678j , + -0.2653174361554165 +0.845268492190013j , + -0.6033424460779299 +0.3407339590889578j , + -0.8423955369919791 -0.16360048619354j , + -0.20591368622240058 -0.18016801918892905j , + 0.7906788060568096 -0.009691149607551214j , + 1.295544891230963 -0.02660639772925924j , + 0.9461208989283257 +0.11325995657486276j , + 0.19280434636772237 +0.7422541491023664j , + -0.17051568366398995 +1.1033124230516833j , + 0.016020661643038087 +0.43284766853591544j , + 0.1258797507506709 -0.6924972195797864j , + 0.001724773428564641 -1.1145443354679314j , + 0.18501044384492804 -0.7494339074956119j , + 0.5504850449975865 -0.15921477182389984j , + 0.7706463255455493 +0.19742076460529845j , + 0.72728028100398 -0.24975491939634642j , + 0.15357945432426695 -0.8854546394784892j , + -0.5368315224765374 -0.6421924298218692j , + -0.9436810055186442 -0.17424230460084303j , + -1.1845453430634376 -0.20035943357157265j , + -0.8465259755236475 -0.18012662884187305j , + 0.16900873290833174 +0.06662673086360019j , + 0.7908510640773347 +0.008748599854081163j , + 0.2432031254159218 -0.3574045850694861j , + -0.7693528791195445 -0.25261073095388964j , + -0.9940316677969155 +0.5039413690956883j , + -0.26848409191090933 +1.0398177391386316j , + 0.6288476369154249 +0.7733615830066641j , + 1.0399788224749658 -0.006110725023218577j , + 0.7434682653962884 -0.6910817810928633j , + -0.03490308910381737 -0.9239929452749971j , + -0.8423812208726249 -0.6303344219242357j , + -1.0096403028024228 +0.0011807125846193811j , + -0.21007646095699234 +0.2929902001167329j , + 0.7401019391699987 +0.11722747965641703j , + 1.0348052404089394 +0.13252608540830693j , + 0.988695180655101 +0.039961165771971896j , + 0.763474244203165 -0.7531076768777174j , + 0.06643373158333793 -0.963489143127306j , + -0.42753115787538815 +0.311076770228074j , + -0.1276669039588831 +1.131049922968124j , + 0.167865335781591 +0.19343857474583256j , + 0.11258176729089014 -0.9384908425528609j , + 0.21407044004047432 -1.153163021430448j , + 0.0958274076667 -1.0110380993999915j , + -0.6081920308624695 -0.7291140556130329j , + -0.8915251089860083 -0.3155381531179265j , + -0.253145563221226 -0.41491284472526463j , + 0.010745250606436219 -0.9601745076955144j , + -0.6600216325988899 -0.9040395522840808j , + -0.8466098514206355 -0.22641196823922005j , + 0.11674640171746539 +0.09758563818941544j , + 0.8242589137674079 +0.05237121301226816j , + 0.4470515304312367 +0.4294693178683514j ]) + + expected_frame = np.array([ + -0.00001940952177043791-0.000015698909952685536j, + 0.00045504183194606325-0.00013286298404358807j , + -0.00042450747486277374-0.00025437545501390973j , + 0.0001923909288544504 +0.0004612717592110326j , + 0.0004005235264655796 -0.001320053414637717j , + -0.000625509460606032 +0.0013039078636736998j , + 0.00040399244697894967-0.0024597026677076164j , + -0.0021938812853893024 +0.002004492181584175j , + 0.013938691402720292 +0.00903945317080884j , + -0.013672972206868894 -0.021574189536444414j , + -0.12415260099589616 -0.006962035331842773j , + -0.17059351091383776 +0.095992137724738j , + -0.057961470980332636 +0.12195256751120961j , + 0.03645908139392493 +0.0025501761086182497j , + -0.013752942901524644 -0.0558504234465463j , + -0.08842246328469827 -0.027707356161776314j , + -0.13227926346390084 -0.06392597850840492j , + -0.11058394394716732 -0.06467796805683831j , + -0.06279997424029128 +0.13885449697471877j , + -0.1291076606205923 +0.707130472006586j , + -0.15120667275261254 +1.420781425662896j , + -0.03362229590381882 +1.6826816966269362j , + 0.08738753809080135 +1.4841177101967205j , + 0.07279825299317902 +1.2853521505681407j , + -0.06901752329430136 +1.3601616257851836j , + -0.10462021078009477 +1.426522043891903j , + -0.37483070322119666 +1.5008336932095818j , + -0.6216000979261183 +1.950800894163329j , + -0.24478520633756762 +1.6221691119125512j , + 0.10162015965575538 -0.034473836015486106j , + 0.34218812503673157 -1.606351459620057j , + 0.6467763094784384 -2.3223686026317405j , + 0.36479934641541645 -1.890446283438096j , + -0.1819607398419365 -0.3846726963986691j , + -0.4268114307848103 +1.2619498360994652j , + -0.3050618986693503 +2.269329397060908j , + 0.17045694537401693 +1.8333140960325425j , + 0.5517004006338371 -0.0721745027701167j , + 0.18845164160559438 -1.3182349135635585j , + -0.7560655649324566 -0.13476054103889654j , + -0.7104329784590824 +1.3353509776002044j , + 0.35009066338811484 +0.20669847930614269j , + 0.5854444168383153 -1.4662800776897578j , + -0.21360017646463864 -0.5050905604654803j , + -0.28419659346087467 +1.6305774562493887j , + 0.8050879300878254 +2.000491910344557j , + 1.5866586035230548 +0.5509828358574167j , + 1.208638842458495 -1.0644868634973585j , + 0.7721845820228046 -1.6361977050979393j , + 1.2194141898467004 -0.8868597714486423j , + 1.483574758770675 +0.3453314184181189j , + 0.680804310027458 +1.1704885072896554j , + -0.3227624094780427 +1.5196227383351397j , + -0.5849819112678465 +1.6628415068640967j , + -0.5203483742655325 +1.4256996305138445j , + -0.8980424091460095 +0.6212698719420405j , + -1.2812508712216308 -0.4322066772307866j , + -0.9036045167777809 -1.2401809785284037j , + 0.08637036831056366 -1.3617583369664485j , + 0.9591243117431674 -0.6166792696233876j , + 1.2708891023726876 +0.3487245363298392j , + 0.7508702612686348 +0.6954232872084282j , + -0.2596206430834367 +0.9248987288683215j , + -0.5641031609198606 +1.4957168691660492j , + -0.27304967750129977 +1.3296302417031036j , + -0.6571089514571343 +0.3307635208526583j , + -1.2796326527794408 -0.2855315099040194j , + -1.2813179263549683 -0.3215607929598997j , + -1.2413292077996712 -0.2090333931424108j , + -1.4698189815390013 -0.1288654404173116j , + -1.2313850505320592 -0.3126651076969787j , + -0.28231671312744056 -0.8305435856834644j , + 0.6583679180265688 -1.1240965050619718j , + 1.0452494404037687 -0.6256493399603615j , + 0.9431325017946738 +0.3699124932201121j , + 0.3977407220978401 +1.1083634937088185j , + -0.3383606067751414 +1.2095283531133063j , + -0.8351694853191955 +0.6043129567855701j , + -1.090865137563974 -0.18553361614765537j , + -1.0968707112636673 -0.5095513414350292j , + -0.9125888297669265 -0.2579089070882565j , + -0.6870468413289487 +0.4679060069778932j , + -0.5427888962433844 +0.8160576777744473j , + -0.8650234690344715 +0.15384775131723358j , + -0.9148867707313975 -0.37291083392089225j , + 0.16527810321252356 -0.06901848390267673j , + 1.0419591725581474 +0.42550980676257244j , + 0.5271010688912767 +0.730880932133957j , + -0.4996044644966106 +0.8902498218312822j , + -0.8634452675934421 +0.972653210536248j , + -0.3792311238741197 +1.0027127430043765j , + 0.5095885728034772 +0.8752989241513754j , + 0.89330801971181 +0.24029850672384584j , + -0.023484007423529407 -0.5700370475633341j , + -0.9584892727107827 -0.5201665541751622j , + -0.18997057480386775 +0.10783955725129954j , + 0.9754643008671755 +0.42426399288556826j , + 0.6411923052319689 +0.6581241306503353j , + -0.35332932155077024 +0.7956533753922088j , + -0.7421721255188325 +0.18397620063621367j , + -0.8832546773550578 -0.44190229253550906j , + -0.9220881210766352 +0.12369007415956135j , + -0.3240207837630871 +0.9602442895123953j , + 0.5027551960702743 +0.7251916535737271j , + 0.9980788404934354 +0.23209309905793735j , + 1.261875547583271 +0.40823371263056j , + 1.0110102417660742 +0.4453539637858521j , + -0.12786495400871103 -0.20852646211374587j , + -1.015935859823508 -0.5098539292497393j , + -0.23718132918326196 +0.0152745454377302j , + 0.8316025848152715 +0.4302942299545201j , + 0.32025104173792085 +0.7373474952272701j , + -0.40412010687804145 +0.9329542496256129j , + -0.03792560109622795 +0.17463450868531363j , + 0.4185179593186864 -0.8608829186376141j , + 0.3647219547529664 -1.0231194180049539j , + 0.3219048571785903 -0.8223929989653331j , + 0.5505013130806959 -0.9221359184666975j , + 0.5206616873031835 -0.8125438790289646j , + -0.09347909959127466 -0.019663009876456427j , + -0.45795712754320966 +0.8968837140278427j , + 0.22070761169041792 +1.0970619238973955j , + 0.8317869124754762 +0.6191864138798601j , + 0.12519537173970635 +0.42220321023107843j , + -0.4946745918811575 +0.6194287599029714j , + 0.15505167269056555 +0.050080316570386654j , + 0.5118405600906168 -0.9169823201831955j , + -0.22956373063505053 -0.8380409043169461j , + -0.8482115871370564 -0.2809833541619208j , + -0.8900339915792539 -0.3983169167089255j , + -0.9373618165733703 -0.495050548330986j , + -0.9464416034480193 +0.2479632995718652j , + -0.6593784033293777 +0.7557941851086852j , + -0.6470869432919253 +0.05486193342617385j , + -0.8189422258785427 -0.5424920215899545j , + -0.09630114662724065 -0.05660982156549975j , + 0.7337405947903117 +0.550899822352153j , + 0.2285156078201453 +0.8373271224198174j , + -0.4051699062329932 +0.8642434760280376j , + 0.13149267427907554 +0.13844321136412285j , + 0.6561103042605401 -0.8126633146770577j , + 0.17083971071171028 -0.8634479283032123j , + -0.5621075321385613 -0.48614839766078743j , + -0.8591710395457832 -0.6345422611275967j , + -0.9349765619851442 -0.6285922164168024j , + -0.8140655419484312 +0.19873774830718582j , + -0.5979712991648938 +0.6536837853215502j , + -0.6910326132485475 +0.05094767455555499j , + -0.6940170260082924 -0.5047135102584165j , + -0.10988885684317377 -0.2505701507639328j , + 0.7211505101895764 +0.32435911330106254j , + 1.1846886661699658 +0.5250306941914946j , + 0.8088350362069932 +0.5037444365512289j , + -0.14344189102600333 +0.7533519507752315j , + -0.6323383466364034 +0.9200663653284551j , + -0.17484874662628294 +0.39628484901605354j , + 0.41947530392228016 -0.5651889773996805j , + 0.4986241234321424 -0.9967878581215566j , + 0.5016564087747191 -0.5867034119306711j , + 0.5631257558246586 +0.10617208418335913j , + 0.5959928339485222 +0.5269376236863399j , + 0.760960121995867 +0.11069697209923443j , + 0.5452814221176254 -0.7143421715521918j , + -0.17783048153827302 -0.8179092371900805j , + -0.7514016633808583 -0.5969001266189944j , + -0.9497841203837629 -0.7356641197321236j , + -0.6633478435869381 -0.5558969941120029j , + 0.11770142590161489 +0.13838152841176848j , + 0.6923176017867152 +0.3823849916091774j , + 0.38395461821641863 -0.1986571136180335j , + -0.5557818142605889 -0.58891647025686j , + -1.113914028347641 -0.03537509744841838j , + -0.734849249611869 +0.7831355046104562j , + 0.17906212279544786 +0.9805479308553333j , + 0.9096015094564086 +0.5042007399353445j , + 0.987147540876347 -0.2363870181537701j , + 0.4197692692144122 -0.8238779941048013j , + -0.4239917155089879 -0.9628907673880565j , + -0.8821655843750311 -0.49107923685433397j , + -0.32694430296881205 +0.15193024573433545j , + 0.5882700144246453 +0.46414604649680646j , + 0.8350488982682003 +0.6253626039287268j , + 0.8405309030941203 +0.5221329868570462j , + 1.0361742140915207 -0.2764183289609533j , + 0.537153537536467 -0.80261500529727j , + -0.5258631594629313 +0.05495075476700678j , + -0.6730973130937828 +0.9178849457958093j , + 0.0485920354343322 +0.2514678254749779j , + 0.5652003044979041 -0.757620176392759j , + 0.7631380253990477 -0.8906354256842497j , + 0.5894389536079234 -0.827008252962486j , + -0.15835284751859063 -0.9361779895830995j , + -0.6096361660405217 -0.7229972967314606j , + -0.0070164513573656995 -0.4859898294274819j , + 0.4935779328940213 -0.8236694542102333j , + -0.11335902858080893 -1.1135824164522896j , + -0.6179935510265837 -0.6213651026361082j , + 0.051282516907838485 +0.14325774867143684j , + 0.6873271170573665 +0.45795953427678815j , + 0.1712129956738913 +0.5958062402858753j ]) + + out_frame, _ = fsync(in_frame) + assert np.allclose(out_frame, expected_frame) diff --git a/tests/test_impairments.py b/tests/test_impairments.py new file mode 100644 index 0000000..fb15086 --- /dev/null +++ b/tests/test_impairments.py @@ -0,0 +1,42 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_fractional_delay0(): + delay = 0.1 + data = np.array([1, 2, 3, 4, 5], dtype=float) + expected_data = np.array([0.9, 1.9, 2.9, 3.9, 4.9]) + vfd = sksdr.VariableFractionalDelay(10) + out_data = vfd(data, delay) + assert np.allclose(out_data, expected_data) + + delay = 10 + data = np.array([1, 2, 3, 4, 5], dtype=float) + expected_data = np.array([99, 99, 99, 99, 99], dtype=float) + vfd = sksdr.VariableFractionalDelay(10, init_state=99) + out_data = vfd(data, delay) + assert np.allclose(out_data, expected_data) + +def test_fractional_delay1(): + + # Create a delay offset object + vfd = sksdr.VariableFractionalDelay(max_delay=5) + + # Generate random data symbols and apply QPSK modulation + ints = np.random.randint(0, 4, 10000) + bits = sksdr.x2binlist(ints, 2) + psk = sksdr.PSKModulator(sksdr.QPSK, [0, 1, 3, 2], 1.0, np.pi/4) + mod_sig = psk.modulate(bits) + + # Interpolate by 4 and filter with RRC tx filter + interp = sksdr.FirInterpolator(4, sksdr.rrc(4, 0.5, 10)) + _, tx_sig = interp(mod_sig) + + # Apply the delay offset. Then, pass the offset signal through an AWGN channel. + out_sig = vfd(tx_sig, 2) + expected_sig = np.concatenate(([0, 0], tx_sig[0:-2])) + assert np.allclose(out_sig, expected_sig) diff --git a/tests/test_modulation.py b/tests/test_modulation.py new file mode 100644 index 0000000..69aeb21 --- /dev/null +++ b/tests/test_modulation.py @@ -0,0 +1,35 @@ +import logging +import unittest + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +class TestPSKModulator(unittest.TestCase): + def setUp(self): + self.mod = sksdr.QPSK + self.psk = sksdr.PSKModulator(self.mod, [0, 1, 3, 2], phase_offset=np.pi/4) + + def test_modulation(self): + bits = np.array([0, 0, 0, 1, 1, 1, 1, 0]) + expected_symbols = 1 / np.sqrt(2) * np.array([1.0 + 1.0j, -1.0 + 1.0j, -1.0 - 1.0j, 1.0 - 1.0j]) + symbols = self.psk.modulate(bits) + err_msg = f'expected_symbols = {expected_symbols}\n' + err_msg += f'symbols = {symbols}\n' + self.assertTrue(np.allclose(symbols, expected_symbols), err_msg) + + def test_demodulation(self): + symbols = 1 / np.sqrt(2) * np.array([1.0 + 1.0j, -1.0 + 1.0j, -1.0 - 1.0j, 1.0 - 1.0j]) + expected_bits = np.array([0, 0, 0, 1, 1, 1, 1, 0]) + bits = self.psk.demodulate(symbols) + err_msg = f'expected_bits = {expected_bits}\n' + err_msg += f'bits = {bits}\n' + self.assertTrue(np.alltrue(bits == expected_bits), err_msg) + + def tearDown(self): + pass + +if __name__ == '__main__': + unittest.main() diff --git a/tests/test_psk_rx_iq.py b/tests/test_psk_rx_iq.py new file mode 100644 index 0000000..501981f --- /dev/null +++ b/tests/test_psk_rx_iq.py @@ -0,0 +1,22 @@ +import logging + +# import matplotlib.pyplot as plt +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_psk_rx_iq(): + valid_frames = 0 + frame_size_samples = 500 + frame_size_symbols = 125 + trans = sksdr.PSKTrans(sample_rate=1.024e6, frame_size=frame_size_symbols, agc_avg_len=frame_size_samples) + # file obtained from GNU Radio which uses complex64 (float32 +j*float32) + num_frames = 100 + samples = np.fromfile('tests/test.iq', dtype=np.complex64)[:num_frames * frame_size_samples] + for i in range(0, len(samples), frame_size_samples): + rx_ret = trans.receive(samples[i: i + frame_size_samples], 'Hello World 000') + if rx_ret['valid']: + valid_frames += 1 + pass diff --git a/tests/test_psk_trans.py b/tests/test_psk_trans.py new file mode 100644 index 0000000..6094ae2 --- /dev/null +++ b/tests/test_psk_trans.py @@ -0,0 +1,32 @@ +import logging + +import sksdr + +_log = logging.getLogger(__name__) + +def test_psk_trans(): + msgs = ['Hello World {:03d}'.format(i) for i in range(100)] + + # BPSK + rx_msg_idx = 0 + trans = sksdr.PSKTrans(frame_size=200, modulation=sksdr.BPSK, mod_symbols=[0, 1], chan_snr=15, chan_delay_step=0.05, + chan_max_delay=8, chan_freq_offset=5e3, chan_phase_offset=47) + for i, m in enumerate(msgs): + tx_ret = trans.transmit(m) + chan_frame = trans.channel(tx_ret['frame'], i) + rx_ret = trans.receive(chan_frame, msgs[rx_msg_idx]) + if rx_ret['valid']: + rx_msg_idx += 1 + assert rx_msg_idx == 99 + + # QPSK + rx_msg_idx = 0 + trans = sksdr.PSKTrans(chan_snr=15, chan_delay_step=0.05, chan_max_delay=8, chan_freq_offset=5e3, + chan_phase_offset=47) + for i, m in enumerate(msgs): + tx_ret = trans.transmit(m) + chan_frame = trans.channel(tx_ret['frame'], i) + rx_ret = trans.receive(chan_frame, msgs[rx_msg_idx]) + if rx_ret['valid']: + rx_msg_idx += 1 + assert rx_msg_idx == 99 diff --git a/tests/test_pulses.py b/tests/test_pulses.py new file mode 100644 index 0000000..29a9f6c --- /dev/null +++ b/tests/test_pulses.py @@ -0,0 +1,21 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_rrc(): + upsampling = 4 + rolloff = 0.5 + span = 10 + expected_coeffs = [ + -0.00032153663484369224, 0.0029482757365995446, 0.0025009680838767156, -0.001910843539177682, + -0.005052718547543872, -0.0019108435391776751, 0.005359217322592971, 0.008226307824498015, + 0.0015158155642631564, -0.008226307824498019, -0.007502904251630149, 0.007734366706195372, + 0.021221417899684264, 0.007734366706195362, -0.037514521258150815, -0.07842413459354777, + -0.05305354474921063, 0.07842413459354781, 0.28932658035576947, 0.48726510249030763] + expected_coeffs = np.hstack((expected_coeffs, [0.5683302081417902], np.flip(expected_coeffs))) + coeffs = sksdr.rrc(upsampling, rolloff, span) + assert np.all(coeffs == expected_coeffs) diff --git a/tests/test_scrambling.py b/tests/test_scrambling.py new file mode 100644 index 0000000..26f85c8 --- /dev/null +++ b/tests/test_scrambling.py @@ -0,0 +1,63 @@ +import logging +import unittest + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +class TestScrambling(unittest.TestCase): + def test_scramble(self): + poly = [1, 1, 1, 0, 1] + ic = [0, 1, 1, 0] + scrambler = sksdr.Scrambler(poly, ic) + in_bits = np.array([ + 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, + 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, + 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, + 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, + 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, + 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, + 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0], + dtype=np.uint8) + expected_bits = np.array([ + 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, + 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, + 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, + 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, + 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, + 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, + 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, + 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1], + dtype=np.uint8) + out_bits = scrambler(in_bits) + assert np.all(out_bits == expected_bits) + + def test_descramble(self): + poly = [1, 1, 1, 0, 1] + ic = [0, 1, 1, 0] + descrambler = sksdr.Descrambler(poly, ic) + in_bits = np.array([ + 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, + 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, + 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, + 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, + 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, + 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, + 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, + 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1], + dtype=np.uint8) + expected_bits = np.array([ + 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, + 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, + 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, + 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, + 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, + 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, + 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0], + dtype=np.uint8) + out_bits = descrambler(in_bits) + assert np.all(out_bits == expected_bits) diff --git a/tests/test_symbol_sync.py b/tests/test_symbol_sync.py new file mode 100644 index 0000000..4f07d48 --- /dev/null +++ b/tests/test_symbol_sync.py @@ -0,0 +1,323 @@ +import logging + +import numpy as np + +import sksdr + +_log = logging.getLogger(__name__) + +def test_symbol_sync(): + mod = sksdr.QPSK + sps = 2 + K = 1.0 + A = 1 / np.sqrt(2) + damp_factor = 1.0 + norm_loop_bw = 0.01 + + in_frame = np.array([ + -0.00001940952177043791-0.000015698909952685536j, + 0.00045504183194606325-0.00013286298404358807j , + -0.00042450747486277374-0.00025437545501390973j , + 0.0001923909288544504 +0.0004612717592110326j , + 0.0004005235264655796 -0.001320053414637717j , + -0.000625509460606032 +0.0013039078636736998j , + 0.00040399244697894967-0.0024597026677076164j , + -0.0021938812853893024 +0.002004492181584175j , + 0.013938691402720292 +0.00903945317080884j , + -0.013672972206868894 -0.021574189536444414j , + -0.12415260099589616 -0.006962035331842773j , + -0.17059351091383776 +0.095992137724738j , + -0.057961470980332636 +0.12195256751120961j , + 0.03645908139392493 +0.0025501761086182497j , + -0.013752942901524644 -0.0558504234465463j , + -0.08842246328469827 -0.027707356161776314j , + -0.13227926346390084 -0.06392597850840492j , + -0.11058394394716732 -0.06467796805683831j , + -0.06279997424029128 +0.13885449697471877j , + -0.1291076606205923 +0.707130472006586j , + -0.15120667275261254 +1.420781425662896j , + -0.03362229590381882 +1.6826816966269362j , + 0.08738753809080135 +1.4841177101967205j , + 0.07279825299317902 +1.2853521505681407j , + -0.06901752329430136 +1.3601616257851836j , + -0.10462021078009477 +1.426522043891903j , + -0.37483070322119666 +1.5008336932095818j , + -0.6216000979261183 +1.950800894163329j , + -0.24478520633756762 +1.6221691119125512j , + 0.10162015965575538 -0.034473836015486106j , + 0.34218812503673157 -1.606351459620057j , + 0.6467763094784384 -2.3223686026317405j , + 0.36479934641541645 -1.890446283438096j , + -0.1819607398419365 -0.3846726963986691j , + -0.4268114307848103 +1.2619498360994652j , + -0.3050618986693503 +2.269329397060908j , + 0.17045694537401693 +1.8333140960325425j , + 0.5517004006338371 -0.0721745027701167j , + 0.18845164160559438 -1.3182349135635585j , + -0.7560655649324566 -0.13476054103889654j , + -0.7104329784590824 +1.3353509776002044j , + 0.35009066338811484 +0.20669847930614269j , + 0.5854444168383153 -1.4662800776897578j , + -0.21360017646463864 -0.5050905604654803j , + -0.28419659346087467 +1.6305774562493887j , + 0.8050879300878254 +2.000491910344557j , + 1.5866586035230548 +0.5509828358574167j , + 1.208638842458495 -1.0644868634973585j , + 0.7721845820228046 -1.6361977050979393j , + 1.2194141898467004 -0.8868597714486423j , + 1.483574758770675 +0.3453314184181189j , + 0.680804310027458 +1.1704885072896554j , + -0.3227624094780427 +1.5196227383351397j , + -0.5849819112678465 +1.6628415068640967j , + -0.5203483742655325 +1.4256996305138445j , + -0.8980424091460095 +0.6212698719420405j , + -1.2812508712216308 -0.4322066772307866j , + -0.9036045167777809 -1.2401809785284037j , + 0.08637036831056366 -1.3617583369664485j , + 0.9591243117431674 -0.6166792696233876j , + 1.2708891023726876 +0.3487245363298392j , + 0.7508702612686348 +0.6954232872084282j , + -0.2596206430834367 +0.9248987288683215j , + -0.5641031609198606 +1.4957168691660492j , + -0.27304967750129977 +1.3296302417031036j , + -0.6571089514571343 +0.3307635208526583j , + -1.2796326527794408 -0.2855315099040194j , + -1.2813179263549683 -0.3215607929598997j , + -1.2413292077996712 -0.2090333931424108j , + -1.4698189815390013 -0.1288654404173116j , + -1.2313850505320592 -0.3126651076969787j , + -0.28231671312744056 -0.8305435856834644j , + 0.6583679180265688 -1.1240965050619718j , + 1.0452494404037687 -0.6256493399603615j , + 0.9431325017946738 +0.3699124932201121j , + 0.3977407220978401 +1.1083634937088185j , + -0.3383606067751414 +1.2095283531133063j , + -0.8351694853191955 +0.6043129567855701j , + -1.090865137563974 -0.18553361614765537j , + -1.0968707112636673 -0.5095513414350292j , + -0.9125888297669265 -0.2579089070882565j , + -0.6870468413289487 +0.4679060069778932j , + -0.5427888962433844 +0.8160576777744473j , + -0.8650234690344715 +0.15384775131723358j , + -0.9148867707313975 -0.37291083392089225j , + 0.16527810321252356 -0.06901848390267673j , + 1.0419591725581474 +0.42550980676257244j , + 0.5271010688912767 +0.730880932133957j , + -0.4996044644966106 +0.8902498218312822j , + -0.8634452675934421 +0.972653210536248j , + -0.3792311238741197 +1.0027127430043765j , + 0.5095885728034772 +0.8752989241513754j , + 0.89330801971181 +0.24029850672384584j , + -0.023484007423529407 -0.5700370475633341j , + -0.9584892727107827 -0.5201665541751622j , + -0.18997057480386775 +0.10783955725129954j , + 0.9754643008671755 +0.42426399288556826j , + 0.6411923052319689 +0.6581241306503353j , + -0.35332932155077024 +0.7956533753922088j , + -0.7421721255188325 +0.18397620063621367j , + -0.8832546773550578 -0.44190229253550906j , + -0.9220881210766352 +0.12369007415956135j , + -0.3240207837630871 +0.9602442895123953j , + 0.5027551960702743 +0.7251916535737271j , + 0.9980788404934354 +0.23209309905793735j , + 1.261875547583271 +0.40823371263056j , + 1.0110102417660742 +0.4453539637858521j , + -0.12786495400871103 -0.20852646211374587j , + -1.015935859823508 -0.5098539292497393j , + -0.23718132918326196 +0.0152745454377302j , + 0.8316025848152715 +0.4302942299545201j , + 0.32025104173792085 +0.7373474952272701j , + -0.40412010687804145 +0.9329542496256129j , + -0.03792560109622795 +0.17463450868531363j , + 0.4185179593186864 -0.8608829186376141j , + 0.3647219547529664 -1.0231194180049539j , + 0.3219048571785903 -0.8223929989653331j , + 0.5505013130806959 -0.9221359184666975j , + 0.5206616873031835 -0.8125438790289646j , + -0.09347909959127466 -0.019663009876456427j , + -0.45795712754320966 +0.8968837140278427j , + 0.22070761169041792 +1.0970619238973955j , + 0.8317869124754762 +0.6191864138798601j , + 0.12519537173970635 +0.42220321023107843j , + -0.4946745918811575 +0.6194287599029714j , + 0.15505167269056555 +0.050080316570386654j , + 0.5118405600906168 -0.9169823201831955j , + -0.22956373063505053 -0.8380409043169461j , + -0.8482115871370564 -0.2809833541619208j , + -0.8900339915792539 -0.3983169167089255j , + -0.9373618165733703 -0.495050548330986j , + -0.9464416034480193 +0.2479632995718652j , + -0.6593784033293777 +0.7557941851086852j , + -0.6470869432919253 +0.05486193342617385j , + -0.8189422258785427 -0.5424920215899545j , + -0.09630114662724065 -0.05660982156549975j , + 0.7337405947903117 +0.550899822352153j , + 0.2285156078201453 +0.8373271224198174j , + -0.4051699062329932 +0.8642434760280376j , + 0.13149267427907554 +0.13844321136412285j , + 0.6561103042605401 -0.8126633146770577j , + 0.17083971071171028 -0.8634479283032123j , + -0.5621075321385613 -0.48614839766078743j , + -0.8591710395457832 -0.6345422611275967j , + -0.9349765619851442 -0.6285922164168024j , + -0.8140655419484312 +0.19873774830718582j , + -0.5979712991648938 +0.6536837853215502j , + -0.6910326132485475 +0.05094767455555499j , + -0.6940170260082924 -0.5047135102584165j , + -0.10988885684317377 -0.2505701507639328j , + 0.7211505101895764 +0.32435911330106254j , + 1.1846886661699658 +0.5250306941914946j , + 0.8088350362069932 +0.5037444365512289j , + -0.14344189102600333 +0.7533519507752315j , + -0.6323383466364034 +0.9200663653284551j , + -0.17484874662628294 +0.39628484901605354j , + 0.41947530392228016 -0.5651889773996805j , + 0.4986241234321424 -0.9967878581215566j , + 0.5016564087747191 -0.5867034119306711j , + 0.5631257558246586 +0.10617208418335913j , + 0.5959928339485222 +0.5269376236863399j , + 0.760960121995867 +0.11069697209923443j , + 0.5452814221176254 -0.7143421715521918j , + -0.17783048153827302 -0.8179092371900805j , + -0.7514016633808583 -0.5969001266189944j , + -0.9497841203837629 -0.7356641197321236j , + -0.6633478435869381 -0.5558969941120029j , + 0.11770142590161489 +0.13838152841176848j , + 0.6923176017867152 +0.3823849916091774j , + 0.38395461821641863 -0.1986571136180335j , + -0.5557818142605889 -0.58891647025686j , + -1.113914028347641 -0.03537509744841838j , + -0.734849249611869 +0.7831355046104562j , + 0.17906212279544786 +0.9805479308553333j , + 0.9096015094564086 +0.5042007399353445j , + 0.987147540876347 -0.2363870181537701j , + 0.4197692692144122 -0.8238779941048013j , + -0.4239917155089879 -0.9628907673880565j , + -0.8821655843750311 -0.49107923685433397j , + -0.32694430296881205 +0.15193024573433545j , + 0.5882700144246453 +0.46414604649680646j , + 0.8350488982682003 +0.6253626039287268j , + 0.8405309030941203 +0.5221329868570462j , + 1.0361742140915207 -0.2764183289609533j , + 0.537153537536467 -0.80261500529727j , + -0.5258631594629313 +0.05495075476700678j , + -0.6730973130937828 +0.9178849457958093j , + 0.0485920354343322 +0.2514678254749779j , + 0.5652003044979041 -0.757620176392759j , + 0.7631380253990477 -0.8906354256842497j , + 0.5894389536079234 -0.827008252962486j , + -0.15835284751859063 -0.9361779895830995j , + -0.6096361660405217 -0.7229972967314606j , + -0.0070164513573656995 -0.4859898294274819j , + 0.4935779328940213 -0.8236694542102333j , + -0.11335902858080893 -1.1135824164522896j , + -0.6179935510265837 -0.6213651026361082j , + 0.051282516907838485 +0.14325774867143684j , + 0.6873271170573665 +0.45795953427678815j , + 0.1712129956738913 +0.5958062402858753j ]) + + expected_frame = np.array([ + 0. +0.j , + 0.00045504183194606325-0.00013286298404358807j, + 0.00019239095131405592+0.00046127169953936043j, + -0.000625503991047037 +0.0013038937523887353j , + -0.0021936594410494783 +0.0020046825330427547j , + -0.01367376131356991 -0.021574596884554223j , + -0.17058869276311073 +0.09600779050934206j , + 0.03646583859244239 +0.0025241528605583255j , + -0.08850339571545747 -0.027726520041101377j , + -0.11057768118209219 -0.06468349249557807j , + -0.12911549549201634 +0.7071900262328085j , + -0.03391739107323899 +1.6829837670074899j , + 0.0730280636152674 +1.285450342500413j , + -0.10435923504930421 +1.426348869730055j , + -0.6218611665331598 +1.9499406674304791j , + 0.10065109406522066 -0.026554470776619765j , + 0.6493039828099624 -2.3346240087232j , + -0.19271052068182715 -0.34918350764655787j , + -0.2970119471026417 +2.292105983578127j , + 0.5540482169449233 -0.09433480707899503j , + -0.7811399312132625 -0.06478396423613934j , + 0.3834154489845994 +0.12799825630160586j , + -0.2352063557547754 -0.4523947814836018j , + 0.8216814690993856 +1.995342062734069j , + 1.2139192546756332 -1.058158900986729j , + 1.215030883309646 -0.8959299829209432j , + 0.6887763494158518 +1.1683408097505774j , + -0.5875453065986004 +1.6642551304789044j , + -0.8899873372384255 +0.6375132470876778j , + -0.9179215160609208 -1.2354533170565436j , + 0.9490698799067947 -0.6404847492988661j , + 0.7737630460671475 +0.6956987105583854j , + -0.5719460995733634 +1.486763094143802j , + -0.6349416929057569 +0.3633458029168643j , + -1.2899645660118655 -0.3301512578272602j , + -1.4657833023932099 -0.12692908684361412j , + -0.32196193654692634 -0.8129849127578831j , + 1.0489173261254594 -0.6604507000328658j , + 0.4306885490623712 +1.0964034604323345j , + -0.8236862890365719 +0.6486884867571237j , + -1.1064454630799543 -0.5176498486136625j , + -0.6972150836904739 +0.4299099573179752j , + -0.8458781118252996 +0.20366973720609016j , + 0.09450462361437995 -0.10579300291497379j , + 0.5843578754656225 +0.7250883727845516j , + -0.8795803056850817 +0.971720533162076j , + 0.4667687591685125 +0.8978517228622711j , + 0.04797702782997082 -0.5476726466574942j , + -0.2665074162740675 +0.0752324029980533j , + 0.7068066436868098 +0.650960715856507j , + -0.7429125098381866 +0.24191988501507516j , + -0.941663626641849 +0.0440211602325864j , + 0.4527711246097275 +0.7802147434407857j , + 1.2670951866750226 +0.3826819182786586j , + -0.04084747240977166 -0.15934453115125916j , + -0.31068342668697924 -0.021919010879470957j , + 0.3793153986909309 +0.7286305796586262j , + -0.09135633626935058 +0.2521520500788982j , + 0.38283036127394887 -1.0493637043353699j , + 0.5322562208678986 -0.9111097091371199j , + -0.033294863745490844 -0.1108967923622809j , + 0.13886509258616503 +1.129373998665531j , + 0.22361860129475364 +0.4133611523184811j , + 0.06951263978130012 +0.13609694096976044j , + -0.13632414329378406 -0.8992125989692281j , + -0.9082516535087548 -0.3638029850828808j , + -0.9584519354416745 +0.16299188920087965j , + -0.6315929144686548 +0.14895940574606037j , + -0.18897523484134549 -0.1380777946700359j , + 0.3285101718305785 +0.8355533156763867j , + 0.025584559886926095 +0.2551663188672287j , + 0.276747636015355 -0.9185318795454923j , + -0.8586487391863051 -0.5999524372215721j , + -0.8432705205216467 +0.07883221989846587j , + -0.670120673850388 +0.1664458754050091j , + -0.2153889438747541 -0.3341896866248936j , + 1.1927974566730042 +0.5323478621394402j , + -0.014937271528199604 +0.7108124053339271j , + -0.2854205967030613 +0.5170402014875659j , + 0.5202050645229509 -1.0173267485025104j , + 0.553480843182039 +0.01581386426130595j , + 0.7541310352188072 +0.22838458560698582j , + -0.06958673486291303 -0.8615889027310051j , + -0.9718831879416943 -0.7162300775430247j , + 0.004568380942336109 +0.048292195108247504j , + 0.4913536046586128 -0.10429272272566664j , + -1.1172784751887526 -0.15026192887765816j , + 0.060494033128144775 +1.0224593102416586j , + 1.0421186402335338 -0.1495402234413237j , + -0.34175882598337914 -0.9976375763089045j , + -0.4418783892916689 +0.09606248542670624j , + 0.8502915482556148 +0.6278795516831366j , + 1.0393000586524352 -0.17934661968016588j , + -0.4428318071623186 -0.08185379169154638j , + -0.03840219211871326 +0.3806733800901507j , + 0.7740820608781789 -0.924384433059227j , + -0.06167217403691509 -0.9314402414595253j , + -0.11400934942587365 -0.48497235537363326j , + -0.0028636887583518567 -1.1221186543315091j , + -0.07270280692867603 +0.07124285584203287j ]) + + sym_sync = sksdr.SymbolSync(mod, sps, damp_factor, norm_loop_bw, K, A) + out_frame, _, _ = sym_sync(in_frame) + assert np.allclose(out_frame, expected_frame)