Re: [julia-users] Radio.jl: a digital communications package

2014-04-08 Thread Jay Kickliter
Thanks for the info. I've trying to come up with a type scheme. Say I 
create some modulated symbols, then interpolate them with a nyquist filter, 
then upsample and shift the signal with a mixer. It would be nice to know 
the relative sample rate and center frequency of the signal, plus mod type. 
But I can't quite see what makes sense until I actually start using the 
code, which is why I haven't been typing everything yet. It sound like 
you've given it a lot of thought.

Are you planning on open sourcing your code, or is it too specific to what 
you're doing? If you are going to open source it I'd hate be writing 
duplicate code, especially if you have better ideas. I just want a decent 
comms framework so I can pitch Julia to my company as an alternative to 
Matlab.

On Tuesday, April 8, 2014 7:32:29 AM UTC-6, Miguel Bazdresch wrote:

 Jay,

 I'm also writing a package to do digital communications simulation, to 
 support my work both in research and in teaching. There's too little 
 functionality at this point to make it worth sharing, but I thought I'd 
 share a couple of ideas.

 I'm using julia's type system to define bits, symbols, and waveform types. 
 They're all vectors of numbers, but the type works as a label or 
 identifier. I think this makes it easier for students to build their 
 simulations: they don't have to mentally keep track of the meaning of each 
 vector. Also, it makes it easy to detect errors such as adding a bit vector 
 to a signal vector.

 Using types like this makes it easy to carry simulation information 
 around. For example, the waveform type has a field for the sampling 
 interval, and my spectrum plotting function gets that information from the 
 waveform itself.

 This also allows me to define blocks that take vectors of one type and 
 output a different type. For example, a matched filter takes a waveform and 
 outputs a symbol vector. With a large enough library of blocks, you can 
 draw a diagram of your system and translate that into a simulation very 
 easily. Any inconsistencies are detected by the type system itself.

 -- mb


 On Sun, Apr 6, 2014 at 4:02 PM, Jay Kickliter 
 jay.ki...@gmail.comjavascript:
  wrote:

 I didn't tag the subject with [ANN] since *Radio.jl 
 https://github.com/JayKickliter/Radio.jl* is barely a package yet. But 
 I am looking for feedback, feature requests, and hopefully some help.

 I'm mainly writing the package to support my work with space 
 communications, so I will be focusing on Phase Shift Keying and rectangular 
 Quadrature Amplitude Modulation. But Julia needs a general comms package. 
 If you have any needs/suggestions please let me know.

 I mistakenly re-implemeted some of *DSP.jl*'s functionality, and some of 
 what I've written is missing from it. Maybe Radio's filtering functions 
 should be moved to DSP?




[julia-users] Radio.jl: a digital communications package

2014-04-06 Thread Jay Kickliter
I didn't tag the subject with [ANN] since *Radio.jl 
https://github.com/JayKickliter/Radio.jl* is barely a package yet. But I 
am looking for feedback, feature requests, and hopefully some help.

I'm mainly writing the package to support my work with space 
communications, so I will be focusing on Phase Shift Keying and rectangular 
Quadrature Amplitude Modulation. But Julia needs a general comms package. 
If you have any needs/suggestions please let me know.

I mistakenly re-implemeted some of *DSP.jl*'s functionality, and some of 
what I've written is missing from it. Maybe Radio's filtering functions 
should be moved to DSP?


Re: [julia-users] Radio.jl: a digital communications package

