|
| void | reset (double initial_samples, double alpha=0.15, double max_step=0.35, double max_total_error=2.0) |
| | Tracks residual timing (sample) offset between the symbol clock and the signal.
|
|
void | disable () |
| | Disable the TimingTracker.
|
| bool | enabled () const noexcept |
| | Check if the TimingTracker is enabled.
|
| double | currentSamples () const noexcept |
| | Get the current timing estimate in samples.
|
| double | averageStepSamples () const noexcept |
| | Get the average step size in samples.
|
| void | update (double residual_samples, double weight=1.0) |
| | Update the TimingTracker with a new residual timing measurement.
|
◆ averageStepSamples()
| double js8::TimingTracker::averageStepSamples |
( |
| ) |
const |
|
nodiscardnoexcept |
Get the average step size in samples.
- Returns
- double
◆ currentSamples()
| double js8::TimingTracker::currentSamples |
( |
| ) |
const |
|
nodiscardnoexcept |
Get the current timing estimate in samples.
- Returns
- double
◆ enabled()
| bool js8::TimingTracker::enabled |
( |
| ) |
const |
|
nodiscardnoexcept |
◆ reset()
| void js8::TimingTracker::reset |
( |
double | initial_samples, |
|
|
double | alpha = 0.15, |
|
|
double | max_step = 0.35, |
|
|
double | max_total_error = 2.0 ) |
Tracks residual timing (sample) offset between the symbol clock and the signal.
Reset the TimingTracker with initial parameters.
Initialized with bounds and step limits; update() ingests early/late energy errors from pilots to refine sample alignment. Used per candidate in the JS8 decode loop alongside FrequencyTracker.
- Parameters
-
| initial_samples | Initial timing estimate in samples |
| alpha | Smoothing factor |
| max_step | Maximum step size in samples |
| max_total_error | Maximum allowable total error in samples |
◆ update()
| void js8::TimingTracker::update |
( |
double | residual_samples, |
|
|
double | weight = 1.0 ) |
Update the TimingTracker with a new residual timing measurement.
- Parameters
-
| residual_samples | Residual timing in samples |
| weight | Weighting factor |
The documentation for this class was generated from the following files: