2016-01-07 20:24:51 +01:00
|
|
|
#
|
|
|
|
# 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 SATNOGS module. Place your Python package
|
|
|
|
description here (python/__init__.py).
|
|
|
|
'''
|
2019-12-03 12:47:45 +01:00
|
|
|
from __future__ import unicode_literals
|
2017-01-22 18:33:36 +01:00
|
|
|
import sys
|
2016-01-07 20:24:51 +01:00
|
|
|
|
|
|
|
# import swig generated symbols into the satnogs namespace
|
|
|
|
try:
|
2016-07-15 22:22:15 +02:00
|
|
|
# this might fail if the module is python-only
|
2019-12-03 12:47:45 +01:00
|
|
|
from .satnogs_swig import *
|
2019-12-12 20:53:39 +01:00
|
|
|
from .doppler_compensation import doppler_compensation
|
2019-12-03 12:47:45 +01:00
|
|
|
from .utils import *
|
2017-01-22 18:33:36 +01:00
|
|
|
except ImportError as err:
|
|
|
|
sys.stderr.write("Failed to import SatNOGS ({})\n".format(err))
|
|
|
|
sys.stderr.write("Consider first to run 'sudo ldconfig'\n")
|
2016-07-15 22:22:15 +02:00
|
|
|
pass
|
2016-01-07 20:24:51 +01:00
|
|
|
|