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

Method setBps

Misc/SNREstimator.cpp:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void
135SNREstimator::setBps(unsigned int bps)
136{
137 if (this->bps != bps) {
138 this->bps = bps;
139 this->sigma = SNR_ESTIMATOR_DEFAULT_SIGMA;
140 this->intervals = 1 << bps;
141 this->hx = 1.f / this->length;
142 }
143}
144
145void
146SNREstimator::feed(std::vector<unsigned int> const &history)

Callers 1

onBpsChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected