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

Method onPLLRecovery

Components/TimeWindow.cpp:1931–1961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1929}
1930
1931void
1932TimeWindow::onPLLRecovery(void)
1933{
1934 if (!this->ui->realWaveform->isComplete())
1935 return;
1936
1937 try {
1938 SUFLOAT relBw = SU_ABS2NORM_FREQ(
1939 this->fs,
1940 this->ui->pllCutOffSpin->value());
1941 const SUCOMPLEX *orig;
1942 SUCOMPLEX *dest;
1943 SUSCOUNT len;
1944
1945 this->getTransformRegion(
1946 orig,
1947 dest,
1948 len,
1949 this->ui->afcSelCheck->isChecked());
1950
1951 PLLSyncTask *task = new PLLSyncTask(orig, dest, len, relBw);
1952
1953 this->notifyTaskRunning(true);
1954 this->taskController.process("pll", task);
1955 } catch (Suscan::Exception &e) {
1956 QMessageBox::warning(
1957 this,
1958 "PLL carrier recovery",
1959 "Cannot perform operation: " + QString(e.what()));
1960 }
1961}
1962
1963void
1964TimeWindow::onCycloAnalysis(void)

Callers

nothing calls this directly

Calls 4

getTransformRegionMethod · 0.95
notifyTaskRunningMethod · 0.95
valueMethod · 0.80
processMethod · 0.45

Tested by

no test coverage detected