MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / updateExposedParams

Method updateExposedParams

Suscan/AnalyzerParams.cpp:24–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using namespace Suscan;
23
24void
25AnalyzerParams::updateExposedParams(void)
26{
27 this->channelUpdateInterval = this->c_params.channel_update_int;
28 this->psdUpdateInterval = this->c_params.psd_update_int;
29 this->spectrumAvgAlpha = this->c_params.detector_params.alpha;
30 this->sAvgAlpha = this->c_params.detector_params.beta;
31 this->nAvgAlpha = this->c_params.detector_params.gamma;
32 this->snr = this->c_params.detector_params.snr;
33 this->windowSize = this->c_params.detector_params.window_size;
34 this->minFreq = this->c_params.min_freq;
35 this->maxFreq = this->c_params.max_freq;
36 this->mode =
37 static_cast<enum Mode>(this->c_params.mode);
38 this->windowFunction =
39 static_cast<enum WindowFunction>(this->c_params.detector_params.window);
40}
41
42AnalyzerParams::AnalyzerParams(void) : Serializable()
43{

Callers 1

AnalyzerParamsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected