GithubHelp home page GithubHelp logo

umireon / radio.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaykickliter/radio.jl

0.0 1.0 0.0 390 KB

A native Julia digital communications package

License: MIT License

Julia 100.00%

radio.jl's Introduction

Radio.jl

A digital communications package for the Julia language.

Installation

Radio is not yet registered with the Julia package manager, so it needs to cloned:

julia> Pkg.clone("https://github.com/JayKickliter/Radio.jl.git")

Status

Radio is in its infancy. Right now (April 2014) I'm mostly working on support functions (filtering, resampling, noise), and have only implemeted PSK modulation. That said, if you have requests or suggestions, please submit them.

Jul 2014 Updtae: This package has definitely not been abaadonded. I've just been creating core Julia DSP code outside of it, which is why there haven't been any commits lately. I also didn't want to burdened down the line with poor design choices, so I've been getting a little more versed in Julia the last couple months.

Proposed Structure

This is a growing list of proposed functionality and package strcture.

  • Modulation
    • PSK: Phase Shift Keying modulation/demodulation
    • APSK: Amplitude Phase Shift Keying modulation/demodulation
    • QAM: Quadrature Amplitude Modulation/demodulation
  • Random
    • WGN: White Gaussian Noise
  • Math
    • CZT: Chirp-z Transform
    • FFT: ?. Need a non-GPL FFT. Possibly a native Julia implemantation or an interface to FFTS
  • Filtering
    • FIR: Fir filter design and execution
    • Polyphase: Polyphase filter and execution
    • Resampling: Decimation, interpolation, and rational resampling. Maybe cubic interpolation.
  • Support
    • Types: IQ
    • Graphics: Filter response, constellation plotting, eye diagram

Examples

QPSK Modulation

See Examples/QPSK.jl

using Radio, Winston

# generate 10,000 random QPSK symbols
symbols = pskmod( 10000, 4 )
# create some gaussian noise and add it to the symbols
noise  = wgn( length( symbols ), 10, "dBm", 1.0, true )
signal = symbols .+ noise

constellation = plot_constellation( signal )
setattr( constellation, title = "QPSK Modulation" )

display( constellation )

QPSK

8-PSK Modulation

See Examples/8-PSK.jl

using Radio, Winston

# generate random 3 bit data modulate
data = rand( 0:7, 10000 )

# generate 10,000 random QPSK symbols
symbols = pskmod( data, 8 )
# create some gaussian noise and add it to the symbols
noise  = wgn( length( symbols ), 10, "dBm", 1.0, true )
signal = symbols .+ noise

constellation = plot_constellation( signal )
setattr( constellation, title = "8-PSK Modulation" )

display( constellation )

8-PSK

FIR Filter Design With a Kaiser Window

See Examples/Kaiser.jl

using Radio, Winston

( M, Beta ) = kaiserord( 0.001, 0.2*ฯ€ )
window = kaiser( M, Beta )
impulse = firdes( 0.5, window )
p = plot_response( impulseResponse )

display( p )

Kaiser

radio.jl's People

Contributors

jaykickliter avatar

Watchers

 avatar

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.