GNU Radio's SATNOGS Package
|
This block computes the waterfall of the incoming signal and stores the result to a file. More...
#include <waterfall_sink.h>
Public Types | |
typedef boost::shared_ptr< waterfall_sink > | sptr |
Static Public Member Functions | |
static sptr | make (float samp_rate, float center_freq, float rps, size_t fft_size, const std::string &filename, int mode=0) |
This block computes the waterfall of the incoming signal and stores the result to a file.
The file has a special header, so plotting tools can reconstruct properly the spectrum.
typedef boost::shared_ptr<waterfall_sink> gr::satnogs::waterfall_sink::sptr |
|
static |
This block computes the waterfall of the incoming signal and stores the result to a file.
The file has a constant sized header of 52 bytes, so that plotting tools can reconstruct properly the spectrum.
The structure of the header is the following:
The file continues with information regarding the spectral content of the observation. Each waterfall line is prepended with a int64_t field indicating the absolute time in microseconds with respect to the start of the waterfall data (stored in the corresponding header field). The spectral content is stored in $FFT$ float values already converted in dB scale.
samp_rate | the sampling rate |
center_freq | the observation center frequency. Used only for plotting reasons. For a normalized frequency x-axis set it to 0. |
rps | rows per second |
fft_size | FFT size |
filename | the name of the output file |
mode | the mode that the waterfall.
|