From 127072715b7855ff70e3460d64424839e291298c Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 1 Sep 2017 16:56:13 +0200 Subject: DPD CE: Add MIT licence header --- dpd/src/phase_align.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'dpd/src/phase_align.py') 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. -- cgit v1.2.3