This block converts a complex float input stream to short and stores it to a file. If the value of status argument is zero the block behaves as a null sink block.
More...
#include <iq_sink.h>
|
static sptr | make (const float scale, const char *filename, bool append=false, const int status=0) |
|
This block converts a complex float input stream to short and stores it to a file. If the value of status argument is zero the block behaves as a null sink block.
◆ sptr
◆ make()
static sptr gr::satnogs::iq_sink::make |
( |
const float |
scale, |
|
|
const char * |
filename, |
|
|
bool |
append = false , |
|
|
const int |
status = 0 |
|
) |
| |
|
static |
This block converts a complex float input stream to short and stores it to a file. If the value of status argument is zero the block behaves as a null sink block.
- Parameters
-
scale | the value multiplied against each point in the input stream |
filename | name of the file to open and write output to. |
append | if true, data is appended to the file instead of overwriting the initial content. |
status | the status of the block.
- 0: Block acts as a null sink
- 1: Active
|
- Returns
- a shared_ptr to a new instance of satnogs::iq_sink.
The documentation for this class was generated from the following file: