discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [members] Working with GRC! Vector decimate


From: Glen I Langston
Subject: Re: [Discuss-gnuradio] [members] Working with GRC! Vector decimate
Date: Thu, 22 Mar 2018 12:55:30 -0400

Hi Kevin,

Good to hear from you.   I did receive your amplifier, but its been too
cold for me to work on my telescopes in my barn.   Hopefully this weekend 
I’ll give it a try.

Concerning the Vector Average and Vector Median Blocks, it would be great
to unify our Radio Astronomy contribution.  Hopefully I will not break your 
code.

I’ve used the median block successfully in the very RFI rich environment of
Alexandria VA and results look good.  Much less baseline wobble, due to
out-of-band short-term interference, in my 1 minutes averages.

The 8 core ODROID XU4 can eat all 6MHz of bandwidth and median average
all data from an AIRSPY mini, without overflows.   This .grc file
plots the data, but does not yet write the averages spectra to files.

I’m creating separate blocks that writes the data either as ASCII
or as FITS format.

Hopefully I have a version we can merge after this weekend.

Best regards

Glen


> On Mar 22, 2018, at 12:46 PM, Kevin Bandura <address@hidden> wrote:
> 
> Glen,
>  
> Its great to see others making blocks!  I’ve been starting a radio astro ‘out 
> of tree’ on github.  See here:
>  
> https://github.com/WVURAIL/gr-radio_astro
>  
> I’d be happy to add the block there if you’d like.   
>  
> In gnuradio companion, there is the ‘Integrate’ block, which I believe does 
> the same thing.  Is there something wrong with its behaviour?
>  
> -Kevin
>  
>  
>  
> From: members <address@hidden> on behalf of Glen I Langston <address@hidden>
> Date: Tuesday, March 20, 2018 at 9:06 AM
> To: ""Müller, Marcus (CEL)"" <address@hidden>
> Cc: "address@hidden" <address@hidden>
> Subject: [members] Working with GRC! Vector decimate
>  
> 
> Hi
> 
> Thanks for your help.  I know no-one else cares, but
> I’ve finally figured out all the steps to get Vector decimation working with 
> GRC.
> 
> A few notes:  I don’t think forecast() is ever called with a decimate block.
> 
> Multiple output vectors are possible, and care needs to be taken to count
> all the outputs. 
> 
> My initial QA only had one vector output, so worked fine.
> GRC was generating multiple vectors as output and my vave code was chocking
> on multiple outputs.
> 
> I’ve yet to figure out how to put this block in GitHub
> .  Here
> are the bits and pieces.
> 
> Best regard
> 
> Glen
> 
> 
> > On Mar 15, 2018, at 4:32 PM, Müller, Marcus (CEL) <address@hidden> wrote:
> > 
> > Hi Glen, 
> > 
> > you can't be a complete failure. Else you wouldn't be part of this
> > community :) and you very certainly wouldn't be writing GNU Radio
> > blocks after only four weeks!
> > 
> > Quick look at your work:
> > 
> >        out = output_items[0]
> >        # get the number of input vectors
> >        n = len( input_items)
> >        print 'Number of work input vectors: ',n
> > 
> > hey, what's good for output_items is good for input_items, too!
> > Point I'm trying to make: "output_items" is in the end a container of
> > all output streams; remember, blocks can have multiple output streams.
> > You have exactly one, so you take that by saying 
> > out = output_items[0]
> > 
> > Same goes for input_items; you want the first one, so use
> > input_items[0] instead of input_items.
> > 
> > Hope that helps a bit!
> > 
> > Best regards,
> > Marcus
> > 
> > On Thu, 2018-03-15 at 16:23 -0400, Glen I Langston wrote:
> >> Hello GnuRadio fans,
> >> 
> >> I’m afraid I’m a complete failure at creating my own vector average
> >> with decimate block.  This is my 4th week at this endeavor...
> >> 
> >> I’ve run through a number of c++ and python web examples and each time am 
> >> getting
> >> hung up somewhere.
> >> 
> >> I’ve been following the examples from many gnu radio 
> >> web sites and trying to get them to complete
> >> 
> >> Including:
> >> https://wiki.gnuradio.org/index.php/OutOfTreeModules
> >> 
> >> I got the C++ example to work but could not get the python qa test to pass.
> >> 
> >> In any case, the vector average with decimate must be an easy example
> >> but I can not get the qa part to work.
> >> 
> >> Is there anyone out there who could create the very rudimentary
> >> vector average with decimate that they could share?
> >> 
> >> Please find my code attached.  The python part is simple. 
> >> The QA part is not running yet.
> >> 
> >> I’ve started with:
> >> 
> >> gr_modtool create vave
> >> cd gr-vave
> >> gr_modtool add -t decimator -l python vave  
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Discuss-gnuradio mailing list
> >> address@hidden
> >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> _______________________________________________
> members mailing list
> address@hidden
> http://opensourceradiotelescopes.org/mailman/listinfo/members_opensourceradiotelescopes.org
> _______________________________________________
> members mailing list
> address@hidden
> http://opensourceradiotelescopes.org/mailman/listinfo/members_opensourceradiotelescopes.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]