3#include "common/dsp/complex.h"
10 class FloatToComplexBlock :
public BlockSimpleMulti<float, complex_t, 2, 1>
13 void process(
float **input, uint32_t *nsamples, complex_t **output, uint32_t *nsamples_out);
16 FloatToComplexBlock();
17 ~FloatToComplexBlock();
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
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 float_to_complex.h:29
nlohmann::ordered_json get_cfg_list()
Get parameters LIST of the block's parameters. This does not contain actual values,...
Definition float_to_complex.h:21
void init()
Applies current parameters to the block. This is called automatically once in start(),...
Definition float_to_complex.h:19
void process(float **input, uint32_t *nsamples, complex_t **output, uint32_t *nsamples_out)
Simplified "work" function, called automatically by work(). This takes away all boilerplate work usua...
Definition float_to_complex.cpp:15
nlohmann::json get_cfg(std::string key)
Get parameters of the block as JSON.
Definition float_to_complex.h:27