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

Method CostasRecoveryTask

Tasks/CostasRecoveryTask.cpp:26–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26CostasRecoveryTask::CostasRecoveryTask(
27 const SUCOMPLEX *data,
28 SUCOMPLEX *destination,
29 size_t length,
30 SUFLOAT tau,
31 SUFLOAT loopbw,
32 enum sigutils_costas_kind kind,
33 QObject *parent) :
34 Suscan::CancellableTask(parent)
35{
36 SUFLOAT bw = 1. / tau;
37 this->origin = data;
38 this->destination = destination;
39 this->length = length;
40
41 SU_ATTEMPT(su_costas_init(&this->costas, kind, 0, bw, 3, loopbw));
42
43 this->costasInitialized = true;
44
45 this->setProgress(0);
46 this->setStatus("Processing...");
47}
48
49bool
50CostasRecoveryTask::work(void)

Callers

nothing calls this directly

Calls 2

setStatusMethod · 0.80
setProgressMethod · 0.45

Tested by

no test coverage detected