AbstractSDRs_rx_ascii_art_dft.clojure_doPlot
— MethodFunction for plot rendering
AbstractSDRs_rx_ascii_art_dft.clojure_processing
— MethodApply the core processing (here the square modulus of the FFT
AbstractSDRs_rx_ascii_art_dft.main
— MethodDisplay the DFT with ACII art in the terminal, for a given SDR. Parameters are the one required to configure a SDR with AbstractSDRs. kwargs are nFFT
the size of the FFT used and kwargs...
all the keywords parameters required to configure the radio (see openSDR
from AbstractSDRs for the supported keywords AbstractSDRsasciiart_dft.main(sdr,carrierFreq,samplingRate,gain;nFFT=1024,avg,canvas,kwargs...)
Input parameters
- sdr : SDR type supported by AbstractSDRs (for instance :uhd). A symbol is expected
- carrierFreq : Carrier Freq in Hz (e.g 2400e6)
- samplingRate : Radio sampling rate in Hz (e.g 2e6)
- gain : gain in normalized scale (e.g 20)
Keywords
- nFFT : Size of the FFT/DFT as an
Int
(e.g 1024) - averaging factor for PSD computation as an
Int
(e.g 12) - canvas : Canvas used to display. Can be AsciiCanvas, DotCanvas or BlockCanvas (see UnicodePlots.jl documentation)
- kwargs... : All arguments supported by AbstractSDRs to open configure and monitor radio devices
Controls
It is possible to change the magnitude axis during acquisition to zoom in/out and to shift the center magnitude. By default the plot is centered around 0dB and have 120dB dynamic. By pressing different keys we can:
- UP arrow to shit the center limit up
- DOWN arrow to shift the center down
- LEFT arrow to zoom out (increase range)
- RIGHT arrow to decrease range of ylims (zoom in)
AbstractSDRs_rx_ascii_art_dft.reset
— MethodRestore default limit values reset(l::CurrLims)
AbstractSDRs_rx_ascii_art_dft.shiftDown
— MethodShit limit down (center magnitude is decreased) shiftDown(l::CurrLims)
AbstractSDRs_rx_ascii_art_dft.shiftUp
— MethodShift limit upward (center magnitude is increased) shiftUp(l::CurrLims)
AbstractSDRs_rx_ascii_art_dft.userControl
— MethodFunction for user control to update the ylims and exit
AbstractSDRs_rx_ascii_art_dft.zoomIn
— MethodZoom In (range is limited) zoomIn(l::CurrLims)
AbstractSDRs_rx_ascii_art_dft.zoomOut
— MethodZoom Out (range is increased) zoomOut(l::CurrLims)