MCPcopy Create free account
hub / github.com/FastLED/FastLED / worstConcentration

Function worstConcentration

tests/misc/fft_sweep.hpp:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158float worstConcentration(fl::span<const SweepFrame> frames) {
159 float worst = 1.0f;
160 for (fl::size i = 0; i < frames.size(); ++i) {
161 if (frames[i].concentration < worst) {
162 worst = frames[i].concentration;
163 }
164 }
165 return worst;
166}
167
168int maxActiveBins(fl::span<const SweepFrame> frames) {
169 int maxBins = 0;

Callers 1

fft_sweep.hppFile · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected