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

Method reset

Panoramic/Scanner.cpp:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316void
317SpectrumView::reset(void)
318{
319 memset(this->psd, 0, SIGDIGGER_SCANNER_SPECTRUM_SIZE * sizeof(SUFLOAT));
320 memset(this->psdAccum, 0, SIGDIGGER_SCANNER_SPECTRUM_SIZE * sizeof(SUFLOAT));
321 memset(this->psdCount, 0, SIGDIGGER_SCANNER_SPECTRUM_SIZE * sizeof(SUFLOAT));
322 memset(this->scaledPsdAccum, 0, SIGDIGGER_SCANNER_SPECTRUM_SIZE * sizeof(SUFLOAT));
323 memset(this->scaledPsdCount, 0, SIGDIGGER_SCANNER_SPECTRUM_SIZE * sizeof(SUFLOAT));
324}
325
326Scanner::Scanner(
327 QObject *parent,

Callers 5

SpectrumViewMethod · 0.95
setRangeMethod · 0.95
initUiMethod · 0.45
flipMethod · 0.45

Calls

no outgoing calls

Tested by 2

initUiMethod · 0.36