summaryrefslogtreecommitdiffstats
path: root/dpd/src/phase_align.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-01 16:56:13 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-01 16:56:13 +0200
commit127072715b7855ff70e3460d64424839e291298c (patch)
tree5df478f6b4e19843a9fea648a08fd70a0ffab371 /dpd/src/phase_align.py
parent273821a2e97efef2bd38107914638d195ac71c3b (diff)
downloaddabmod-127072715b7855ff70e3460d64424839e291298c.tar.gz
dabmod-127072715b7855ff70e3460d64424839e291298c.tar.bz2
dabmod-127072715b7855ff70e3460d64424839e291298c.zip
DPD CE: Add MIT licence header
Diffstat (limited to 'dpd/src/phase_align.py')
-rw-r--r--dpd/src/phase_align.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/dpd/src/phase_align.py b/dpd/src/phase_align.py
index f03184b..7045586 100644
--- a/dpd/src/phase_align.py
+++ b/dpd/src/phase_align.py
@@ -1,3 +1,9 @@
+# -*- coding: utf-8 -*-
+#
+# DPD Calculation Engine, phase-align a signal against a reference.
+#
+# http://www.opendigitalradio.org
+# Licence: The MIT License, see notice at the end of this file
import datetime
import os
import logging
@@ -72,3 +78,25 @@ def phase_align(sig, ref_sig):
plt.clf()
return sig
+
+# The MIT License (MIT)
+#
+# Copyright (c) 2017 Andreas Steger
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.