Commit Graph

84 Commits

Author SHA1 Message Date
Michael Lass
a49f1a3187 hackrf_sweep: Implement rate limiting by ignoring sweeps
For low frequency ranges the sweep range of hackrf_sweep is pretty high.
To allow using the hackrf_sweep backend with those small ranges, we can
simply ignore sweeps based on a user-set sweep interval.
2017-03-24 21:37:31 +01:00
Michal Krenek (Mikos)
12da1d6626 Merge pull request #22 from michaellass/check_bincount
Check bincount in data coming from backend
2017-03-24 21:02:10 +01:00
Michael Lass
9dc1433bdf Check bincount in data coming from backend
The backend may return fewer data points than expected. This can e.g. be
observed for the hackrf_sweep backend on high system load. Currently
this leads to an error when trying to insert the data into the
HistoryBuffer and causes the application to crash:

ValueError: cannot copy sequence with size 24750 to array axis with dimension 25000

As a workaround, just ignore data in this case.
2017-03-24 17:50:03 +01:00
Michal Krenek (Mikos)
8109c537f6 Allow setting gain with more precision; tune default parameters of backends 2017-03-24 16:51:32 +01:00
Michal Krenek (Mikos)
87585c106b Fix numbering in README.rst 2017-03-24 02:50:03 +01:00
Michal Krenek (Mikos)
02859deccf Add Windows installation instructions to README.rst 2017-03-24 02:48:21 +01:00
Michal Krenek (Mikos)
2385c228c6 Fix README.rst 2017-03-24 01:33:05 +01:00
Michal Krenek (Mikos)
11979ba641 Update README.rst, clarify backends section 2017-03-24 01:22:03 +01:00
Michal Krenek (Mikos)
9135dc58e4 Make soapy_power dependency optional (but don't remove it from setup.py and PKGBUILD, because it is default backend) 2017-03-24 00:15:56 +01:00
Michal Krenek (Mikos)
92e1771db5 Add support for creating frozen executables with cx_Freeze; use new setup_qt module for building Qt UI files 2017-03-23 18:11:05 +01:00
Michal Krenek (Mikos)
8ac3346c1e Fix some GUI issues on Windows 2017-03-22 02:16:26 +01:00
Michal Krenek (Mikos)
7e84cd7a1c Fix another Windows peculiarity. How can anyone sane use that fscking OS?!? 2017-03-21 23:39:30 +01:00
Michal Krenek (Mikos)
5d41c6c4a8 Update version to 2.1.0 2017-03-21 17:43:39 +01:00
Michal Krenek (Mikos)
07d504ab30 Don't show number of hops in status bar if it isn't available 2017-03-21 16:59:48 +01:00
Michal Krenek (Mikos)
d8d158c100 Make QSpectrumAnalyzer compatible with latest soapy_power 1.5.0 2017-03-21 16:39:26 +01:00
Michal Krenek (Mikos)
c574761a8c Allow setting bandwidth and LNB LO (for upconverters or downconverters); show info about device in settings 2017-03-21 10:36:08 +01:00
Michal Krenek (Mikos)
ea969b89e2 Add missing Qt.py dependency to PKGBUILD 2017-03-17 20:23:45 +01:00
Michal Krenek (Mikos)
b8666417b0 Update version to 2.0.0 2017-03-17 15:03:07 +01:00
Michal Krenek (Mikos)
e0f7202ff9 Update soapy_power_bin format to include both acquisition start time and stop time 2017-03-16 16:43:12 +01:00
Michal Krenek (Mikos)
9de4c25269 Fix pipe for communication with soapy_power on Windows 2017-03-15 00:58:10 +01:00
Michal Krenek (Mikos)
50ff8d517d Allow backend executable to be multiple words (e.g. python /path/to/soapy_power.py) 2017-03-15 00:38:10 +01:00
Michal Krenek (Mikos)
58ea054d70 Merge pull request #20 from xmikos/pyqt5
Switch from PyQt4 to Qt.py wrapper (supports PyQt4 / PyQt5 / PySide / PySide2)
2017-03-13 22:53:30 +01:00
Michal Krenek (Mikos)
228255b7e1 Switch from PyQt4 to Qt.py wrapper (supports PyQt4 / PyQt5 / PySide / PySide2) 2017-03-13 22:50:54 +01:00
Michal Krenek (Mikos)
d1c6ca4d14 Use pipe for communication with soapy_power process, to avoid reading garbage from stdout (some SoapySDR drivers like LimeSDR always outputs something to stdout) 2017-03-13 17:41:22 +01:00
Michal Krenek (Mikos)
47ea0b99b5 New version 1.5.0 (soapy_sdr backend now fully functioning) 2017-03-10 17:39:04 +01:00
Michal Krenek (Mikos)
dc27e90653 Update README.rst 2017-02-19 11:37:30 +01:00
Michal Krenek (Mikos)
e7b998f69d Fix typo in last commit (need some sleep) 2017-02-19 00:52:05 +01:00
Michal Krenek (Mikos)
98a8b6bd1d Fix setup.py (missing qspectrumanalyzer.backends package) 2017-02-19 00:38:47 +01:00
Michal Krenek (Mikos)
e9264886e8 Separate backends into independent files 2017-02-14 23:01:15 +01:00
Michal Krenek (Mikos)
d351a858da Merge pull request #11 from miek/hackrf_sweep_fix
Fix old references to device_index from hackrf_sweep merge
2017-02-14 15:57:02 +01:00
Mike Walters
e73e921440 Fix old references to device_index from hackrf_sweep merge 2017-02-14 13:40:23 +00:00
Michal Krenek (Mikos)
7fa0985133 Merge pull request #10 from xmikos/hackrf_sweep
Merge hackrf_sweep branch into master
2017-02-14 13:54:21 +01:00
Michal Krenek (Mikos)
b38c3b3e76 Merge branch 'miek-master' into hackrf_sweep 2017-02-14 12:17:10 +01:00
Michal Krenek (Mikos)
b49c772961 Merge hackrf_sweep fork and fix conflicts 2017-02-14 12:14:52 +01:00
Michal Krenek (Mikos)
2ffa466b58 Add preliminary support for soapy_power and rx_power 2017-02-13 22:00:10 +01:00
Mike Walters
71b3d6a4ca Merge pull request #4 from mossmann/master
Changed labels from dBm to dB.
2017-02-12 22:38:01 +00:00
Michael Ossmann
70b9219927 Changed labels from dBm to dB.
hackrf_sweep outputs dBFS, but rtl_power outputs dB with some weird offset.
In no case would dBm be correct without a calibration option.
The relative "dB" label should be acceptable for all cases.
2017-02-12 15:03:05 -07:00
Mike Walters
aba4f40bff Merge pull request #3 from mossmann/master
hackrf_sweep gain configuration support
2017-02-12 11:51:19 +00:00
Michael Ossmann
ba3e113e29 set sample rate when backend is selected 2017-02-11 23:05:08 -07:00
Michael Ossmann
3cc202de89 set backend-specific min/max/default values when backend is selected 2017-02-11 22:24:44 -07:00
Michael Ossmann
dc39b44c67 hackrf_sweep gain configuration support 2017-02-11 21:45:40 -07:00
Mike Walters
abc9dd2676 Merge pull request #2 from mossmann/master
compute bin width from number of input bins
2017-02-11 13:34:09 +00:00
Michael Ossmann
c060f82c25 fixed bug that can happen when frequency ranges are interleaved around the stop frequency 2017-02-10 22:18:46 -07:00
Michael Ossmann
76c3ad2b55 increased default and maximum bin size settings 2017-02-10 17:04:54 -07:00
Michael Ossmann
ab431554aa limit bin size configuration to acceptable bounds 2017-02-10 16:57:12 -07:00
Michael Ossmann
bb6412be69 removed bin width from hackrf_sweep output format 2017-02-10 16:38:01 -07:00
Michael Ossmann
eef73719f0 compute bin width from number of input bins 2017-02-10 16:29:47 -07:00
Mike Walters
cfe1b4578b Merge pull request #1 from mossmann/master
compatibility with updated hackrf_sweep binary output format
2017-02-10 13:11:02 +00:00
Michael Ossmann
71ff6cd950 cleanup 2017-02-09 19:17:24 -07:00
Michael Ossmann
adb3b53058 updated for recent changes in hackrf_sweep -B output format 2017-02-09 19:05:46 -07:00