Giter Site home page Giter Site logo

tanfuren / spectrum-sensing-methods Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avian2/spectrum-sensing-methods

1.0 1.0 0.0 411.96 MB

Experiments with spectrum sensing methods

License: GNU General Public License v3.0

Python 0.80% Jupyter Notebook 99.20%

spectrum-sensing-methods's Introduction

Spectrum sensing methods

Contents of this repository:

  • record.py

    Python script for performing measurements using a receiver connected to a vector signal generator. For example, USRP or receivers on VESNA sensor nodes. It varies the output power and receiver settings and records signal samples into files under a samples-xxx directory.

    To run:

    $ python record.py <experiment>
    

    Run without an argument to list available experiments.

  • simulate.py

    Python script for processing signal samples (from record.py) using various spectrum sensing test statistics (energy detection, cyclostationary, covariance based detection, etc.) and for performing simulations.

    To run:

    $ python simulate.py -f <experiment>
    

    Run with --help to see other available options.

    Output is written into a simout-xxx directory.

    This task can be parallelized in two ways:

    • -p sets the number of processes spawned by a single simulate.py invocation
    • -s can be used when multiple simulate.py invocations are working on the same dataset.
  • benchmark.py

    Python script for performing benchmarks.

  • sensing/methods.py

    Python module with implementations of several spectrum sensing methods.

  • sensing/siggen.py

    Python module with test signals that can be programmed into a Rohde&Schwarz vector signal generator.

  • sensing/signals.py

    Functions for calculating various signal samples. These are used for simulations.

  • measurements/

    Results of measurements using USRP, VESNA SNE-ISMTV-UHF and simulation.

  • analysis/

    Several IPython notebooks with descriptions of experiments and analyses of measurements.

For details, please see "ŠOLC, Tomaž, MOHORČIČ, Mihael and FORTUNA, Carolina. A methodology for experimental evaluation of signal detection methods in spectrum sensing. PloS one, 2018, 13(6)." accessible on-line.

Please cite the journal paper above if you use code or data in this repository in an academic publication.

License

Spectrum sensing method experiments and implementations Copyright (C) 2018 Tomaz Solc

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/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.