2014-04-06 Thread Elliot Saba
This is pretty great!  I've been wanting to write an rtlsdr library for a
while, (I've gotten blocking reading mode working) and it'd be great to be
able to hook this up to it and actually receive some signals!


On Sun, Apr 6, 2014 at 1:46 PM, João Felipe Santos joao@gmail.comwrote:

 Hello Jay,

 first of all, great job with the package!

 We should definitely integrate Radio.jl with DSP.jl, so that it uses DSP
 as a dependency instead of having duplicates of basic functions (FIR,
 windows, etc). I will be able to assist in migrating the extra
 functionality you implemented to DSP.jl in a few weeks, but feel free to
 send pull requests to if you are interested.

 --
 João Felipe Santos


 On Sun, Apr 6, 2014 at 4:02 PM, Jay Kickliter jay.kickli...@gmail.comwrote:

 I didn't tag the subject with [ANN] since *Radio.jl
 https://github.com/JayKickliter/Radio.jl* is barely a package yet. But
 I am looking for feedback, feature requests, and hopefully some help.

 I'm mainly writing the package to support my work with space
 communications, so I will be focusing on Phase Shift Keying and rectangular
 Quadrature Amplitude Modulation. But Julia needs a general comms package.
 If you have any needs/suggestions please let me know.

 I mistakenly re-implemeted some of *DSP.jl*'s functionality, and some of
 what I've written is missing from it. Maybe Radio's filtering functions
 should be moved to DSP?





Re: [julia-users] Radio.jl: a digital communications package

2014-04-06 Thread Miguel Bazdresch
I've been dreaming of writing a UHD package so that julia could talk to the
USRP. That'd be awesome, and probably not too hard, but I haven't found the
time.

-- mb


On Sun, Apr 6, 2014 at 5:19 PM, Elliot Saba staticfl...@gmail.com wrote:

 This is pretty great!  I've been wanting to write an rtlsdr library for a
 while, (I've gotten blocking reading mode working) and it'd be great to be
 able to hook this up to it and actually receive some signals!


 On Sun, Apr 6, 2014 at 1:46 PM, João Felipe Santos joao@gmail.comwrote:

 Hello Jay,

 first of all, great job with the package!

 We should definitely integrate Radio.jl with DSP.jl, so that it uses DSP
 as a dependency instead of having duplicates of basic functions (FIR,
 windows, etc). I will be able to assist in migrating the extra
 functionality you implemented to DSP.jl in a few weeks, but feel free to
 send pull requests to if you are interested.

 --
 João Felipe Santos


 On Sun, Apr 6, 2014 at 4:02 PM, Jay Kickliter jay.kickli...@gmail.comwrote:

 I didn't tag the subject with [ANN] since *Radio.jl
 https://github.com/JayKickliter/Radio.jl* is barely a package yet.
 But I am looking for feedback, feature requests, and hopefully some help.

 I'm mainly writing the package to support my work with space
 communications, so I will be focusing on Phase Shift Keying and rectangular
 Quadrature Amplitude Modulation. But Julia needs a general comms package.
 If you have any needs/suggestions please let me know.

 I mistakenly re-implemeted some of *DSP.jl*'s functionality, and some
 of what I've written is missing from it. Maybe Radio's filtering functions
 should be moved to DSP?






Re: [julia-users] Radio.jl: a digital communications package

2014-04-06 Thread Jay Kickliter
Thanks. Most of the features listed in the README haven't been implemented 
yet. I'm struggling with resampling right now, and trying to figure out how 
to do multistage interpolation/decimation for large rate changes. And I'm 
definitely lost when it comes to polyphase filtering. That said, basic 
single interpolation is working; the hard part is figuring out how to test 
if it's working correctly.

I could definitely use your help moving the filtering related stuff to DSP. 
Also, I'd love to hear your opinion on what should stay in Radio. 
Modulation should stay, but I'm not sure about stuff like noise generation 
functions. There's no hurry, I probably still won't have much to contribute 
for at least a month.

On Sunday, April 6, 2014 2:46:36 PM UTC-6, João Felipe Santos wrote:

 Hello Jay,

 first of all, great job with the package! 

 We should definitely integrate Radio.jl with DSP.jl, so that it uses DSP 
 as a dependency instead of having duplicates of basic functions (FIR, 
 windows, etc). I will be able to assist in migrating the extra 
 functionality you implemented to DSP.jl in a few weeks, but feel free to 
 send pull requests to if you are interested.

 --
 João Felipe Santos


 On Sun, Apr 6, 2014 at 4:02 PM, Jay Kickliter 
 jay.ki...@gmail.comjavascript:
  wrote:

 I didn't tag the subject with [ANN] since *Radio.jl 
 https://github.com/JayKickliter/Radio.jl* is barely a package yet. But 
 I am looking for feedback, feature requests, and hopefully some help.

 I'm mainly writing the package to support my work with space 
 communications, so I will be focusing on Phase Shift Keying and rectangular 
 Quadrature Amplitude Modulation. But Julia needs a general comms package. 
 If you have any needs/suggestions please let me know.

 I mistakenly re-implemeted some of *DSP.jl*'s functionality, and some of 
 what I've written is missing from it. Maybe Radio's filtering functions 
 should be moved to DSP?