pothosware / PothosPlotters

Plotter widgets for visualization in Pothos GUI
https://github.com/pothosware/PothosPlotters/wiki
Boost Software License 1.0
11 stars 12 forks source link

Add relative frequency selected signal #20

Closed mhostetter closed 6 years ago

mhostetter commented 6 years ago

This pull request adds an additional signal relativeFrequencySelected(). It is similar to frequencySelected() however it returns the frequency relative to the center frequency. This change is implemented in the periodogram and spectrogram blocks.

My intention for this signal is to trigger downstream mixers or frequency-translating filters to operate on one portion of spectrum without re-tuning the entire frontend. This is useful if you are statically processing several channels but would like one "hopping" channel that can be triggered by clicking the spectrum. Or, if your SDR has a bad DC offset and you would like to dynamically select another channel without tuning back to DC.

An example downstream mixer implementation is below. image

What do you think?

guruofquality commented 6 years ago

seems useful, thanks!