MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / designSection

Function designSection

src/core/ClientEq.cpp:132–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132SectionDesign designSection(ClientEq::FilterFamily family,
133 int k, int numSections)
134{
135 using F = ClientEq::FilterFamily;
136 switch (family) {
137 case F::Butterworth: return butterworthSection(k, numSections);
138 case F::Chebyshev: return chebyshevSection(k, numSections,
139 kChebyshevRippleDb);
140 case F::Bessel: return besselSection(k, numSections);
141 case F::Elliptic: return ellipticSection(k, numSections);
142 }
143 return butterworthSection(k, numSections);
144}
145
146int slopeToSections(int slopeDbPerOct)
147{

Callers 2

bandMagnitudeDbMethod · 0.85
computeCoefficientsMethod · 0.85

Calls 4

butterworthSectionFunction · 0.85
chebyshevSectionFunction · 0.85
besselSectionFunction · 0.85
ellipticSectionFunction · 0.85

Tested by

no test coverage detected