Add a database with SDR hardware and working parameters
This commit is contained in:
parent
eb27a9b7cd
commit
dcffee0db0
|
@ -31,6 +31,7 @@ endif()
|
||||||
GR_PYTHON_INSTALL(
|
GR_PYTHON_INSTALL(
|
||||||
FILES
|
FILES
|
||||||
__init__.py
|
__init__.py
|
||||||
|
hw_settings.py
|
||||||
satnogs_upsat_transmitter.py
|
satnogs_upsat_transmitter.py
|
||||||
DESTINATION ${GR_PYTHON_DIR}/satnogs
|
DESTINATION ${GR_PYTHON_DIR}/satnogs
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,6 +27,7 @@ description here (python/__init__.py).
|
||||||
try:
|
try:
|
||||||
# this might fail if the module is python-only
|
# this might fail if the module is python-only
|
||||||
from satnogs_swig import *
|
from satnogs_swig import *
|
||||||
|
from hw_settings import *
|
||||||
from satnogs_upsat_transmitter import *
|
from satnogs_upsat_transmitter import *
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
#! /usr/bin/python
|
||||||
|
#
|
||||||
|
# gr-satnogs: SatNOGS GNU Radio Out-Of-Tree Module
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016, Libre Space Foundation <http://librespacefoundation.org/>
|
||||||
|
#
|
||||||
|
# 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 <http://www.gnu.org/licenses/>
|
||||||
|
#
|
||||||
|
|
||||||
|
#===============================================================================
|
||||||
|
# Bellow we provide some good and working settings for a large variety of
|
||||||
|
# different SDR hardware. Feel free, to provide additional hardware
|
||||||
|
# configurations
|
||||||
|
#===============================================================================
|
||||||
|
hw_tx_settings = {'usrpb200' : {'rf_gain' : 60.0, 'samp_rate' : 2e6},
|
||||||
|
'usrp2' : {'rf_gain' : 20.0, 'samp_rate' : 2e6},
|
||||||
|
'hackrf' : {'rf_gain' : 20.0, 'if_gain' : 8.0,
|
||||||
|
'bb_gain' : 5.0, 'samp_rate' : 2e6} }
|
||||||
|
|
||||||
|
hw_rx_settings = {'usrpb200' : {'rf_gain' : 20.0, 'if_gain' : 0.0,
|
||||||
|
'bb_gain' : 0.0, 'samp_rate' : 2e6},
|
||||||
|
'usrp2' : {'rf_gain' : 20.0, 'if_gain' : 0.0,
|
||||||
|
'bb_gain' : 0.0, 'samp_rate' : 2e6},
|
||||||
|
'airspy' : {'rf_gain' : 20.0, 'if_gain' : 0.0,
|
||||||
|
'bb_gain' : 0.0, 'samp_rate' : 2.5e6},
|
||||||
|
'hackrf' : {'rf_gain' : 20.0, 'if_gain' : 8.0,
|
||||||
|
'bb_gain' : 5.0, 'samp_rate' : 2e6} }
|
Loading…
Reference in New Issue