3#include "common/dsp/complex.h"
10 class ComplexToFloatBlock :
public BlockSimpleMulti<complex_t, float, 1, 2>
13 void process(complex_t **input, uint32_t *nsamples,
float **output, uint32_t *nsamples_out);
16 ComplexToFloatBlock();
17 ~ComplexToFloatBlock();
23 nlohmann::ordered_json p;
27 nlohmann::json
get_cfg(std::string key) {
throw satdump_exception(key); }
31 throw satdump_exception(key);
cfg_res_t
set_cfg status.
Definition block.h:241
void init()
Applies current parameters to the block. This is called automatically once in start(),...
Definition complex_to_float.h:19
cfg_res_t set_cfg(std::string key, nlohmann::json v)
Set parameters of the block from JSON, including potentially IO configurations for blocks that may ha...
Definition complex_to_float.h:29
nlohmann::json get_cfg(std::string key)
Get parameters of the block as JSON.
Definition complex_to_float.h:27
void process(complex_t **input, uint32_t *nsamples, float **output, uint32_t *nsamples_out)
Simplified "work" function, called automatically by work(). This takes away all boilerplate work usua...
Definition complex_to_float.cpp:15
nlohmann::ordered_json get_cfg_list()
Get parameters LIST of the block's parameters. This does not contain actual values,...
Definition complex_to_float.h:21